Booting verdin-imx8mm_defconfig fails

Manuel Traut manuel.traut at
Mon May 8 13:49:36 CEST 2023


I am not able to run u-boot for the Toradex Verdin i.MX8MMini.
I am not sure if I built/using u-boot as intended for this platform.

DDR firmware used from:
and arm-trusted-firmware 2.8.0

u-boot was built with the following commands:

debian$ export CROSS_COMPILE=aarch64-linux-gnu-
debian$ export ARCH=arm64 BL31=/usr/lib/arm-trusted-firmware/imx8mm/bl31.bin
debian$ make verdin-imx8mm_defconfig
debian$ make -j6 flash.bin

1) running via serial download:

debian$ sudo uuu SDP: boot -f flash.bin
uuu (Universal Update Utility) for nxp imx chips -- lib1.4.193

Success 0    Failure 0

1:4      1/ 1 [=================100%=================] SDP: boot -f flash.bin

Produces the following output:

U-Boot SPL 2023.07-rc1-00199-g1917a1a8a8 (May 08 2023 - 13:11:50 +0200)
WDT:   Started watchdog at 30280000 with servicing every 1000ms (60s timeout)
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

2) running from SDCard:

debian$ sudo dd if=flash.bin of=/dev/sdb bs=1024 seek=33
1206+1 records in
1206+1 records out
1234992 bytes (1.2 MB, 1.2 MiB) copied, 0.260789 s, 4.7 MB/s
debian$ sync

Pressing the 'recovery' switch while reseting the board:
Boots into Serial Download Mode

Just reseting the board:
Boots into Serial Download Mode

3) running from eMMC:

(no sdcard plugged in)

imx8mm$ echo 0 > /sys/block/mmcblk1boot0/force_ro
imx8mm$ dd if=flash.bin of=/dev/mmcblk1boot0
imx8mm$ echo 1 > /sys/block/mmcblk1boot0/force_ro
imx8mm$ reboot

Boots into Serial Download Mode

Any ideas?

Kind regards

More information about the U-Boot mailing list