imx8mp uboot 启动失败

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

imx8mp uboot 启动失败

168 Views
864535720
Contributor II

你好:

我使用的是官网的imx8mp-evk开发板。我在移植官网2022.04版本uboot的时候。出现了uboot启动失败的问题,错误日志如下:

U-Boot SPL 2022.04 (Sep 05 2024 - 21:05:39 +0800)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x0, pagesize 0x200, ivt offset 0x0
Can't support legacy image
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

 

我的操作如下:

1、编译uboot

2、制作flash.bin

3、通过uuu.exe烧录固件(烧录过程没有问题。flash.bin能正常启动)

4、烧录到eMMC的时候我发现flash.bin被烧录到/dev/mmcblk2的32K起始地址

5、烧录完成后,我将BOOT MODE设置为0010。然后启动的时候,我发现板子加载的是/dev/mmcblk2boot0分区里面的flash.bin

6、我将我的flash.bin烧录到/dev/mmcblk2boot0分区里面。然后重启板子,就提示如上错误日志。

请问为什么我的flash.bin在使用uuu.exe烧录固件的时候可以正常启动。但是从/dev/mmcblk2boot0里面加载出来,就无法正常启动?

我将我的flash.bin添加到了附件。麻烦帮忙解答一下。非常感谢。

 

 

 

 

 

 

0 Kudos
Reply
2 Replies

138 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

If you are using our EVK please make sure that you are following the steps in our i.MX Linux User's Guide in section 4.5.13 "How to build imx-boot image by using imx-mkimage" and the type of DDR memory you are using.

In our side is working as expected.

Best regards.

0 Kudos
Reply

163 Views
864535720
Contributor II

补充说明:后续我将LF_v6.1.36-2.1.0_images_IMX8MPEVK.zip里面的imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk文件,使用同样的方式烧录到/dev/mmcblk2boot0分区里面,板子又能正常启动。说明我的烧录方式没有问题。

0 Kudos
Reply