Error with SD Card Image on i.MX6QP

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

Error with SD Card Image on i.MX6QP

Jump to solution
1,383 Views
muhammedk97
Contributor II

Hi All,

I am new with the NXP and i.MX boards.

I have a MCIMX6Q-SDB board and I am trying to learn according to L5.10.52_2.1.0_LINUX_DOCS.

I bought an another SD Card, and trying to load SD Card Image to it. What I am doing is listed below, step by step:

  1. I extracted the "imx-image-full-imx6qpdlsolox.wic" file from LF_v5.10.52-2.1.0_images_IMX6QPDLSOLOX.zip
  2. I use terminal to load the .wic file to the sd card with the command that sudo dd if=imx-image-full-imx6qpdlsolox.wic of=/dev/mmcblk0 bs=1M && sync (mmcblk0 is the sdcard)
  3. After I receive the message "4832+1 records in 4832+1 records out 5066931200 bytes (5,1 GB, 4,7 GiB) copied, 350,891 s, 14,4 MB/s" from terminal, I insert the SDCard to the board and make the SW6 switch: 01000010 according to section that Booting from an SD card in slot SD3 on i.MX 6 SABRE-SD from L5.10.52_2.1.0_LINUX_DOCS.
  4. When I power on the board I receive the errors below:

U-Boot 2021.04-lf_v2021.04+g1c0116f3da (Sep 06 2021 - 08:48:23 +0000)

CPU: i.MX6QP rev1.0 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 33C
Reset cause: POR
Model: i.MX6 Quad SABRE Smart Device Board
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
Loading Environment from MMC... *** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated

switch to partitions #0, OK
mmc2 is current device
Failed to load 'boot.scr'
Failed to load 'boot/boot.scr'
8626160 bytes read in 407 ms (20.2 MiB/s)
Booting from mmc ...
54876 bytes read in 7 ms (7.5 MiB/s)
Failed to load 'uTee-6qpsdb'
Failed to load 'boot/uTee-6qpsdb'
Wrong Image Format for bootm command
ERROR: can't get kernel image!

According to the document SDCard image (.wic file) supposed to have U-Boot, the Linux image and device trees, and the rootfs. But the rror says "can't get kernel image"

If you have any idea about what I am doing wrong. Please help me.

Regards,

 

 

Labels (2)
0 Kudos
1 Solution
6 Replies
1,306 Views
muhammedk97
Contributor II
0 Kudos
1,359 Views
muhammedk97
Contributor II

I believe you need the uboot environment in the board. I am not sure how can I send the command. I don't receive any terminal in board and I cannot send any command via serial cable.

Please, advise.

Regards,

0 Kudos
1,354 Views
joanxie
NXP TechSupport
NXP TechSupport

I tested on my board by uuu tools successfully, maybe you can try it, my command
uuu.exe -b sd_all u-boot-imx6qpsabresd_sd.imx imx-image-multimedia-imx6qpdlsolox.wic

 

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
switch to partitions #0, OK
mmc2 is current device
flash target is MMC:2
Net: eth0: ethernet@2188000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc2 is current device
Failed to load 'boot.scr'
Failed to load 'boot/boot.scr'
8626160 bytes read in 408 ms (20.2 MiB/s)
Booting from mmc ...
54876 bytes read in 7 ms (7.5 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x839ff0 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1801065b
switch to ldo_bypass mode!

Starting kernel ...

0 Kudos
1,348 Views
muhammedk97
Contributor II

Dear Joanxie,

Thank you for your replay.

I plugged my sdcard to my pc and tried your command but it says "Wait for Known USB Device Appear...".

Can you tell me what should I do? How should I do run the command? Should I select the SDCard somehow? I guess what I am doing is a ridiculous mistake but I am in a very early stage. If you can help, I would be really appreciated.

Regards,

0 Kudos
1,339 Views
joanxie
NXP TechSupport
NXP TechSupport

no, don't insert the sdcard to the PC, to the board instead, then download the images to the board directly

0 Kudos
1,366 Views
joanxie
NXP TechSupport
NXP TechSupport

pls give me the uboot environment with command "printenv"

0 Kudos