IMX8M nano evk Linux BSP prebuilt boot from SD

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

IMX8M nano evk Linux BSP prebuilt boot from SD

Jump to solution
1,162 Views
ncovallero
Contributor II

Hi all,

I have a IMX 8M Nano EVK board and I am trying to flash in the SD the latest LB downloaded from https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

I am following chapter "4.3.2Copying the full SD card image" of Linux User's Guide.

So I plug my SD in the SD Reader and then launching the command:

sudo dd if=imx-image-full-imx8mnevk.wic of=/dev/sdb bs=1M && sync

Then I plugged it to the EVK board, setting properly the switches in manner to boot from the SD but nothing happens at power on. I know that it can boot from the SD correctly because we have another SD with Ubuntu Bionic that can correctly boot (I see the video output via HDMI) provided by an ex-employee. I need to make this work at least with the prebuilt Linux versions NXP provides.

Is there something I am missing?

Thanks in advance

UPDATE:
I also tried the solution mention in the question https://community.nxp.com/t5/i-MX-Processors/Understanding-imx8mqevk-and-booting-linux-from-sdcard/m...

So I did the following operations:


sudo dd if=imx-image-full-imx8mnevk.wic of=/dev/sdb bs=1M && sync

sudo dd if=fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot of=/dev/sdb bs=1k seek=32 conv=fsync

But it still does not boot.

 

0 Kudos
1 Solution
1,108 Views
ncovallero
Contributor II

Hi, I finally found the solution. I finally was able to see the debug info through the serial port and I found the error "Can't find PMIC", after googling a bit I found that there exists two versions of the IMX8 Nano evaluation board. I have the 8MNANOD4-EVK which is not supported by the latest prebuilt linux binaries, so I downloaded a previous version and it did work.

View solution in original post

0 Kudos
3 Replies
1,109 Views
ncovallero
Contributor II

Hi, I finally found the solution. I finally was able to see the debug info through the serial port and I found the error "Can't find PMIC", after googling a bit I found that there exists two versions of the IMX8 Nano evaluation board. I have the 8MNANOD4-EVK which is not supported by the latest prebuilt linux binaries, so I downloaded a previous version and it did work.

0 Kudos
1,139 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi ncovallero,

 

Well, it could be that the board is getting stuck before anything boot, you could try to see activity on the debug port, you can follow the instructions from the web page, link below. Also one can try to program the sd with the mfgtool on serial mode, the instructions can be found on the Linux users guide that comes with the BSP, also link below.

https://www.nxp.com/document/guide/getting-started-with-the-i-mx-8m-nano-evk-board:GS-8MNANOLPD4-EVK

https://www.nxp.com/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf

 

Regards,

Israel.

 

1,134 Views
ncovallero
Contributor II

Thank you very much. I was able to debug and see in the log an error reported in this post. It turns auto that I have a 8MNANOD4-EVK thus I have downloaded the LF_v5.4.3 BSP and it worked.

0 Kudos