[iMX6 - Yocto ] Update U-BOOT environment from user space

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[iMX6 - Yocto ] Update U-BOOT environment from user space

1,717 次查看
zakariazh
Contributor I

Hello,


I've been trying to update uboot's environment variables from user space for a while (to be able to boot from another partition).

I tried with fw_printenv/_setenv, but I still have: "Cannot read environment, using default"

in my /etc/fw_env.config I have:

/dev/mmcblk0            0x00f00000         0x2000

i also configure u boot to save to save environment like this:

CONFIG_ENV_IS_IN_MMC=y 
CONFIG_SYS_MMC_ENV_PART=1
CONFIG_ENV_OFFSET=0x00f00000
CONFIG_ENV_SIZE=0x2000

Do you have any ideas ?

Thank you 

0 项奖励
回复
1 回复

1,709 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复