Re: [U-Boot] when does default env get written to flash on a new system?

2016-09-01 Thread Robert P. J. Day
On Thu, 1 Sep 2016, Robert P. J. Day wrote: > i'm sure i'll figure this out if i keep reading the code, but if i > have a new board where the env will be stored in flash, and i flash > a fresh build of u-boot with a default environment, at what point > will that default environment be written to

[U-Boot] when does default env get written to flash on a new system?

2016-09-01 Thread Robert P. J. Day
i'm sure i'll figure this out if i keep reading the code, but if i have a new board where the env will be stored in flash, and i flash a fresh build of u-boot with a default environment, at what point will that default environment be written to persistent storage (as defined by CONFIG_ENV_ADDR)?