Booting verdin-imx8mm_defconfig fails

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


Hi,

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:
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.19.bin
and arm-trusted-firmware 2.8.0

u-boot was built with the following commands:

--8<--
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
--8<--

1) running via serial download:
===============================

--8<--
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
Okay
--8<--

Produces the following output:

--8<--
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 ###
--8<--


2) running from SDCard:
=======================

--8<--
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
--8<--

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)

--8<--
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
--8<--

Boots into Serial Download Mode

Any ideas?

Kind regards
Manuel


More information about the U-Boot mailing list