[#5714] latest u-boot fail to load lzma compressed kernel

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#5714] latest u-boot fail to load lzma compressed kernel

Submitted By: Peter Meerwald

Open Date

2009-11-22 17:59:40     Close Date

2009-11-28 07:44:19

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

N/A

Found In Release:

snaps     Status:

Closed

Board:

N/A     Processor:

BF536

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

yes     

Summary: latest u-boot fail to load lzma compressed kernel

Details:

 

U-Boot 2009.08-dirty (ADI-2009R2-pre) (Nov 22 2009 - 21:53:09)

...

bfin> tftp vmImage

Using Blackfin EMAC device

TFTP from server 172.20.9.1; our IP address is 172.20.9.66

Filename 'vmImage'.

Load address: 0x800000

Loading: ######################################################

done

Bytes transferred = 782604 (bf10c hex)

bfin> bootm

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

   Image Name:   bf537-2.6.31.6-ADI-2010R1-pre-g0

   Image Type:   Blackfin Linux Kernel Image (lzma compressed)

   Data Size:    782540 Bytes = 764.2 kB

   Load Address: 00001000

   Entry Point:  001c490c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover�

 

Follow-ups

 

--- Mike Frysinger                                           2009-11-27 14:05:50

fixed in the kernel build system by making sure the header has filesize filled

in

 

--- Peter Meerwald                                           2009-11-28 07:33:13

confirmed working, thanks

 

--- Steve Weeks                                              2010-03-25 14:17:30

I'm getting this problem with SVN version 9530.  Is this a regression or am I

doing something wrong?

 

bfin> tftp 0x1000 uImage

Using Blackfin EMAC device

TFTP from server 128.33.81.75; our IP address is 128.33.81.136

Filename 'uImage'.

Load address: 0x1000

Loading: #################################################################

     ###################################################

done

Bytes transferred = 1689680 (19c850 hex)

bfin> bootm 0x1000

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

   Image Name:   bf527-2.6.33.1-ADI-2010R1-pre-g0

   Created:      2010-03-25  18:04:26 UTC

   Image Type:   Blackfin Linux Kernel Image (lzma compressed)

   Data Size:    1689616 Bytes =  1.6 MB

   Load Address: 00001000

   Entry Point:  001c25a4

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must

RESET board to recover

 

U-Boot 2009.06-svn1987 (ADI-2009R2-pre) (Aug 17 2009 - 17:46:58)

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: Bluetechnix CM-BF527 board

       Support: http://www.bluetechnix.at/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   32 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   8a:6d:42:12:0e:7c

Hit any key to stop autoboot:  0

 

--- Mike Frysinger                                           2010-03-25 14:24:51

use latest trunk u-boot.  i'm not reviewing anything else.

 

--- Steve Weeks                                              2010-03-25 18:30:58

That took care of the problem.  uclinux boots fine now.  Thanks.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes