Difference between revisions of "DESK-MX-L-AN-0008: How to use UUU update utility"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 15: Line 15:
 
|{{pageoldid|DESK-MX8M-L|16675|DESK-MX8M-L-2.0.0-rc2}}
 
|{{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}}
 
|}
 
|}
  
Line 37: Line 40:
 
</pre>
 
</pre>
  
For some Ubuntu 16.04 <code>libzstd</code> incompatibility, it is required to checkout a previous release:
+
For some Ubuntu 20.04 <code>libzstd</code> incompatibility, it is required to checkout a previous release:
 
<pre>
 
<pre>
git checkout uuu_1.4.201
+
git checkout uuu_1.5.109
 
</pre>
 
</pre>
  
Line 86: Line 89:
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
 
dvdk@vagrant:~/mfgtools$ uuu -lsusb
 
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.201-0-g005ff6f
+
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
  
 
Connected Known USB Devices
 
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
+
        Path     Chip   Pro     Vid     Pid     BcdVersion
==================================================
+
        ==================================================
1:1 MX865 SDPS: 0x1FC9 0x0146 0x0002
+
        1:1     MX865   SDPS:   0x1FC9 0x0146   0x0002
 
 
 
 
  
 
dvdk@vagrant:~/mfgtools$  
 
dvdk@vagrant:~/mfgtools$  
Line 100: Line 101:
 
* binary download and programming
 
* binary download and programming
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
dvdk@vagrant:~/mfgtools$ sudo uuu -d flash.bin  
+
dvdk@vagrant:~/mfgtools$ sudo uuu -d desk-mx8m-l-4.0.0-rc2_imx8mp_flash.bin  
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.201-0-g005ff6f
+
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
  
Success 1    Failure 0                                                                                                                                      
+
Success 1    Failure 0                                                                                                                                                                        
                                                                                                                                                             
+
                                                                                                                                                                                               
                                                                                                                                                             
+
                                                                                                                                                                                               
1:1      2/ 2 [Done                                  ] SDPS: done                                                                                            
+
1:1      2/ 2 [Done                                  ] SDPS: done                                                                                        
  
 
</pre>
 
</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:
 
* 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">
 
<pre class="workstation-terminal">
U-Boot SPL 2020.04-desk-mx8m-l-2.0.0-rc2 (Oct 07 2022 - 15:04:24 +0000)
+
U-Boot SPL 2022.04-desk-mx8m-l-4.0.0-rc2 (Jun 29 2023 - 21:00:09 +0200)                                                                                                                        
SOM ConfigID#: 00000005
+
WARNING: SOM ConfigID on block 0 is UNLOCKED                                                                                                                                                   
DDRINFO: start DRAM init
+
SOM ConfigID#: 00000005                                                                                                                                                                        
DDRINFO: DRAM rate 4000MTS
+
DDRINFO: start DRAM init                                                                                                                                                                        
DDRINFO:ddrphy calibration done
+
DDRINFO: DRAM rate 4000MTS                                                                                                                                                                      
DDRINFO: ddrmix config done
+
DDRINFO:ddrphy calibration done                                                                                                                                                                
Normal Boot
+
DDRINFO: ddrmix config done                                                                                                                                                                    
Trying to boot from BOOTROM
+
Normal Boot                                                                                                                                                                                    
Find FIT header 0x&4802a7a0, size 855
+
Trying to boot from BOOTROM                                                                                                                                                                    
Need continue download 1024
+
Boot Stage: USB boot                                                                                                                                                                           
Download 947152, total fit 948272
+
Find img info 0x&480265a0, size 888                                                                                                                                                             
NOTICE:  BL31: v2.2(release):rel_imx_5.4.70_2.3.2_rc1-4-ga72158b5e
+
Need continue download 1024                                                                                                                                                                    
NOTICE:  BL31: Built : 15:54:45, Feb 17 2022
+
WARNING: CB ConfigID on block 0 is UNLOCKED                                                                                                                                                     
 
