Skip to contentSkip to conversation

Variable bootfile can't be modified

U-Boot-Users llandre 1 participant 2 messages Jun 13, 2007 – Jul 16, 2007

lore
Share & tools
lore

llandre

author
#0 lore raw

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
author
#1 lore raw

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

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
Quoted 55 lines

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