Can not enter system ready test for i.MX8M Mini EVK Board

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

Can not enter system ready test for i.MX8M Mini EVK Board

1,253 Views
hankwang
Contributor V

Hey, I want to test system ready on 8M Mini EVK board. I referred to Chapter 4.8 SystemReady-IR in the i.MX Linux User Guide.

First, I downloaded ir_acs_live_image.img from the systemready git website. And flash the image to the EVK board.

Second, I flashed imx-boot-imx8mm-lpddr4-evk-sd.bin-flash_evk to the SD card.

Finally, I inserted the SD card into the EVK board and booted it up.

The information displayed is as follows:

systemready.jpg

Why can not I enter system ready test?

 

0 Kudos
Reply
9 Replies

1,220 Views
hankwang
Contributor V

Hey, I change the startup method.

I flashed the 8MM EVK BSP to the 8MM EVK board and the device was able to enter the yocto file system.

I flashed the ir_acs_live_image.img file to the USB device. After that, the USB will have two partitions
:BOOT and RESULT.

Then plug the USB device into the 8MM EVK board.​

The 8MM EVK board boots up and the bootloader has found the EFI removable media binary file efi/boot/bootaa64.efi.

But the 8MM evk board still goes into the yocto file system and nothing happens.

Then 8MM evk board enter bootlader, I enter "setenv mmcdec 1" then enter "run bootcmd".

 Below is my console message:

-boot=> setenv mmcdev 1
u-boot=> run bootcmd
Working FDT set to 43000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
starting USB...
Bus usb@32e40000: USB EHCI 1.00
scanning bus usb@32e40000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: USB Rev: 1.00 Prod: SanDisk 3.2Gen1
Type: Removable Hard Disk
Capacity: 58680.0 MB = 57.3 GB (120176640 x 512)
... is now current device
Scanning usb 0:1...
48263 bytes read in 2 ms (23 MiB/s)
MMC: no card present
Unable to open OP-TEE session (err=-5)
mm_communicate failed!
Error: Cannot initialize UEFI sub-system, r = 3
Found EFI removable media binary efi/boot/bootaa64.efi
647168 bytes read in 18 ms (34.3 MiB/s)
Error: Cannot initialize UEFI sub-system, r = 3
EFI LOAD FAILED: continuing...
MMC: no card present
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
48263 bytes read in 9 ms (5.1 MiB/s)
Error: Cannot initialize UEFI sub-system, r = 3
Running BSP bootcmd ...
MMC: no card present
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:1
Can't set block device
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:1
Can't set block device
Booting from net ...
ethernet@30be0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Could not initialize PHY ethernet@30be0000
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

 

0 Kudos
Reply

1,235 Views
hankwang
Contributor V

Hey, when I flash ir_acs_live_mage.img to SD card. The SD card has two partitions. One is BOOT partition. Others is RESULT partition.

Then I flash imx-boot-imx8mmevk-sd.bin-flash_evk to the SD card and the BOOT partition will become an unknown partition.

The instructions are as follows:

1. sudo dd if=ir_acs_live_image.img of=/dev/sde bs=64M;sync

2.sudo dd if= imx-boot-imx8mmevk-sd.bin-flash_evk of=/dev/sde seek=33 bs=1k conv=fsync

 

0 Kudos
Reply

1,249 Views
hankwang
Contributor V

I have another question. Why does 4.8.3 have Fedora34 and openSUSE Linux distributions installed?

As far as I know, the i.MX operating system is yocto and not Fedora34 and openSUSE.

0 Kudos
Reply

1,195 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

We not working with Fedora neither with open SUSE, we just have yocto and android if you want linux, also make your UEFI works it apparently bad.

Regards

0 Kudos
Reply

1,145 Views
hankwang
Contributor V

Hey, because I saw in the Linux User Manual Chapter 4.8.3 Linux Distribution Installation that fedora and opensuse need to be install to eMMC.

So how do I install it?

 

hankwang_0-1736299653046.pnghankwang_1-1736299668041.png

 

0 Kudos
Reply

1,126 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

Yes, that it's for complete installation of the BSP and has to be like it said. However NXP don't support Fedura or SUSE.

Regards

0 Kudos
Reply

1,107 Views
hankwang
Contributor V

Hey, I followed the instructions to install Ferora. But nothing happened.

Here are my steps below. My EVK is an 8M Mini.

Step 1: Download the IR certificate bootloader. And use an SD card with a boot to yocto file system. Then use the command to flash the bootloader to eMMC.

echo 0 > /sys/block/mmcblk2boot0/force_ro

sudo dd if=imx-boot-imx8mmevk-sd.bin-flash_evk of=/dev/mmcblk2 bs=1k seek=33 conv=fsync

echo 1 > /sys/block/mmcblk2boot0/force_ro

hankwang_0-1736384611525.png

step 2: Download Fedora IoT 41 Image and Burned image to sdcard using rufus tool in windows.

hankwang_1-1736384805538.png

 

Step 3: Insert the SD card into the 8M Mini EVK board and boot from eMMC.

Step 4: But nothing happens, eMMC still goes to yocto file system.

Attached is a log file.

 

Do you know what I did wrong?

 

 

 

 

 

 

0 Kudos
Reply

1,095 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

It is running, per your log:

NXP i.MX Release Distro 6.6-scarthgap imx8mmevk ttymxc1

imx8mmevk login:

 

Regards

0 Kudos
Reply

1,083 Views
hankwang
Contributor V

But how to install fedora and opensuse, the document does not describe.

0 Kudos
Reply