[U-Boot] [RFC] Exporting defaul environment

Simon Glass sjg at chromium.org
Thu May 3 19:01:56 UTC 2018


Hi Kristian,

On 3 May 2018 at 06:57, Kristian Amlie <kristian.amlie at northern.tech> wrote:
> On 02/05/18 21:32, Simon Glass wrote:
>> Hi Stefano,
>>
>> On 2 May 2018 at 02:48, Stefano Babic <sbabic at denx.de> wrote:
>>>
>>> Hi,
>>>
>>> I am thinking about how it is possible to export in a clean way the
>>> default environment from u-boot. The general use case happens when the
>>> environment must be changed from user space (via fw_setenv or whatever)
>>> and no environment was still stored - board boots with default environment.

Is a magic number not enough to find it?

Alternatively could we put the default environment in /chosen in the
device tree before jumping to Linux?

Regards,
Simon


More information about the U-Boot mailing list