2009-08-26 05:20:54     who can boot a kernel compressed by bzip2 or lzma?

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

2009-08-26 05:20:54     who can boot a kernel compressed by bzip2 or lzma?

Zhi Qiang Zhang (CHINA)

Message: 79227   

 

who can boot a kernel compressed by bzip2 or lzma?

QuoteReplyEditDelete

 

 

2009-08-26 14:40:03     Re: who can boot a kernel compressed by bzip2 or lzma?

Mike Frysinger (UNITED STATES)

Message: 79237   

 

lzma worked just fine for me

QuoteReplyEditDelete

 

 

2009-08-26 19:31:00     Re: who can boot a kernel compressed by bzip2 or lzma?

Zhi Qiang Zhang (CHINA)

Message: 79251   

 

how can you do that? I am using the most updated version from SVN for both u-boot and uclinux, which version are you using?

QuoteReplyEditDelete

 

 

2009-08-26 20:29:02     Re: who can boot a kernel compressed by bzip2 or lzma?

Mike Frysinger (UNITED STATES)

Message: 79253   

 

enable lzma in u-boot and build a lzma kernel using `make vmImage.lzma` like normal

QuoteReplyEditDelete

 

 

2009-08-27 10:03:18     Re: who can boot a kernel compressed by bzip2 or lzma?

Zhi Qiang Zhang (CHINA)

Message: 79303   

 

can you build a bfin-537 stamp u-boot for me? It seems there is a problem in my u-boot, I got this message,

 

Load address: 0x1000000

 

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

 

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

 

         #########

 

done

 

Bytes transferred = 2035664 (1f0fd0 hex)

 

bfin> bootm

 

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

 

   Image Name:   bf537-2.6.30.5-ADI-2010R1-pre-sv

 

   Created:      2009-08-27  14:01:25 UTC

 

   Image Type:   Blackfin Linux Kernel Image (lzma compressed)

 

   Data Size:    2035600 Bytes =  1.9 MB

 

   Load Address: 00001000

 

   Entry Point:  00243844

 

   Verifying Checksum ... OK

 

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

 

(reset again)

 

U-Boot 2009.06-svn1996 (ADI-2009R2-pre) (Aug 22 2009 - 22:36:10)

QuoteReplyEditDelete

 

 

2009-08-27 16:06:06     Re: who can boot a kernel compressed by bzip2 or lzma?

Mike Frysinger (UNITED STATES)

Message: 79319   

 

like i said before, you probably need to increase the size of your malloc region.  bzip2/lzma are not memory-light algorithms.

QuoteReplyEditDelete

 

 

2009-09-07 11:28:05     Re: who can boot a kernel compressed by bzip2 or lzma?

Zhi Qiang Zhang (CHINA)

Message: 79652   

 

I increase the malloc region by

 

#define CONFIG_SYS_MONITOR_LEN  (256 * 1024)

#define CONFIG_SYS_MALLOC_LEN   (4096 * 1024)

 

is that OK? But I still got the same problem.

Attachments

    Outcomes