|
Tyler T
fw_setenv and saveenv don't work? August 11, 2010 10:08PM |
-sh-3.2# ./fw_setenv testparam testvalue
ENV_SIZE: 1fffc, env.crc: ce899e0b actual crc: ce899e0b
ENV_SIZE: 1fffc, env.crc: ce899e0b ac[ 54.290000] nand_write: Attempt to writ
e not page aligned data
tual crc: ce899e0b
Unlocking flash...
Done
Erasing old environment...
Done
Writing environment to /dev/mtd0...
CRC write error on /dev/mtd0: Invalid argument
Error: can't write fw_env to flash
-sh-3.2# ./fw_printenv
ENV_SIZE: 1fffc, env.crc: ffffffff actual crc: 619d86db
ENV_SIZE: 1fffc, env.crc: ffffffff actual crc: 619d86db
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=
${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
|
Re: fw_setenv and saveenv don't work? August 12, 2010 08:24AM |
Admin Registered: 13 years ago Posts: 304 |
Quote
[ 54.290000] nand_write: Attempt to write not page aligned data
CRC write error on /dev/mtd0: Invalid argument
Error: can't write fw_env to flash
|
Tyler T
Re: fw_setenv and saveenv don't work? August 12, 2010 09:46PM |