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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,686件の閲覧回数
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,678件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信