UUU-Tool can not access the u-boot environment stored in emmc

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

UUU-Tool can not access the u-boot environment stored in emmc

跳至解决方案
1,822 次查看
MicMoba
Contributor V

I try to access the u-boot environment over the fastboot protocol and UUU-tool.

First I set my i.MX8MP into serial download mode and connect it over USB to my PC.

sudo ./uuu -lsusb 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.224-1-geef4e5d

Connected Known USB Devices
       Path     Chip    Pro     Vid     Pid     BcdVersion
       ==================================================
       1:41     MX865   SDPS:   0x1FC9 0x0146   0x0002

Download the u-boot

sudo ./uuu SDPS: boot -f imx-boot

Check Fastboot

sudo ./uuu -lsusb 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.224-1-geef4e5d

Connected Known USB Devices
       Path     Chip    Pro     Vid     Pid     BcdVersion
       ==================================================
       1:41             FB:     0x0525 0xA4A5   0x0223

Now I am able to talk with the device with UUU and fastboot. For example:

sudo ./uuu FB: ucmd printenv

This prints out the environment on the connected console of my device. As far as pretty but the printed environment is not the environment that is normaly located on the emmc. It is the default environment!

How can I have access to the environment stored on the emmc?

CONFIG_ENV_SIZE=0x10000
CONFIG_ENV_OFFSET=0x3C0000
CONFIG_ENV_OFFSET_REDUND=0x3E0000

 

I need to set an environment variable over UUU tool. Can I switch the environment location or is there a step missing?

Thanks

 

 

标签 (1)
0 项奖励
回复
1 解答
1,818 次查看
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

saveenv-is-not-working-from-uuu-script 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,819 次查看
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

saveenv-is-not-working-from-uuu-script 

0 项奖励
回复