public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Variable bootfile can't be modified
@ 2007-06-13 13:35 llandre
  2007-07-16  8:26 ` [U-Boot-Users] Variable bootfile can't be modified [SOLVED] llandre
  0 siblings, 1 reply; 2+ messages in thread
From: llandre @ 2007-06-13 13:35 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Variable bootfile can't be modified [SOLVED]
  2007-06-13 13:35 [U-Boot-Users] Variable bootfile can't be modified llandre
@ 2007-07-16  8:26 ` llandre
  0 siblings, 0 replies; 2+ messages in thread
From: llandre @ 2007-07-16  8:26 UTC (permalink / raw)
  To: u-boot

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
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-16  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13 13:35 [U-Boot-Users] Variable bootfile can't be modified llandre
2007-07-16  8:26 ` [U-Boot-Users] Variable bootfile can't be modified [SOLVED] llandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox