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:
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,
Solved! Go to Solution.
I solved the problem with this:
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,
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 ...
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,
no, don't insert the sdcard to the PC, to the board instead, then download the images to the board directly
pls give me the uboot environment with command "printenv"