Hi Mr. Denk,

On 04/30/2011 10:32 AM, Wolfgang Denk wrote:
> Dear Valentin Longchamp,
> 
> In message 
> <ba20e078a0b5ac55510f321b282dbff192ffba15.1302272395.git.valentin.longch...@keymile.com>
>  you wrote:
>> From: Holger Brunck <holger.bru...@keymile.com>
>>
>> The pnvram size was used later from start scripts in linux. Therefore
>> it must be set inside u-boot.
> 
> How does this work?  A plain setenv() here just adds an entry to the
> hash table where U-Boot stores the variables.  This data is not
> accessable in Linux ("start scripts in linux" being init scripts?)
> 

Argh. Good catch. It actually works because we do initially one time a saveenv
when we start a boot with the "release environment". But it isn't good to be
dependent to a previously saveenv. I will remove it there and add this variable
to the default environment.

Best regards
Holger Brunck

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to