Flashing *.sdcard image to SD card make the i.MX 8MQuad Evaluation Kit boot.

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

Flashing *.sdcard image to SD card make the i.MX 8MQuad Evaluation Kit boot.

1,081 Views
SoniaLuo
Contributor I

Using the prebuilt images from NXP's website in below link and flashing *.sdcard and the boot image in it to a SD card using below commands.

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_MX8MQ&appType=license

sudo dd if=fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard of=/dev/mmcblk0 bs=1M && sync
sudo dd if=imx-boot-imx8mqevk-sd.bin-flash_evk of=/dev/mmcblk0 bs=1k seek=33 conv=fsync

The board failed to boot and didn't print out anything to the debug serial port. Using the first command only got the same result. Is there anything wrong of my commands?

I tried flashing a *.wic image of L5.15.x, it worked well. But our customer requires us to test on Kernel version 4.9.x, whose image folder doesn't contain a *.wic file.

 

I asked ChatGPT and it asked me to contact your support team. So, how to solve it?

 

0 Kudos
5 Replies

1,033 Views
SoniaLuo
Contributor I

Hi Sanket,

Sanket, thank you for your effort, but it really doesn't solve my issue. If you read my question carefully, you'll find I have no problem of flashing a *.wic image to the SD card and boot the EVK. But my problem is I have to use kernel version 4.9.x and the image package downloaded from NXP's website doesn't contain a *.wic file, instead it has *.sdcard. I failed to boot the EVK by flashing *.sdcard image. I think a helpful support should contain either of below points.

1. Provide a *.wic image for kernel 4.9.x.

2. Provide how to flash the *.sdcard properly to make it booting rather than the method of flashing *.wic.

3. Alternative ways to flash the SD card, maybe by multiple times of different files.

4. Provide a way to compile *.wic file on Kernel 4.9.x

 

 

 

0 Kudos

1,019 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @SoniaLuo ,

I hope you are doing well.

Please refer to this section 6.1 Flashing an SD card image
An SD card image provides the full system to boot with U-Boot and kernel. To flash an SD card image, run the following command:
$ bunzip <image_name>.sdcard.bz2
$ sudo dd if=<image name>.sdcard of=/dev/sd<partition> bs=1M conv=fsync

->For more information on flashing, see Section "Preparing an SD/MMC Card to Boot" in the i.MX Linux® User's Guide (IMXLUG).

For building an image and deploying in another interface please refer to this link.
https://www.nxp.com/webapp/Download?colCode=L4.9.51_8MQ_GA_LINUX_DOCS

Thanks & Regards,

Sanket Parekh

0 Kudos

1,048 Views
SoniaLuo
Contributor I

Do the below document links answer my questions? I can't find applicable information specific to my questions.

0 Kudos

1,058 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @SoniaLuo ,

I hope you are doing well.

->Please make sure to flash the Linux bsp images into the sd card please follow the below link, section 4.3 Preparing an SD/MMC card to boot
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

->To boot up the board please follow the below link, section 4.5 How to boot the i.MX boards
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

Thanks & Regards,

Sanket Parekh

0 Kudos

1,037 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

hello @SoniaLuo ,

I hope you are doing well.

->Yes, this document has your answers.

->Section 4,3 explains how to prepare the sd card to boot which means, how one can copy the image into the sd card, so one can compare the command with the one given in the document.
->Section 4.5 explains how to boot the iMX board. just after one flashes the image into the sd card now one has to change the boot switch mode according to the evk one is using that information is given in this section so that one can check the pin setting to boot before boot-up the board.

->Please kindly refer to this document.
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf?_gl=1*1669in6*_ga*OTAzNDAxMzYxLjE2O.....

Thanks & Regards,

Sanket Parekh

0 Kudos