02-15-2016, 12:11 PM
(02-15-2016, 11:05 AM)longsleep Wrote: I am not completely sure what you mean but if you are looking for ways to modify/extend the u-boot environments from Linux either put a valid compiled environment into a uboot.env file of the boot partition or use the uEnv.txt file at the same location.Other boards/u-boot versions use a specific region on the sd card (or internal flash memory) to store the compiled u-boot environment which is accessible via fw_printenv/fw_setenv then. The configuration file `/etc/fw_env.config` contains information about the device, the offset and the environment size.
Your u-boot version uses a file instead of a memory region to store the compiled environment. This file seems to be inaccessible to fw_printenv ("Bad CRC"). Is there another way to create/alter the compiled environment?