[U-Boot] fw_printenv can't read the uboot enviroment from NAND

Bishop, Mark Mark.Bishop at cooperindustries.com
Wed Apr 4 18:00:42 CEST 2012


Trying to read (and then modify) the uboot environment in NAND from
linux userspace and I am running into some issues.

I downloaded the latest uboot and I am first trying only the latest
fw_printenv on my current system:

root:/> cat /etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# MTD device name       Device offset   Env. size       Flash sector
size       Number of sectors
# NAND example
/dev/mtd0               0x60000         0x20000         0x20000
1
root:/>



More information about the U-Boot mailing list