i.MX8MM - Unable to start U-Boot from EMMC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MM - Unable to start U-Boot from EMMC

936 Views
pascalenz
Contributor I

Hi folks,

 

I'm working on a custom board with imx8mm.

I'm able to flash the u-boot bootloader by UUU and start into Fastboot mode.

(Console is working and SPL boots into Normal U-BOOT). But after flashing the bootloader to EMMC and reset the board, it doesn't come up.

Here is the UUU Command List for flashing U-Boot to EMMC on USDHC1 (mmc dev 0).

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: ucmd mmc dev 0
FB: ucmd mmc dev 0 0
FB: ucmd mmc erase 0x2000 0x8
FB: ucmd mmc partconf 0 1 1 1
FB[-t 600000]: flash bootloader0 u-boot-imx8mm.imx

There is no error or else, but after resetting the board, there's no console output and a boot-loop happens according to jtag output.

Any hints or inputs on that topic?

Thanks in advance

Attatched is a comparison between u-boot-imx8mm.imx and emmc content after reset in partition 0 1
Is the endianess wrong, or is that caused by other layout alogrithms?

Left: hexEditor (u-boot-imx8mm.imx)
Rith: emmc content (after readout into memory mmc read 0x60000000 42 1)

0 Kudos
Reply
1 Reply

897 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Have you tried with the default command?
./uuu -b emmc u-boot-imx8mm.imx

This command also flash to eMMC the bootloader only.

Also, may I ask if you have built uboot using Yocto or standalone environment?

Best regards,
Aldo.

0 Kudos
Reply