Hi, I have a Colibri vf50 board, running the following enviroment:
BSP 2.2 Beta, U-Boot (2014.04) Linux Kernel 3.0.15.
my partitions on the board is the following:
device nand0 , # parts = 6
# name size offset mask_flags
0: vf-bcb 0x00020000 0x00000000 1
1: u-boot 0x00160000 0x00020000 0
2: u-boot-env 0x00080000 0x00180000 0
3: kernel-ubi 0x00800000 0x00200000 0
4: rootfs-ubi 0x01000000 0x00a00000 0
5: userfs-ubi 0x06600000 0x01a00000 0
Device 0: nand0, sector size 128 KiB
When I am in u-boot, I was able to set and add env variables by using env set & env save. They are stored, preserved after rebooted. I was under the impression that they are stored in the u-boot-env partition. However, when I booted into Linux, using fw_printenv, it shows different env variables from what I saw from u-boot. Using fw-setenv, I could add env variables as well. But I cannot see those added env-variables from u-boot.
Can someone tell me what’s wrong?
What I am trying to do here is to modify the u-boot env variables from Linux, so that I can modify the boot-up behavior. I am doing it for the units in the customer’s field, which I do not have access to u-boot.