L4.9.51-ga_images_mx8mq's u-boot image failed to boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

L4.9.51-ga_images_mx8mq's u-boot image failed to boot

1,472 次查看
SoniaLuo
Contributor I

Dear NXP team,

 

I downloaded L4.9.51-ga_images_mx8mq package from below link:

https://www.nxp.com/webapp/Download?colCode=L4.9.51_IMX8MQ_GA&appType=license&location=null&_gl=1*oo....

I tried to flash the fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard in the package to an SD card on a Linux PC by the command:

sudo umount /dev/sdb

sudo dd if=fsl-image-validation-imx-xwayland-optee-imx8mqevk.sdcard of=/dev/sdb bs=1M && sync

sudo eject /dev/sdb

After flashing, I found the SD card failed to boot the i.MX8MQ EVK. Nothing except a corrupted character was printed out in the debug UART.

 

Then I tried the u-boot images imx-boot-imx8mqevk-sd.bin-flash_evk of some different releases downloaded from NXP's official websites, by using below command to flash to the SD card:

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

The results were as below:

Linux 4.9.51_IMX8MQ_ga                               - Failed to boot, just printed a corrupted character.

L4.14.78_1.0.0_ga_images_MX8MQEVK       - Succeeded to run u-boot

Linux 5.15.52-2.1.0                                           - Succeeded to run u-boot

Then I realized something wrong with the Linux 4.9.51's u-boot image of that release. See the attachment of the file.

 

BTW: I used to build a Yocto project of imx-linux by using the below command as to get the 4.9.51's code:

repo init -u https://github.com/nxp-imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8mq_ga.xml

After the bitbake successfully ran and the building was finished, I found the output image files: 

fsl-image-validation-imx-imx8mqevk.rootfs.sdcard, and

imx-boot-imx8mqevk-sd.bin-flash_evk

had the same problem as the downloaded release images of Linux 4.9.51_IMX8MQ_ga: unable to boot into u-boot, just printed a corrupted character.

 

 

0 项奖励
回复
3 回复数

1,430 次查看
SoniaLuo
Contributor I

Hi Harvey,

Thank you for the good analysis! Can this issue be solved?

Best Regards,

Sonia

 

0 项奖励
回复

1,381 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

To use newer BSP is better choice.

 

Best regards

Harvey

 

0 项奖励
回复

1,446 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @SoniaLuo 

In principle, the old BSP version is to support the earliest version of i.MX8MQ-EVK, but the new version of EVK will have problems. It should be caused by this reason.

 

Best regards

Harvey

0 项奖励
回复