IMX 7D can't get kernel image!

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

IMX 7D can't get kernel image!

478 Views
1844350626
Contributor I

Hello all, Now I meet "can't get kernel image!".

introduce as below:

Project background:
Under /work path, successfully operate as below:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml
DISTRO=fsl-imx-fb MACHINE=imx7dsabresd source imx-setup-release.sh -b fsl-imx-fb
cd fsl-imx-fb
bitbake core-image-base


Then step as below:
1, FDISK
Operate as below:
fdisk /dev/sdb
p
d
n
p
1
20480
1044479
t
L
c
p
n
p
2
1228800
<enter>
p
w
Information as below:
/dev/sdb1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/sdb2 1228800 31116287 29887488 14.3G 83 Linux

2, Burd UBOOT
under the /work/yocto/fsl-imx-fb/tmp/deploy/images/imx7dsabresd path,Operate as below:
dd if=u-boot-sd-optee-2020.04-r0.imx of=/dev/sdb bs=1k seek=1 conv=fsync

3, Burd IMAGE
Operate as below:
First under the /work/yocto/fsl-imx-fb/tmp/deploy/images/imx7dsabresd path
cp zImage--5.4-r0-imx7dsabresd-20201210051308.bin /mnt
cp imx7d-sdb-reva--5.4-r0-imx7dsabresd-20201210051308.dtb

Under the /mnt path
mov zImage--5.4-r0-imx7dsabresd-20201210051308.bin zImage
mov imx7d-sdb-reva--5.4-r0-imx7dsabresd-20201210051308.dtb imx7d-sdb.dtb

mkfs.vfat /dev/sdb1
mount /dev/sdb1 /mnt/mountpoint
cp zImage /mnt/mountpoint
cp imx7d-sdb.dtb /mnt/mountpoint
umount /mnt/mountpoint
sync

4, Terminal Info as below:
U-Boot 2020.04-5.4.47-2.2.0+gffc3fbe7e5 (Dec 02 2020 - 13:15:02 +0000)

CPU: i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 31C
Reset cause: POR
Model: i.MX7 SabreSD Board
Board: i.MX7D SABRESD RevA in secure mode
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (480 x 272)
[0] lcdif@30730000, video
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000 [PRIME]Get shared mii bus on ethernet@30bf0000

Warning: ethernet@30bf0000 using MAC address from ROM
, eth1: ethernet@30bf0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
9004184 bytes read in 399 ms (21.5 MiB/s)
Booting from mmc ...
48702 bytes read in 21 ms (2.2 MiB/s)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>

Best regards

0 Kudos
1 Reply

427 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you set right kernel command line in u-boot?

0 Kudos