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

llandre r&d2 at dave-tech.it
Wed Jun 13 15:35:22 CEST 2007


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




More information about the U-Boot mailing list