I've tried changing the console environment variable and then using saveenv to save it but after I reboot it returns to it's original value.
Anyone else noticed this?
Hi. I'm seeing exactly the same problem. The weird thing is I am able to set the console environment variable if I'm using the original u-boot that came with the 1.0 SDK. If I try to use 1.2, I am not able to save the console environment. However, I could set other things such as ipaddr and serverip so it is able to write to flash. Very strange.
I tried doing a resetenv and doing a setenv followed by a saveenv, but the console value goes back to default settings after a reset.
Marvell>> printenv console
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(
uImage),0x1ff00000@0x100000(rootfs)rw
Marvell>> setenv console
Marvell>> printenv console
## Error: "console" not defined
Marvell>> setenv console 'console=ttyS0,115200'
Marvell>> printenv console
console=console=ttyS0,115200
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> reset
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Apr 9 2009 - 12:23:12) Marvell version: 3.4.16
...
Hit any key to stop autoboot: 0
Marvell>>
wn command '' - try 'help'
Marvell>> printenv console
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw