[u-boot] Environment garbled after setenv?

Joachim Breitner nomeata at debian.org
Sun Dec 7 23:14:06 CET 2008


Am Montag, den 08.12.2008, 00:53 +0300 schrieb Evgeniy Karyakin:
> > Test reports appreciated!
>     I modified (shorten) your script for my needs and it works without 
> an error, although I haven't really got my end station. After flashing 
> environment with your script and then reading it back I see that 
> environment reflects the changes desired. But getting to u-boot console 
> shows me old env variables (printenv), and booting microSD card from NOR 
> menu actually invokes old menu_1 setting -- I can see that after ssh-ing 
> into the phone and seeing what's in /proc/cmdline. Strange.
>     My modified script is in attachment in case you're curious.


AFAIR, the NOR uboot and the NAND uboot don’t share the environment – is
that right?

But that the NAND env is not modified is strange. Did you try reading it
back after a reboot?

Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.openmoko.org/pipermail/community/attachments/20081207/54544070/attachment.pgp 

More information about the community mailing list