AnsweredAssumed Answered

uuu can't burn the linux images into eMMC on the iMX8M Mini

Question asked by Iñigo Vicente on Feb 5, 2020
Latest reply on Mar 10, 2020 by karan gajjar



I want to write the images including Image, dtb, rootfs, bootloader etc files into the eMMC on the iMX8M Mini by uuu, therefore I strictly execute following documents:

1.- uuu.pdf 

2.- Linux User Guide.pdf 

I am executing the following steps:


1.- downloading the L4.14.98_2.0.0_ga_images_MX8MMEVK from nxp website

2.- downloading the rececently uuu.exe from github Release 1.3.102 · NXPmicro/mfgtools · GitHub 

3.- Connect the USB power supply to the J302 connector (the USB Type-C POWER connector)

4.- Connect the USB Type-C cable from the serial download connector (J301) to the host machine

5.- Connect the serial debug (connector J901) to the host machine using a USB micro-B cable

6.- Set the boot mode switches to the Download Mode (see sticker or silk on the board)

7.- Turn on the board on ON switch (SW101)

8.- Open CMD

9.- In the CMD, execute: uuu.exe

10.- Turn on the board on OFF switch (SW101) and set the boot mode switches to the eMMC/SDHC3

In the PUTTY terminal I see these messages continuously:


[ 25.673814] usb usb1: USB disconnect, device number 1
[ 25.685691] ci_hdrc ci_hdrc.0: USB bus 1 deregistered
[ 30.714274] ci_hdrc ci_hdrc.0: timeout waiting for 00000800 in OTGSC
[ 30.779487] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 30.784415] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 30.810284] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 30.815871] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 30.822699] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 30.829945] usb usb1: Product: EHCI Host Controller
[ 30.834849] usb usb1: Manufacturer: Linux 4.14.78 ehci_hcd
[ 30.840420] usb usb1: SerialNumber: ci_hdrc.0
[ 30.846470] hub 1-0:1.0: USB hub found
[ 30.850323] hub 1-0:1.0: 1 port detected
[ 31.205349] ci_hdrc ci_hdrc.0: remove, state 4 file:

uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all fsl-image-validation-imx-imx8mmevk.sdcard
FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0

FB: done

What am I doing wrong?

Where do i get kernel image, board dtb file, rootfs or optee image?