[U-Boot] [PATCH 24/30] km/common: add pnvramsize to default environment

Wolfgang Denk wd at denx.de
Sat Apr 30 10:32:34 CEST 2011


Dear Valentin Longchamp,

In message <ba20e078a0b5ac55510f321b282dbff192ffba15.1302272395.git.valentin.longchamp at keymile.com> you wrote:
> From: Holger Brunck <holger.brunck at 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?)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
For those who like this sort of thing, this is the sort of thing they
like.                                               - Abraham Lincoln


More information about the U-Boot mailing list