HI team,
I am using the imx6sabresd board and trying to save the local uboot environment variable persistent across reboot. But its not able to save the variable after reboot .
example:
>setenv demo 100
> saveenv
Saving Environment to MMC... Writing to MMC(3)... OK
But after reboot when checked ..
> printenv demo
## Error: "demo" not defined
Below is my u-boot configuration .
CONFIG_ENV_SUPPORT=y
CONFIG_SAVEENV=y
CONFIG_CMD_SAVEENV =y
CONFIG_ENV_OFFSET=0xE0000
# CONFIG_CMD_ERASEENV is not set
CONFIG_CMD_TFTPBOOT=y
# CONFIG_ENV_IS_NOWHERE is not set
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_MMC_ENV_DEV=2
CONFIG_SYS_MMC_ENV_PART=0
# CONFIG_SUPPORT_EMMC_BOOT is not set
Please suggest me on this issue what I am missing to make the uboot variable work persistent across reboot .?
I have attached the custom configuration for board. Please have a look for it
Does it compulsory need the fast boot config for it to work ?
You'd better to check the boot log if the env read from mmc 3 correctly.
Hello,
Whats suppose to do with demo, you are defined a variable but it do anything uboot simple do nothing.
Regards