Booting Linux i.MX8M Quad EVK

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

Booting Linux i.MX8M Quad EVK

Jump to solution
2,057 Views
neo2
Contributor III

Hi,

I'm trying to work out for the first time how to get the device boot from an SD card using a Linux image.

This command I can see will load an image on the SD card.

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

Then I can insert the SD card in the eval board and change the switches to 1100.

I can't figure out if there are other steps needed like load something else on the SD card? My first impression is the .wic file has all the images needed.

Regards

 

 

0 Kudos
1 Solution
2,016 Views
neo2
Contributor III

Good news
@nxf63675 @josephzhou1 

I got it booting. The main issue is that I was "dd"-ing to the wrong part of my SD card

I noticed /dev/sdd and /dev/sdd1 were mounted at the same time.

Note - may be irrelevant - I did also follow the instructions 4.3.3 Partitioning the SD/MMC card - using the sudo fdisk /dev/sdd and deleted the partitions and create new ones and then the card was appearing as /dev/mmcblk0 ...



[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Finished Update UTMP about System Runlevel Changes.

NXP i.MX Release Distro 5.10-hardknott imx8mqevk ttymxc0

imx8mqevk login:

View solution in original post

0 Kudos
6 Replies
2,017 Views
neo2
Contributor III

Good news
@nxf63675 @josephzhou1 

I got it booting. The main issue is that I was "dd"-ing to the wrong part of my SD card

I noticed /dev/sdd and /dev/sdd1 were mounted at the same time.

Note - may be irrelevant - I did also follow the instructions 4.3.3 Partitioning the SD/MMC card - using the sudo fdisk /dev/sdd and deleted the partitions and create new ones and then the card was appearing as /dev/mmcblk0 ...



[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Finished Update UTMP about System Runlevel Changes.

NXP i.MX Release Distro 5.10-hardknott imx8mqevk ttymxc0

imx8mqevk login:

0 Kudos
2,035 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi @neo2,

 

Did you have problems booting the device? If that is the case and you have problems by flashing the SD, you can use the prebuilt images and flash to the SD using UUU, more info is on the UUU pdf attached.

 

And to find the proper configuration of the switches you can refer to the i.MX 8MDQLQ EVK Board Hardware User's Guide

 

Link of the prebuilt images: i.MX Software and Development Tools | NXP 

 

Regards,

Israel.

0 Kudos
2,019 Views
neo2
Contributor III

Hi @nxf63675  

I still have issues, UUU doesn't seem to work.

For downloading the .wic file I have found only "dd" works - I have the SD card connected to my laptop.

If I attempt to use UUU it complains about waiting for a known USB device.

When using the UUU do I actually have the SD card in the i.MX8 or I do I have the SD card directly connected to my PC?

0 Kudos
2,048 Views
josephzhou1
Contributor V

yah , what is your question here?

 

2

if you done above , for 4 G space only "floppy" type card can finally boot up your board, should be no problem 

if go into the linux 

please login in as root password no have 

if lucky enough you can try ls command or

may be it has hello command inside

that is all

3

for your board imx8mqevk  should set SW802 as 10

SW801  1100

you will not be lost just simply fellow the guides they have already printed on the board nearby the switches 80x

for my use imx8 qxp MEK si b0 the settings are differences show as below:

the only thing i can remind you is the switchers setting , see picture, it should be 0011 not  1100. fellow the official D3/D2/D1/D0 pattern .

 

thanks .

 

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
1,968 Views
neo2
Contributor III

Thanks for the info about the switches - it makes it clearer because the documentation in one place says 1100 and another 0011 but I can see from the diagram actually what they mean. Since they have not given the pin numbering in a order you would expect.

0 Kudos
2,021 Views
neo2
Contributor III

Hi @josephzhou1 thanks for the info about the SW801.

I'm still trying it get it show something

I've downloaded 
L5.10.72_2.2.0_MX8MQ

L5.10.72_2.2.0_MX8MQ (nxp.com)

0 Kudos