When I run
root@debian:/# sheeva-ubootenv-print > bla
I get the following error:
sheeva-nandrs-decode: too many errors in block #0 of chunk #0
sheeva-ubootenv-decode: environment must be 128Kb.
Is that a Sheeva or a Guru? I'm having the same trouble as you with my Gurus, but it works fine on my sheevas! It seems something has changed in the way the environment is being saved: altough u-boot itself is stored using 4-bit ECC, it stores the environment using 1-bit ECC, in the same partition, which seems really ugly. This means that you can read the memory that holds the environment from Linux just using
dd (which you can't do when the data is stored with 4-bit ECC), but so far I have been unable to write the data back, it becomes garbled both with
dd and with
nandwrite -q -n -s 0xa0000 /dev/mtd0.