Open main menu

DAVE Developer's Wiki β

Changes

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

7,344 bytes removed, 15:12, 22 August 2023
no edit summary
{| class="wikitable" border="1"
!Page versionID#
!Date
!Development Kit version
|-
| 1.0.0{{oldid|16675|16675}}
| 07/10/2022
|{{pageoldid|DESK-MX8M-L|16675|DESK-MX8M-L-2.0.0-rc2}}
|-
| 2.0.0{{oldid|18382|18382}}| 1211/0708/2023|{{pageoldid|DESK-MX8M-L|16675|DESK-MX8M-L-4.0.0-rc2}}
|}
= Build the UUU =
The following instructions are used for building the <code>uuu</code> utility directly inside the {{pageoldid|DESK-MX8M-L|16134|DESK-MX8M-L-24.0.0-rc2}} Virtual Machine
As reported in github README, the following Ubuntu packages have to be installed:
* binary download and programming
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ sudo uuu -d desk-mx8m-l-4.0.0-rc2_imx8mp_flash0_imx8mp_flash.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
* 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 2022.04-desk-mx8m-l-4.0.0(Jul 21 2023 -rc2 14:01:51 +0200)WARNING: SOM ConfigID on block 0 is UNLOCKEDSOM ConfigID#: 00000005DDRINFO: start DRAM initDDRINFO: DRAM rate 4000MTS U-Boot SPL 2022.04-desk-mx8m-l-4.0.0 (Jun 29 Jul 21 2023 - 14:01:51 +0200)WARNING: SOM ConfigID on block 0 is UNLOCKEDSOM ConfigID#: 00000005DDRINFO: start DRAM initDDRINFO: DRAM rate 4000MTSDDRINFO:ddrphy calibration doneDDRINFO: ddrmix config doneNormal BootTrying to boot from BOOTROMBoot Stage: USB boot U-Boot SPL 2022.04-desk-mx8m-l-4.0.0 (Jul 212023 - 14:0001:09 51 +0200) 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 img info 0x&480265a0, size 888 Need continue download 1024 WARNING: CB ConfigID on block 0 is UNLOCKED Download 10709601075808, Total size 1072592 1077440WARNING: CB ConfigID on block 0 is UNLOCKED Failed to find node!, err: -1! Failed to find node!, err: -1! NOTICE: BL31: v2.6(release):desk-mx8m-l-4.0.0-rc2-0-g2b811b9b8 NOTICE: BL31: Built : 19:00:25, Jun 29 2023 U-Boot 2022.04-desk-mx8m-l-4.0.0-rc2 (Jun 29 Jul 21 2023 - 2114:0001:09 51 +0200), Build: desk-mx8m-l-4.0.0-rc2 CPU: Freescale i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz) CPU: Industrial temperature grade (-40C to 105C) at 39C 37CReset cause: POR Model: DAVE i.MX8MPlus on SBC ORCA Rev A DRAM: 6 GiB Relocating to fff06000fff05000, new gd at fdbffda0, sp at fdbf5370 fdbf5350WARNING: CB ConfigID on block 0 is UNLOCKED
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
SNK.Power1.5 on CC2
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 175 devices, 17 20 uclasses, devicetree: fit
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from nowhere... OK
Card did not respond to voltage select! : -110
Detect USB boot. Will enter fastboot mode!
Net: Warning: ethernet@30bf0000 (eth1) using random MAC address - f27e:c3fa:a325:7f77:8716:ffe1
Warning: ethernet@30be0000 (eth0) using random MAC address - 2682:1adf:1b7f:2429:c563:e0b5
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
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 ...
* binary download and programming
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ sudo uuu -d flashdesk-mx8m-l-4.0.0_imx8mm_flash.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
* 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 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 21 2023 - 1114:2002:22 10 +0200) 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 1216896 1216224 to 0x40400000... done Jumping to header at 0x40400000 Header Tag is not an IMX image Found header at 0x404295a0 0x404293a0WARNING: CB ConfigID on block 0 is UNLOCKED NOTICE: BL31: v2.6(release): desk-mx8m-l-4.0.0-rc1-0-g704f320b3NOTICE: BL31: Built : 1007:1649:0714, Jun 20 2023
U-Boot 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 21 2023 - 1114:2002:22 10 +0200), Build: desk-mx8m-l-4.0.0
CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 54C58C
Reset cause: POR
Model: DAVE i.MX8MM MITO8MMINI board on SBCX
DRAM: 2 GiB
Relocating to bff0b000, new gd at bdf0adb0, sp at bdf00580bdf00460
WARNING: CB ConfigID on block 0 is UNLOCKED
PMIC: PF8121 detected
Core: 148 149 devices, 19 uclasses, devicetree: fit
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
BuildInfo:
- ATF 704f320
WARNING: SOM ConfigID on block 0 is UNLOCKED
Detect USB boot. Will enter fastboot mode!
Net:
Warning: ethernet@30be0000 (eth0) using random MAC address - 462e:4cd5:cb59:edc1:674b:30ae
eth0: ethernet@30be0000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment
No USB device found
USB init failed: -19
u-boot=>
</pre>
8,226
edits