Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX-L-AN-0008: How to use UUU update utility

9,437 bytes added, 09:41, 12 July 2023
no edit summary
|{{pageoldid|DESK-MX8M-L|16675|DESK-MX8M-L-2.0.0-rc2}}
|-
| 2.0.0
| 12/07/2023
|{{pageoldid|DESK-MX8M-L|16675|DESK-MX8M-L-4.0.0-rc2}}
|}
</pre>
For some Ubuntu 1620.04 <code>libzstd</code> incompatibility, it is required to checkout a previous release:
<pre>
git checkout uuu_1.45.201109
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.45.201109-0-g005ff6fg6c3190c
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion ================================================== 1:1 MX865 SDPS: 0x1FC9 0x0146 0x0002  
dvdk@vagrant:~/mfgtools$
* binary download and programming
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ sudo uuu -d flashdesk-mx8m-l-4.0.0-rc2_imx8mp_flash.bin uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.45.201109-0-g005ff6fg6c3190c
Success 1 Failure 0 1:1 2/ 2 [Done ] SDPS: done
</pre>
* once downloaded, the <code>flash.bin</code> boot image will be directly executed on the target and the serial console will show the u-boot messages:
<pre class="workstation-terminal">
U-Boot SPL 20202022.04-desk-mx8m-l-24.0.0-rc2 (Oct 07 2022 Jun 29 2023 - 1521:0400:24 09 +00000200) WARNING: SOM ConfigID on block 0 is UNLOCKED SOM ConfigID#: 00000005 DDRINFO: start DRAM init DDRINFO: DRAM rate 4000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from BOOTROM Boot Stage: USB boot Find FIT header img info 0x&4802a7a0480265a0, size 855888 Need continue download 1024 WARNING: CB ConfigID on block 0 is UNLOCKED Download 9471521070960, Total size 1072592 WARNING: CB ConfigID on block 0 is UNLOCKED Failed to find node!, total fit 948272err: -1! Failed to find node!, err: -1! NOTICE: BL31: v2.26(release):rel_imx_5.desk-mx8m-l-4.70_20.3.2_rc10-rc2-40-ga72158b5eg2b811b9b8 NOTICE: BL31: Built : 1519:5400:4525, Feb 17 2022Jun 29 2023 U-Boot 20202022.04-desk-mx8m-l-24.0.0-rc2 (Oct 07 2022 Jun 29 2023 - 1521:0400:24 09 +00000200), Build: desk-mx8m-l-4.0.0-rc2 CPU: Freescale i.MX8MP[8] rev1.1 1800 1600 MHz (running at 1200 MHz) CPU: Commercial Industrial temperature grade (0C -40C to 95C105C) at 33C39C Reset cause: POR Model: DAVE i.MX8MPlus on SBC ORCA Rev A DRAM: 6 GiB Relocating to fff06000, new gd at fdbffda0, sp at fdbf5370 WARNING: CB ConfigID on block 0 is UNLOCKED
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
SNK.Power1.5 on CC2
PDO 0: type 0, 5000 mV, 500 mA [RSHUDE]
PDO 1: type 0, 9000 mV, 2180 mA []
PDO 2: type 0, 12000 mV, 1880 mA []
PDO 3: type 0, 15000 mV, 1510 mA []
PDO 4: type 0, 20000 mV, 1130 mA []
PDO 5: type 3, undefined
Requesting PDO 2: 12000 mV, 1880 mA
Source accept request
PD source ready!
tcpc_pd_receive_message: Polling ALERT register, TCPC_ALERT_RX_STATUS bit failed, ret = -62
TCPC: Vendor ID [0x0], Product ID [0x202], Addr [I2C2 0x3d]
Core: 169 devices, 17 uclasses, devicetree: fit
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from nowhere... OK
Fail to setup video link
In: serial
BuildInfo:
- ATF a72158b - U-Boot 2020.04-desk-mx8m-l-2.0.0-rc22b811b9
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
SOM UniqueID#: 0002aaff1e261000:8aefcecd55aa2564:469660d3:d0c2b602CB ConfigID#: 0000100100001008CB UniqueID#: 00000000b7000035:c48de62dWARNING:00000000SOM ConfigID on block 0 is UNLOCKEDSOM: MX8MP-Mito8MPlus on SBC -ORCAHDMI + LVDStoHDMIswitch Card did not respond to partitions #0, OKmmc1 is current devicevoltage select! : -110
Detect USB boot. Will enter fastboot mode!
Net: Warning: ethernet@30bf0000 (eth1) using random MAC address - f2:c3:a3:7f:87:ff Warning: ethernet@30be0000 (eth0) using random MAC address - 4626:2f1a:c71b:2a24:9ec5:9ce0eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
## Checking Image at 43800000 ...
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.45.201109-0-g005ff6fg6c3190c
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion ================================================== 1:1 MX8MM SDP: 0x1FC9 0x0134 0x0101
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ sudo uuu -d flash.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.45.201109-0-g005ff6fg6c3190c
Success 22 10 Failure 0 1:1 23/ 2 3 [Done ] SDPSDPV: done 1:2 32/ 3 2 [Done ] SDPVSDP: done
</pre>
* once downloaded, the <code>flash.bin</code> boot image will be directly executed on the target and the serial console will show the u-boot messages:
<pre class="workstation-terminal">
U-Boot SPL 20202022.04-desk-mx8m-l-24.0.0-rc2 (Oct 07 2022 Jul 12 2023 - 1411:5720:02 22 +00000200) WARNING: SOM ConfigID on block 0 is UNLOCKED SOM ConfigID#: 00000002 DDRINFO: start DRAM init DDRINFO: DRAM rate 3000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from USB SDP SDP: initialize... SDP: handle requests... Downloading file of size 1099200 1216896 to 0x40400000... done Jumping to header at 0x40400000 Header Tag is not an IMX image Found header at 0x404291a00x404295a0 WARNING: CB ConfigID on block 0 is UNLOCKED NOTICE: BL31: v2.26(release):rel_imx_5.4.70_2.3.2_rc1-4-ga72158b5e NOTICE: BL31: Built : 1510:5416:4307, Feb 17 2022Jun 20 2023
U-Boot 20202022.04-desk-mx8m-l-24.0.0-rc2 (Oct 07 2022 Jul 12 2023 - 1411:5720:02 22 +00000200)
CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)CPU: Industrial temperature grade (-40C to 105C) at 58C54C
Reset cause: POR
Model: DAVE i.MX8MM MITO8MMINI board on SBCX
DRAM: 2 GiB
Relocating to bff0b000, new gd at bdf0adb0, sp at bdf00580
WARNING: CB ConfigID on block 0 is UNLOCKED
PMIC: PF8121 detected
Core: 148 devices, 19 uclasses, devicetree: fit
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select!: -110
*** Warning - No block device, using default environment
BuildInfo:
- ATF a72158b - U-Boot 2020.04-desk-mx8m-l-2.0.0-rc2
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000002
SOM UniqueID#: dab429e1c6536d65:09166209222bc1aaCB ConfigID#: 000010030000100aCB UniqueID#: c600003509000035:c3701c2dc4b0bd2dWARNING: SOM ConfigID on block 0 is UNLOCKEDSOM: MX8MM-Mito8MMini on SBCX-MINI LVDStoHDMI converterICard did not respond to voltage select!: -110
Detect USB boot. Will enter fastboot mode!
Net: Warning: ethernet@30be0000 (eth0) using random MAC address - 1246:044c:dacb:79ed:8767:a330
eth0: ethernet@30be0000
Fastboot: Normal
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
## Checking Image at 43800000 ...
dave_user
427
edits