Command: fw_printenv
Edit the file fw_env.config in /etc. To create this file, you need to know information about where U-Boot stores its env variables. Specifically, you need the mmcblk device name, the device offset, the env size and the flash sector size.
fw_env.config file:
Code: Select all
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# MTD device name Device offset Env. size Flash sector size
/dev/mmcblk0 0x99C00 0x4000 0x100