linux 内核 解压出错,imx258 内核解压失败(已解决)

在基于Freescale i.MX25平台的产品设计中,用户遇到一个问题:uboot能够正常启动,但内核解压过程中出现CRC校验错误,导致解压失败。日志显示NAND Flash为K9F1G08U0A-JIB0,DDR2为K4T51163QC-ZCD5。在尝试读取NAND Flash的坏块表时也发现了坏块。系统警告CRC错误,最终无法启动Linux内核,系统停止运行。
摘要由CSDN通过智能技术生成

本帖最后由 FSL_TICS_A 于 2014-8-7 15:53 编辑

客户用imx25设计产品,目前板子能成功下载,并且uboot能起来,但在kenerl 解压失败, CRC 较验出错了。能帮忙分析该问题的方向么?客户用的Nand flash是K9F1G08U0A-JIB0, DDR2是K4T51163QC-ZCD5。以下是客户样机的log信息。

U-Boot 2009.08 ( 7月 04 2014 - 09:14:34)

U-Boot code: 83F00560 -> 83F30F50  BSS: -> 83F66AE0

CPU:   Freescale i.MX25 at 398 MHz

mx25 cpu clock: 398MHz

ipg clock     : 66498560Hz

Board: i.MX25 MAX PDK (3DS)

I2C:   ready

RAM Configuration:

Bank #0: 80000000 64 MB

NAND:  Manufacturer      : Samsung (0xec)

Device Code       : 0xf1

Cell Technology   : SLC

Chip Size         : 128 MiB

Pages per Block   : 64

Page Geometry     : 2048+64

ECC Strength      : 4 bits

ECC Size          : 512 B

Data Setup Time   : 35 ns

Data Hold Time    : 25 ns

Address Setup Time: 0 ns

GPMI Sample Delay : 6 ns

tREA              : Unknown

tRLOH             : Unknown

tRHOH             : Unknown

Description       : K9F1F08

Bad block table found at page 65472, version 0x01

Bad block table found at page 65408, version 0x01

nand_read_bbt: Bad block at 0x01ca0000

nand_read_bbt: Bad block at 0x06360000

128 MiB

MMC:   FSL_ESDHC: 0

*** Warning - bad CRC or NAND, using default environment

In:    serial

Out:   serial

Err:   serial

i2c_addr:chip address cycle fail(a1)

div = 4

reg_ctrl = 0x2

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

Net:   ctrl_reg=0x2d00003

control reg = 0x02d00007

ctrl_reg=0x2d00003

control reg = 0x02d00007

FEC0

### main_loop entered: bootdelay=3

### main_loop: bootcmd="run bootcmd_nand"

Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x300000, size 0x200000

2097152 bytes read: OK

*  kernel: default image load address = 0x80800000

## Booting kernel from Legacy Image at 80800000 ...

Image Name:   Linux-2.6.31-203-gee1fdae

Image Type:   ARM Linux Kernel Image (uncompressed)

Data Size:    2021912 Bytes =  1.9 MB

Load Address: 80008000

Entry Point:  80008000

Verifying Checksum ... OK

kernel data at 0x80800040, len = 0x001eda18 (2021912)

## No init Ramdisk

ramdisk start = 0x00000000, ramdisk end = 0x00000000

Loading Kernel Image ... OK

OK

kernel loaded at 0x80008000, end = 0x801f5a18

## Transferring control to Linux (at address 80008000) ...

Starting kernel ...

Uncompressing Linux......................................................................................................................................

crc error

-- System halted

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值