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:
</pre>
For some Ubuntu 1620.04 <code>libzstd</code> incompatibility, it is required to checkout a previous release:
* [[ORCA_SOM/ORCA_Evaluation_Kit/Getting_started/Boot_Configurations | Boot configurations]] from for ''USB Serial Download'', i.e. with S2 switches BOOT_MODE[3:0] as <code>0001</code>** J3 USB-C port is used for Power Delivery** J4 USB-C port is used for USB serial download connection
[[File:ORCA_EVK_USB.png | thumb |center | 500px | ORCA USB serial download connection]]
<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
* 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(Jul 21 2023 - 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-rc2 4.0.0 (Oct 07 2022 Jul 21 2023 - 1514:0401:24 51 +00000200)WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
DDRINFO: start DRAM init
Normal Boot
Trying to boot from BOOTROM
Boot Stage: USB boot U-Boot SPL 2022.04-desk-mx8m-l-4.0.0 (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 bootFind FIT header img info 0x&4802a7a0480265a0, size 855888
Need continue download 1024
WARNING: CB ConfigID on block 0 is UNLOCKEDDownload 9471521075808, Total size 1077440WARNING: CB ConfigID on block 0 is UNLOCKEDFailed 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-ga72158b5eg2b811b9b8NOTICE: BL31: Built : 1519:5400:4525, Feb 17 2022Jun 29 2023
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 - 7e:fa:25:77:16:e1 Warning: ethernet@30be0000 (eth0) using random MAC address - 4682:2fdf:c77f:2a29:9e63:9cb5eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
<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
Downloading file of size 1099200 1216224 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x404291a00x404293a0
WARNING: CB ConfigID on block 0 is UNLOCKED
WARNING: CB ConfigID on block 0 is UNLOCKEDWARNING: CB ConfigID on block 0 is UNLOCKEDWARNING: CB ConfigID on block 0 is UNLOCKEDNOTICE: BL31: v2.26(release):rel_imx_5.desk-mx8m-l-4.70_20.3.2_rc10-rc1-40-ga72158b5eg704f320b3NOTICE: BL31: Built : 1507:5449:4314, Feb 17 2022Jun 20 2023