ZYNA启动过程中报错 ERROR: can‘t get kernel image!问题解决记录

在zynq的板子中,使用sd卡启动,报错未找到内核镜像,启动日志如下:

U-Boot 2019.01 (Oct 31 2023 - 01:44:48 -0700)

CPU:   Zynq 7z020
Silicon: v3.1
Model: Zynq MZ7X Development Board
DRAM:  ECC disabled 1 GiB
MMC:   mmc@e0100000: 0, mmc@e0101000: 1
Loading Environment from SPI Flash... SF: unrecognized JEDEC id bytes: 20, ba, 18
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Net:   ZYNQ GEM: e000b000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0 
SDCARD Boot Mode
[INFO] Scanning mmc 0...
switch to partitions #0, OK
mmc0 is current device
** Unable to read file uEnv.txt **
[INFO] Trying to boot from mmc 0
Error reading cluster
** Unable to read file uImage **
** Unable to read file uramdisk.image.gz **
console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
## Booting kernel from Legacy Image at 02080000 ...
   Image Name:   Linux-4.19.0-xilinx
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4262512 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Zynq> 

分析原因如下,没有读取到相应的文件:

导致校验错误

最终造成内核镜像没有找到;

解决方法:

        重新制作启动卡或者重新拷贝内核镜像等文件。

修改后的启动:

启动内核后面的日志将不再展示

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值