+
Download 1070960, Total size 1072592                                                                                                                                                           
 
+
WARNING: CB ConfigID on block 0 is UNLOCKED                                                                                                                                                     
U-Boot 2020.04-desk-mx8m-l-2.0.0-rc2 (Oct 07 2022 - 15:04:24 +0000)
+
Failed to find node!, err: -1!                                                                                                                                                                 
 
+
Failed to find node!, err: -1!                                                                                                                                                                 
CPU:  i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)
+
NOTICE:  BL31: v2.6(release):desk-mx8m-l-4.0.0-rc2-0-g2b811b9b8                                                                                                                                 
CPU:  Commercial temperature grade (0C to 95C) at 33C
+
NOTICE:  BL31: Built : 19:00:25, Jun 29 2023                                                                                                                                                   
Reset cause: POR
+
                                                                                                                                                                                               
Model: DAVE i.MX8MPlus on SBC ORCA Rev A
+
                                                                                                                                                                                               
DRAM:  6 GiB
+
U-Boot 2022.04-desk-mx8m-l-4.0.0-rc2 (Jun 29 2023 - 21:00:09 +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                                                                                                                                       
 +
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]
 
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
 
MMC:  FSL_SDHC: 1, FSL_SDHC: 2
 +
Loading Environment from nowhere... OK
 
Fail to setup video link
 
Fail to setup video link
 
In:    serial
 
In:    serial
Line 141: Line 164:
  
 
  BuildInfo:
 
  BuildInfo:
   - ATF a72158b
+
   - ATF 2b811b9
  - U-Boot 2020.04-desk-mx8m-l-2.0.0-rc2
 
  
 +
WARNING: SOM ConfigID on block 0 is UNLOCKED
 
SOM ConfigID#: 00000005
 
SOM ConfigID#: 00000005
SOM UniqueID#: 0002aaff:8aefcecd
+
SOM UniqueID#: 1e261000:55aa2564:469660d3:d0c2b602
CB ConfigID#: 00001001
+
CB ConfigID#: 00001008
CB UniqueID#: 00000000:00000000
+
CB UniqueID#: b7000035:c48de62d
SOM: MX8MP-Mito8MPlus on SBC ORCA
+
WARNING: SOM ConfigID on block 0 is UNLOCKED
switch to partitions #0, OK
+
SOM: MX8MP-Mito8MPlus on SBC-ORCA HDMI + LVDStoHDMI
mmc1 is current device
+
Card did not respond to voltage select! : -110
 
Detect USB boot. Will enter fastboot mode!
 
Detect USB boot. Will enter fastboot mode!
Net:
+
Net:  
Warning: ethernet@30be0000 (eth0) using random MAC address - 46:2f:c7:2a:9e:9c
+
Warning: ethernet@30bf0000 (eth1) using random MAC address - f2:c3:a3:7f:87:ff
eth0: ethernet@30be0000
+
 
 +
Warning: ethernet@30be0000 (eth0) using random MAC address - 26:1a:1b:24:c5:e0
 +
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
 
Fastboot: Normal
 
Fastboot: Normal
 
Boot from USB for mfgtools
 
Boot from USB for mfgtools
Line 161: Line 186:
  
 
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;
 
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
+
Hit any key to stop autoboot:  0  
  
 
## Checking Image at 43800000 ...
 
## Checking Image at 43800000 ...
Line 173: Line 198:
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
 
dvdk@vagrant:~/mfgtools$ uuu -lsusb
 
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.201-0-g005ff6f
+
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
  
 
Connected Known USB Devices
 
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
+
        Path     Chip   Pro     Vid     Pid     BcdVersion
==================================================
+
        ==================================================
1:1 MX8MM SDP: 0x1FC9 0x0134 0x0101
+
        1:1     MX8MM   SDP:   0x1FC9 0x0134   0x0101
  
 
</pre>
 
</pre>
Line 184: Line 209:
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
 
dvdk@vagrant:~/mfgtools$ sudo uuu -d flash.bin  
 
