public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* Booting verdin-imx8mm_defconfig fails
@ 2023-05-08 11:49 Manuel Traut
  2023-05-09  7:14 ` Marcel Ziswiler
  0 siblings, 1 reply; 4+ messages in thread
From: Manuel Traut @ 2023-05-08 11:49 UTC (permalink / raw)
  To: u-boot; +Cc: Marcel Ziswiler, Philippe Schenker, janek.filus

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-15 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08 11:49 Booting verdin-imx8mm_defconfig fails Manuel Traut
2023-05-09  7:14 ` Marcel Ziswiler
2023-05-09  9:49   ` AW: " Traut Manuel LCPF-CH
2023-05-15 10:15     ` Marcel Ziswiler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox