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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
1,285 Views
inigovicentewal
Contributor III

Hi,

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 uuu.auto

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

uuu.auto 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?

Thanks.

Labels (1)
0 Kudos
1 Solution
640 Views
karangajjar
Senior Contributor II

Hi Iñigo Vicente 

In  L4.14.98_2.0.0_ga_images_MX8MMEVK the TFA is activated .

Please refer imx linux user guide section 4.1.1

Let us know in case of any concerns.

 

Regards,

Karan Gajjar

View solution in original post

0 Kudos
6 Replies
641 Views
karangajjar
Senior Contributor II

Hi Iñigo Vicente 

In  L4.14.98_2.0.0_ga_images_MX8MMEVK the TFA is activated .

Please refer imx linux user guide section 4.1.1

Let us know in case of any concerns.

 

Regards,

Karan Gajjar

View solution in original post

0 Kudos
640 Views
inigovicentewal
Contributor III

Thank you very much, but is there any way to view the TFA records by the console? Is there any configuration in U-Boot? Because the only information I have is:

BuildInfo:

-ATF lcb68fa

0 Kudos
640 Views
karangajjar
Senior Contributor II

Hi Iñigo Vicente,

U-Boot only returns the ATF version. There is no console interface for ATF.

Regards,

Karan Gajjar

640 Views
karangajjar
Senior Contributor II

Hi Iñigo Vicente 

Yes, OP-TEE project is integrated in L4.14.98_2.0.0_ga_images_MX8MMEVK. OP-TEE package related information you can find in SCR-4.14.98_2.0.0_ga.txt present in L4.14.98_2.0.0_ga_images_MX8MMEVK , and you can also verify that by checking the boot log.

Regarding TFA we are working on that and will reply as soon as we find anything.

Regards,

Karan Gajjar

0 Kudos
640 Views
karangajjar
Senior Contributor II

Hi Iñigo Vicente

Please follow this link to burn Linux images into eMMC , and follow the quick start guide i.MX 8M Mini EVK for switch configuration of eMMC and serial download mode.

Please, let us know if you face any issues.

 

Regards,

Karan Gajjar

640 Views
inigovicentewal
Contributor III

Hi karan.gajjar@volansystech.com

I already solved my problem, thanks

Another question, Do you know if the OP-TEE project is integrated in L4.14.98_2.0.0_ga_images_MX8MMEVK?

It's right?

TFA is also activated? If not, how can I do it?

0 Kudos