dvdk@vagrant:~/mfgtools$ sudo uuu -d flash.bin  
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.201-0-g005ff6f
+
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c
  
Success 22   Failure 0                                                                                                                                      
+
Success 10   Failure 0                                                                                                                                                                        
                                                                                                                                                             
+
                                                                                                                                                                                               
                                                                                                                                                             
+
                                                                                                                                                                                               
1:1      2/ 2 [Done                                  ] SDP: done                                                                                              
+
1:1      3/ 3 [Done                                  ] SDPV: done
1:2      3/ 3 [Done                                  ] SDPV: done                                                                                            
+
1:2      2/ 2 [Done                                  ] SDP: done
  
 
</pre>
 
</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:
 
* 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">
 
<pre class="workstation-terminal">
U-Boot SPL 2020.04-desk-mx8m-l-2.0.0-rc2 (Oct 07 2022 - 14:57:02 +0000)
+
U-Boot SPL 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 2023 - 11:20:22 +0200)                                                                                                                        
SOM ConfigID#: 00000002
+
WARNING: SOM ConfigID on block 0 is UNLOCKED                                                                                                                                                   
DDRINFO: start DRAM init
+
SOM ConfigID#: 00000002                                                                                                                                                                        
DDRINFO: DRAM rate 3000MTS
+
DDRINFO: start DRAM init                                                                                                                                                                        
DDRINFO:ddrphy calibration done
+
DDRINFO: DRAM rate 3000MTS                                                                                                                                                                      
DDRINFO: ddrmix config done
+
DDRINFO:ddrphy calibration done                                                                                                                                                                
Normal Boot
+
DDRINFO: ddrmix config done                                                                                                                                                                    
Trying to boot from USB SDP
+
Normal Boot                                                                                                                                                                                    
SDP: initialize...
+
Trying to boot from USB SDP                                                                                                                                                                    
SDP: handle requests...
+
SDP: initialize...                                                                                                                                                                              
Downloading file of size 1099200 to 0x40400000... done
+
SDP: handle requests...                                                                                                                                                                        
Jumping to header at 0x40400000
+
Downloading file of size 1216896 to 0x40400000... done                                                                                                                                          
Header Tag is not an IMX image
+
Jumping to header at 0x40400000                                                                                                                                                                
Found header at 0x404291a0
+
Header Tag is not an IMX image                                                                                                                                                                  
NOTICE:  BL31: v2.2(release):rel_imx_5.4.70_2.3.2_rc1-4-ga72158b5e
+
Found header at 0x404295a0                                                                                                                                                                     
NOTICE:  BL31: Built : 15:54:43, Feb 17 2022
+
WARNING: CB ConfigID on block 0 is UNLOCKED                                                                                                                                                     
 +
NOTICE:  BL31: v2.6(release):                                                                                                                                                                  
 +
NOTICE:  BL31: Built : 10:16:07, Jun 20 2023                                                                                                                                                   
 +
                                                                                                                                                                                               
  
U-Boot 2020.04-desk-mx8m-l-2.0.0-rc2 (Oct 07 2022 - 14:57:02 +0000)
+
U-Boot 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 2023 - 11:20:22 +0200)
  
CPU:  i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
+
CPU:  Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
CPU:  Industrial temperature grade (-40C to 105C) at 58C
+
CPU:  Industrial temperature grade (-40C to 105C) at 54C
 
Reset cause: POR
 
Reset cause: POR
 
Model: DAVE i.MX8MM MITO8MMINI board on SBCX
 
Model: DAVE i.MX8MM MITO8MMINI board on SBCX
 
DRAM:  2 GiB
 
DRAM:  2 GiB
 +
Relocating to bff0b000, new gd at bdf0adb0, sp at bdf00580
 +
WARNING: CB ConfigID on block 0 is UNLOCKED
 
PMIC: PF8121 detected
 
PMIC: PF8121 detected
 +
Core:  148 devices, 19 uclasses, devicetree: fit
 
