i.MX 6QP SD Card Boot Problem

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX 6QP SD Card Boot Problem

437 Views
jpe1313
Contributor II

I am new to the NXP community and so I previously posted in the general community page. I am reposting here.

I have the SABRE board for smart devices  6QP.  I need to have the SDcard have the "core-image-base."

I used the Freescale Yocto Project User's Guide, Rev. L_3.14.38_6ul-ga, 09/2015 and successfully build the image and got all the files in ..MYNAME/tmp/deploy/images/imx6qsabresd.

I imaged the SD card as in Section 6.1:

THE DISK UTILITY SHOWS:   (Partition 2 has /bin /home, etc.)

161347_161347.pngpastedImage_1.png

 

But when I boot I get the following messages:

*****************************************************************************

 

U-Boot 2015.04-imx_v2015.04_3.14.38_6ul_ga+g5d63276 (Sep 05 2016 - 13:43:40)

 

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
CPU:   Temperature 26 C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment

 

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc1 is current device
Net:   FEC [PRIME]
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
Error reading cluster
** Unable to read file zImage **
Booting from net ...
FEC Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 192.168.0.110 (3325 ms)
Using FEC device
TFTP from server 0.0.0.0; our IP address is 192.168.0.110; sending through gateway 192.168.0.1
Filename 'zImage'.
Load address: 0x12000000
Loading: *
TFTP error: 'No such file or directory' (2)
Not retrying...
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.0.110 (628 ms)
Using FEC device
TFTP from server 0.0.0.0; our IP address is 192.168.0.110; sending through gateway 192.168.0.1
Filename 'imx6q-sabresd.dtb'.
Load address: 0x18000000
Loading: *
TFTP error: 'No such file or directory' (2)
Not retrying...
Bad Linux ARM zImage magic!
=>

*****************************************************************************

Can anyone help me out? 

THANKS IN ADVANCE

Labels (3)
0 Kudos
4 Replies

81 Views
martinolejar-b4
NXP Employee
NXP Employee

Hi Janet,

How you have created the SD card ?

The best way is "dd if=<path_to _generated_image> of=/dev/mmcblk* bs=4M" (* is 0, 1, 2, ...) or for windows exist Win32DiskImager tool.

Also you need chcek the setings of u-boot env with command "printenv" in u-boot shell if you have correct setings of boot arguments (SD card number)

Martin

0 Kudos

81 Views
jpe1313
Contributor II

Martin / Anyone,

Thanks.   I did create the SC card as described.   YES I BELIEVE THAT it is the u-boot arguments.  So, I am looking into that.  I have not used u-boot much at all. 

So, I am reading about it (getting interrupted a lot). 

I noticed that I was not using the latest Linux User's Guide for my board so I followed the instructions for REV. L4.1.15_1.0.0-ga, 03/2016 and got a new .sdcard image.   When I use that I see that is trying to boot it wants to boot from the NET.

Does anyone have the setting for the SD card for u-boot to boot locally?   I'll be looking in the Linux User's Guide, but any help would be appreciated.

0 Kudos

81 Views
b45499
NXP TechSupport
NXP TechSupport

Hi Janet,

Here you can use the mfgtool to download the images to SD card and then boot up from the SD card. About the mfgtool download you can refer to the section 4 Booting Linux OS in i.MX_Linux_User's_Guide.pdf.

Any questions you can contact me.
Have a great day,
Rita

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

81 Views
jpe1313
Contributor II

Rita,

So, my problem was a bad SD card.  I've been up and running.  Now the next step is to take what I have on the SD card and get it onto the EMMC chip so I can boot from there.  I've got the MCIMX6Q-SDB evaluation board (imx6qsabresd).  I've read what you suggested.  I am posting another question about Using the eMMC to get some clarification. "Using eMMC on MCIMX6Q-SDB  (i.MX SATBE boards)"

Thanks.

0 Kudos