[meta-xilinx] u-boot/UBIFS
Alan Levy
alan.levy at plextek.com
Tue Sep 22 00:26:22 PDT 2015
The flash resident copy of the environment is normally only accessed when U-Boot starts up or when you explicitly tell it to, otherwise it uses a memory resident copy. If it fails to load the (checksummed) flash resident copy at start-up time it initialises the environment with a set of hard-coded default values. Generally, a sensible default QSPI address is hard-coded into U-Boot, so once you've saved the environment to flash for the first time, U-Boot will find and load it next time you reboot. The only problem arises if the hard-coded default address is in the wrong place. In that case you either need to rebuild U-Boot with a different default address, or else manually tell it to load the saved environment from the correct place every time it boots up (which is really the comedy option).
-----Original Message-----
From: Edward Wingate [mailto:edwingate8 at gmail.com]
Sent: 21 September 2015 16:41
To: Mike Looijmans
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] u-boot/UBIFS
On Mon, Sep 21, 2015 at 12:48 AM, Mike Looijmans <mike.looijmans at topic.nl> wrote:
> (2) There's an environment variable that points to a flash location
> for the environment. Just set up to where it is, and u-boot will use it.
Actually, I just realized, isn't this a catch-22 situation? How do you set the environment variable that points to the flash location if the environment is in flash?
More information about the meta-xilinx
mailing list