From: Manuel Traut <manuel.traut@mt.com>
To: u-boot@lists.denx.de
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>,
Philippe Schenker <philippe.schenker@toradex.com>,
janek.filus@mt.com
Subject: Booting verdin-imx8mm_defconfig fails
Date: Mon, 8 May 2023 13:49:36 +0200 [thread overview]
Message-ID: <ZFjh0DkhPD+CSkTt@mt.com> (raw)
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
next reply other threads:[~2023-05-08 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-08 11:49 Manuel Traut [this message]
2023-05-09 7:14 ` Booting verdin-imx8mm_defconfig fails Marcel Ziswiler
2023-05-09 9:49 ` AW: " Traut Manuel LCPF-CH
2023-05-15 10:15 ` Marcel Ziswiler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZFjh0DkhPD+CSkTt@mt.com \
--to=manuel.traut@mt.com \
--cc=janek.filus@mt.com \
--cc=marcel.ziswiler@toradex.com \
--cc=philippe.schenker@toradex.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.