MMC:  FSL_SDHC: 0, FSL_SDHC: 1
 
MMC:  FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select!
+
Loading Environment from MMC... Card did not respond to voltage select! : -110
 
*** Warning - No block device, using default environment
 
*** Warning - No block device, using default environment
  
Line 230: Line 261:
  
 
  BuildInfo:
 
  BuildInfo:
   - ATF a72158b
+
   - ATF  
  - U-Boot 2020.04-desk-mx8m-l-2.0.0-rc2
 
  
 +
WARNING: SOM ConfigID on block 0 is UNLOCKED
 
SOM ConfigID#: 00000002
 
SOM ConfigID#: 00000002
SOM UniqueID#: dab429e1:09166209
+
SOM UniqueID#: c6536d65:222bc1aa
CB ConfigID#: 00001003
+
CB ConfigID#: 0000100a
CB UniqueID#: c6000035:c3701c2d
+
CB UniqueID#: 09000035:c4b0bd2d
SOM: MX8MM-Mito8MMini on SBCX
+
WARNING: SOM ConfigID on block 0 is UNLOCKED
Card did not respond to voltage select!
+
SOM: MX8MM-Mito8MMini on SBCX-MINI LVDStoHDMI converterI
 +
Card did not respond to voltage select! : -110
 
Detect USB boot. Will enter fastboot mode!
 
Detect USB boot. Will enter fastboot mode!
Net:
+
Net:  
Warning: ethernet@30be0000 (eth0) using random MAC address - 12:04:da:79:87:a3
+
Warning: ethernet@30be0000 (eth0) using random MAC address - 46:4c:cb:ed:67:30
 
eth0: ethernet@30be0000
 
eth0: ethernet@30be0000
 
Fastboot: Normal
 
Fastboot: Normal
Line 249: Line 281:
  
 
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;
 
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
+
Hit any key to stop autoboot:  0  
  
 
## Checking Image at 43800000 ...
 
## Checking Image at 43800000 ...

Revision as of 09:41, 12 July 2023

Info Box
Warning-icon.png This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the History section. Warning-icon.png

History[edit | edit source]

Page version Date Development Kit version
1.0.0 07/10/2022 DESK-MX8M-L-2.0.0-rc2
2.0.0 12/07/2023 DESK-MX8M-L-4.0.0-rc2

Introduction[edit | edit source]

This application note details how to use the UUU NXP Universal Update Utility for the i.MX platforms typically via SDP protocol, i.e. over USB OTG connection.

UUU is the replacement for MfgTool Command-line driven (no GUI). It allows a single command image download and it is fully scriptable. It supports all flash types (eMMC, NAND, QSPI, SD…).

Full open-source code is on Github with full documentation.

Build the UUU[edit | edit source]

The following instructions are used for building the uuu utility directly inside the DESK-MX8M-L-2.0.0-rc2 Virtual Machine

As reported in github README, the following Ubuntu packages have to be installed:

sudo apt-get install libusb-1.0-0-dev libbz2-dev libzstd-dev pkg-config cmake libssl-dev g++

then the git repository will be cloned:

git clone https://github.com/NXPmicro/mfgtools.git

For some Ubuntu 20.04 libzstd incompatibility, it is required to checkout a previous release:

git checkout uuu_1.5.109

Invoking the cmake utility, the application can be built:

cd mfgtools
cmake . && make

and install the application in the system directory:

sudo make install

MVM USB device[edit | edit source]

The USB device - for both SPL and u-boot stages - has to be enabled inside the VM using the VirtualBox proper Device menu. Once both USB devices are detected by the VM, it is possible to add them to the USB filters in order to enable them once detected:

ORCA[edit | edit source]

MVM USB settings are displayed here below:

DESK-MX6-L-uuu-ORCA-USB-Settings.png

  • Boot configurations for USB Serial Download, i.e. with S2 switches BOOT_MODE[3:0] as 0001
    • J3 USB-C port is used for Power Delivery
    • J4 USB-C port is used for USB serial download connection
ORCA USB serial download connection

