From: =?UTF-8?Q?Pawe=c5=82_Jarosz?= Date: Thu, 17 Aug 2017 20:48:42 +0200 Subject: [U-Boot] No environment driver for location 14 In-Reply-To: References: Message-ID: <6ac27773-99a4-8c5e-29f1-ca6070291a25@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Simon, I had CONFIG_ENV_IS_NOWHERE set in wrong place (rk3066_common.h) Moving this config to board defconfig resolves the issue. Sorry for the confusion and thanks for the reply. Regards Paweł W dniu 17.08.2017 o 19:46, Simon Glass pisze: > Hi Pawel, > > On 17 August 2017 at 11:22, Paweł Jarosz wrote: >> Hi, >> >> >> i'm getting a error with last env patches (u-boot-rockchip repo). >> >> U-boot booting halts on env_init() with message: >> >> >> env_driver_lookup_default: No environment driver for location 14 >> >> ... >> >> env_driver_lookup_default: No environment driver for location 14 >> initcall sequence 60445dc8 failed at call 60430915 (err=-19) >> ### ERROR ### Please RESET the board ### >> >> >> 60445dc8 -> init_sequence_f() >> >> 60430915 -> env_init() >> >> >> I have narrowed down the problem to env_get_default_location returning 14 >> (ENVL_UNKNOWN) >> >> I have enabled CONFIG_ENV_IS_NOWHERE so it should return ENVL_NOWHERE. >> >> >> Any ideas where to go from here? > Which board is this please? Is this happening in SPL or U-Boot proper? > > Can you debug why env_get_default_location() is not returning ENVL_NOWHERE? > >> >> Regards >> >> Paweł >> > Regards, > Simon