Hi!
I'm using below to flash sdcard.img image to SD/MMC1 with following command:
#dd if=/*/sdcard.img of=/dev/mmcblk1
root@imx8dxl-orangebox:/*# dd if=/*/sdcard.img of=/dev/mmcblk1
1196032+0 records in
1196032+0 records out
612368384 bytes (612 MB, 584 MiB) copied, 189.767 s, 3.2 MB/s
mmcblk1-mmcblk1p1 content after flashing image:
root@imx8dxl-orangebox:/run/media# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
*
mmcblk1 179:96 0 14.8G 0 disk
|-mmcblk1p1 179:97 0 64M 0 part /run/media/boot-mmcblk1p1
`-mmcblk1p2 179:98 0 512M 0 part
...
root@imx8dxl-orangebox:/run/media/boot-mmcblk1p1# ls -l
total 31622
-rwxrwx--- 1 root disk 32317952 Nov 6 2023 Image
-rwxrwx--- 1 root disk 61394 Nov 6 2023 imx8dxl-evk.dtb
However, imx8dxl-orangebox failed to boot from SD/MMC1:
imx8dxl-orangebox login:
U-Boot SPL 2022.04-lf_v2022.04_imx8dxl_orangebox+g598f0baef7 (Oct 19 2022 - 16:31:17 +0000)
Normal Boot
Trying to boot from MMC1
Primary set selected
Load image from MMC/SD 0x6d800
...
[ 3.153691] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 3.164664] mmcblk1: p1 p2
...
[ 2.894616] mmc1: SDHCI controller on 5b020000.mmc [5b020000.mmc] using ADMA
...
[ 3.102681] mmc1: host does not support reading read-only switch, assuming write-enable
[ 3.145579] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 3.153691] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 3.164664] mmcblk1: p1 p2
This same image - sdcard.img was able to boot/run in the EVK board I'm working (IMX8DXL-WEVK | Linux imx8dxlevk 6.1.1+g29549c7073bf #1 SMP PREEMPT * aarch64 GNU/Linux) with previously. The only difference is that from this EVK board (no casing) I'm able to set the boot mode selection via DIP switch using - (011: USDHC1: SD card) to boot from SD https://www.nxp.com/webapp/Download?colCode=MCIMX8DXL-WEVKUM
For this IMX8DXL_OrangeBox (Linux imx8dxl-orangebox 6.1.1+g9f5c84085cb4 #1 SMP PREEMPT * aarch64 GNU/Linux), board is with casing and mounted modules/interface.
Thank you in advance for kind help.