[U-Boot-Users] Variable bootfile can't be modified [SOLVED]

llandre r&d2 at dave-tech.it
Mon Jul 16 10:26:44 CEST 2007


CONFIG_EXTRA_ENV_SETTINGS erroneously defined bootfile twice.

Regards,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it



> Hi all,
> 
> I'm experiencing a weird problem with current U-Boot sources.
> Variable bootfile can't be modified as expected.
> When the board boots, bootfile looks like this:
> 
> bootfile=parsy/prelk/uImage
> 
> If I change it, the new value is appended to the env but old value in 
> not deleted:
> 
> parsy> setenv bootfile abc
> parsy> print bootfile
> bootfile=parsy/prelk/uImage
> parsy> print
> bootdelay=3
> baudrate=115200
> ...
> bootfile=parsy/prelk/uImage
> ...
> stdin=serial
> stdout=serial
> stderr=serial
> bootfile=abc
> 
> Environment size: 1381/131067 bytes
> parsy>
> 
> Then If I issue manually
> setenv bootfile
> the first occurrence is deleted.
> If I issue the same command again the second occurrence (abc) is deleted.
> 
> Anybody experienced similar problems?
> 
> 
> 
> TIA
> llandre
> 
> DAVE Electronics System House - R&D Department
> web:   http://www.dave-tech.it
> email: r&d2 at dave-tech.it
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 






More information about the U-Boot mailing list