MITO 8M Mini[edit | edit source]

MVM USB settings are displayed here below:

DESK-MX6-L-uuu-USB-Settings.png


MITO8M Mini Evaluation Kit has to be configured wih:

  • Boot configurations from SD card, i.e. with J32 jumper inserted
  • no SD card inserted for boot from USB serial download instead of SD card
MITO8M Mini USB serial download connection

uuu examples[edit | edit source]

ORCA[edit | edit source]

  • device identification
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion
        ==================================================
        1:1      MX865   SDPS:   0x1FC9 0x0146   0x0002

dvdk@vagrant:~/mfgtools$ 

  • binary download and programming
dvdk@vagrant:~/mfgtools$ sudo uuu -d desk-mx8m-l-4.0.0-rc2_imx8mp_flash.bin 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c

Success 1    Failure 0                                                                                                                                                                          
                                                                                                                                                                                                 
                                                                                                                                                                                                 
1:1      2/ 2 [Done                                  ] SDPS: done                                                                                          

  • once downloaded, the flash.bin boot image will be directly executed on the target and the serial console will show the u-boot messages:
U-Boot SPL 2022.04-desk-mx8m-l-4.0.0-rc2 (Jun 29 2023 - 21:00:09 +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 1070960, Total size 1072592                                                                                                                                                             
WARNING: 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 2023 - 21:00:09 +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                                                                                                                                        
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
Out:   serial
Err:   serial

 BuildInfo:
  - ATF 2b811b9

WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
SOM UniqueID#: 1e261000:55aa2564:469660d3:d0c2b602
CB ConfigID#: 00001008
CB UniqueID#: b7000035:c48de62d
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM: MX8MP-Mito8MPlus on SBC-ORCA HDMI + LVDStoHDMI
Card did not respond to voltage 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 - 26:1a:1b:24:c5:e0
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

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 ...
Unknown image format!
Run fastboot ...

MITO 8M Mini[edit | edit source]

  • device identification
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion
        ==================================================
        1:1      MX8MM   SDP:    0x1FC9 0x0134   0x0101

  • binary download and programming
dvdk@vagrant:~/mfgtools$ sudo uuu -d flash.bin 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.109-0-g6c3190c

Success 10    Failure 0                                                                                                                                                                         
                                                                                                                                                                                                 
                                                                                                                                                                                                 
1:1      3/ 3 [Done                                  ] SDPV: done
1:2      2/ 2 [Done                                  ] SDP: done

  • once downloaded, the flash.bin boot image will be directly executed on the target and the serial console will show the u-boot messages:
U-Boot SPL 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 2023 - 11:20:22 +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 to 0x40400000... done                                                                                                                                           
Jumping to header at 0x40400000                                                                                                                                                                  
Header Tag is not an IMX image                                                                                                                                                                   
Found header at 0x404295a0                                                                                                                                                                       
WARNING: CB ConfigID on block 0 is UNLOCKED                                                                                                                                                      
NOTICE:  BL31: v2.6(release):                                                                                                                                                                    
NOTICE:  BL31: Built : 10:16:07, Jun 20 2023                                                                                                                                                     
                                                                                                                                                                                                 

U-Boot 2022.04-desk-mx8m-l-4.0.0-rc2 (Jul 12 2023 - 11:20:22 +0200)

CPU:   Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 54C
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

Fail to setup video link
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF 

WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000002
SOM UniqueID#: c6536d65:222bc1aa
CB ConfigID#: 0000100a
CB UniqueID#: 09000035:c4b0bd2d
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM: MX8MM-Mito8MMini on SBCX-MINI LVDStoHDMI converterI
Card did not respond to voltage select! : -110
Detect USB boot. Will enter fastboot mode!
Net:   
Warning: ethernet@30be0000 (eth0) using random MAC address - 46:4c:cb:ed:67:30
eth0: ethernet@30be0000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

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 ...
Unknown image format!
Run fastboot ...
No USB device found
USB init failed: -19
u-boot=>