
Hi, I am trying to access the UBoot variables from Linux. I used the fw_printenv and fw_setenv commands for the same. When I do an fw_printenv I am able to see all the u-boot variables. However I get an error when trying to change the environment varibles
root@172.22.64.103:~# fw_setenv bootdelay 2 MTD_open MTD_read nand_read_ecc: from = 0x00080000, len = 4 MTD_read nand_read_ecc: from = 0x00080004, len = 131068 MTD_close nand_sync: called MTD_open Unlocking flash... MTD_ioctl Done Erasing old environment...nand_erase: start = 0x00080000, len = 131072
nand_isbad_bbt(): bbt info for offs 0x00080000: (block 4) 0x00 DoneMTD_write
Writing environment to /dev/mtnand_write_ecc: to = 0x00080000, len = 4 d1... nand_write_ecc: Attempt to write not page aligned data CRC write error on /dev/mtd1: Invalid argument Error: can't write to flash
Can some one help me with this? Thanks in advance
Regards, Afzal Nadirshah
________________________________ http://www.mindtree.com/email/disclaimer.html