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,819件の閲覧回数
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,815件の閲覧回数
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,816件の閲覧回数
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

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

0 件の賞賛
返信