2255953_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2255953_en-US

2255953_en-US

iMX93 pre-built yoto img loading issue from SD card
I bought a i.MX 93 board(SCH-94611 REV B2)recently and burned the Nxp pre-built yoto bsp image "LF_v6.6.36-2.1.0_images_FRDM_3.0_i.MX93/imx-image-full-imx93frdm.rootfs.wic.zst" to SD card by using UUU utility command in windows11 via usb1_c port in serial downloader mode. Writing was successful.
After that, set Boot Config Switch, SW1[3-0] 0011 to boot from SD card.
As per silk screen, 
SW1[3-0] 0010 >> eMMC(default)
                0011 >> SD
                0001 >> USB
It seems like the kernel fails to mount the root filesystem on the SD card and falls back to eMMC.
Also tried another image file from LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93 on different SD card and encountered the same problem.
The debug info from Tera Term serial port screen was attached. What am I missing here to boot from SD card?
 
"
CPU:   NXP i.MX93(52) Rev1.1 A55 at 1700 MHz
CPU:   Consumer temperature grade  (0C to 95C) at 42C
 
Model: NXP i.MX93 11X11 FRDM board
DRAM:  2 GiB
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x52]
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
Core:  225 devices, 32 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
 
[*]-Video Link 0fail to find output device
probe video device failed, ret -19
 
        [0] lcd-controller@4ae30000, video
fail to find output device
probe video device failed, ret -19
In:    serial
Out:   serial
Err:   serial
 
BuildInfo:
  - ELE firmware version 1.2.0-38f309fe
 
switch to partitions #0, OK
mmc0(part 0) is current device
UID: cef252bf978d45aba91a5624119d4b4e
flash target is MMC:0
Net:
Warning: ethernet@428a0000 (eth1) using random MAC address - 8e:0c:c5:c3:2e:bc
 
Warning: ethernet@42890000 (eth0) using random MAC address - 6a:b4:36:73:f0:1e
eth0: ethernet@42890000, eth1: ethernet@428a0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
Working FDT set to 83000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
47856 bytes read in 2 ms (22.8 MiB/s)
Unable to open OP-TEE session (err=-5)
mm_communicate failed!
Error: Cannot initialize UEFI sub-system, r = 3
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
47856 bytes read in 3 ms (15.2 MiB/s)
Error: Cannot initialize UEFI sub-system, r = 3
starting USB...
Bus usb@4c100000: tcpc_setup_ufp_mode: Polling ALERT register, TCPC_ALERT_CC_STATUS bit failed, ret = -62
Port not available.
Bus usb@4c200000: USB EHCI 1.00
scanning bus usb@4c200000 for devices... 5 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
 
Device 0: unknown device
Running BSP bootcmd ...
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to load 'boot.scr'
35568128 bytes read in 105 ms (323.1 MiB/s)
Booting from mmc ...
47856 bytes read in 2 ms (22.8 MiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
Working FDT set to 83000000
   Using Device Tree in place at 0000000083000000, end 000000008300eaef
Working FDT set to 83000000
fail to find output device
probe video device failed, ret -19
 
Starting kernel ...
 
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.6.36-lts-next-g34fd186d1571 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Wed Sep  4 08:22:45 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: NXP i.MX93 11X11 FRDM board
[    0.000000] efi: UEFI not found.
xxx
[  OK  ] Finished Record Runlevel Change in UTMP.
 
NXP i.MX Release Distro 6.6-scarthgap imx93frdm ttyLP0
 
imx93frdm login:
Re: iMX93 pre-built yoto img loading issue from SD card

Thank you. I managed to boot it up from sd card now. Is there any pre-built multimedia Yocto image for FRDM i.MX 93? I also managed to build the image using bitbake in ubuntu and boot successfully. Will proceed to explore more. Thanks again!

Re: iMX93 pre-built yoto img loading issue from SD card

Hi @KoThi 

i flash the imx-image-full-imx93frdm.rootfs.wic  file to the SD card with my i.mx93 frdm board. there is no any problem occurred in the startup period. the flash command as following:

uuu -b sd_all imx-image-full-imx93frdm.rootfs.wic

pengyong_zhang_0-1765161461772.png

B.R

Re: iMX93 pre-built yoto img loading issue from SD card

Hi @KoThi 

You can also get the multimedia pre-image in the DEMO Image about imx93 FRDM. 

It is imx-image-multimedia-imx93frdm-iwxxx-matter.rootfs.wic file

B.R

Tags (1)
No ratings
Version history
Last update:
‎12-10-2025 03:35 AM
Updated by: