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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,820 Views
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

 

 

Labels (1)
0 Kudos
Reply
1 Solution
1,816 Views
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

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

View solution in original post

0 Kudos
Reply
1 Reply
1,817 Views
MicMoba
Contributor V

The reason is described by BiyongSUN at the following link.

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

0 Kudos
Reply