<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman" size=2>Hi all,</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2>My platform is
OMAP5912osk. </FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>The setps I create the bzip2 kernel
image are :</FONT></DIV>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>arm-linux-objcopy -O binary -R .note -R
.comment -S arch/arm/boot/compressed/vmlinux
linux.bin<BR>bzip2 linux.bin</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>mkimage -A arm -O linux -T kernel -C
bzip2 -a 0x10c08000 -e 0x10c08000 -n "2.6.15 " -d linux.bin.bz2
uImage</FONT></DIV>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>Then I put kernel image at
0x10000000.</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2>According to the README of u-boot 1.1.3
:</FONT></DIV>
<DIV><FONT face="Times New Roman"
size=2>----------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>- Compression
support:<BR> CONFIG_BZIP2</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2> If this option is set,
support for bzip2 compressed<BR> images is included. If not, only
uncompressed and gzip<BR> compressed images are
supported.</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2> NOTE: the bzip2 algorithm
requires a lot of RAM, so<BR> the malloc area (as defined by
CFG_MALLOC_LEN) should<BR> be at least 4MB.</FONT></DIV>
<DIV>
<DIV><FONT face="Times New Roman"
size=2>----------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face="Times New Roman"><FONT size=2>In
/u-boot-1.1.3/include/configs/omap5912osk.h, i</FONT><FONT size=2>f I use the
original config : </FONT></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define
CFG_MALLOC_LEN (CFG_ENV_SIZE +
128*1024)</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define
CONFIG_BZIP2
1</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2>The result when u-boot decompress the
image is :</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>## Booting image at 10000000
...<BR> Image Name: 2.6.15 <BR> Image
Type: ARM Linux Kernel Image (bzip2 compressed)<BR> Data
Size: 1159790 Bytes = 1.1 MB<BR> Load
Address: 10c08000<BR> Entry Point: 10c08000<BR>
Verifying Checksum ... OK<BR> Uncompressing Kernel Image ... BUNZIP2
ERROR -3 - must RESET board to recover</FONT></DIV><FONT size=2>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>But I change the setting according to
README :</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT face="Times New Roman" size=2>#define
CFG_MALLOC_LEN (CFG_ENV_SIZE +
4224*1024)</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define
CONFIG_BZIP2
1</FONT></DIV></DIV>
<DIV><BR>
<DIV><FONT face="Times New Roman" size=2>The result when u-boot decompress the
image is still fail:</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>## Booting image at 10000000
...<BR> Image Name: 2.6.15 <BR> Image
Type: ARM Linux Kernel Image (bzip2 compressed)<BR> Data
Size: 1159790 Bytes = 1.1 MB<BR> Load
Address: 10c08000<BR> Entry Point: 10c08000<BR>
Verifying Checksum ... OK<BR> Uncompressing Kernel Image ... data
abort<BR>pc :
[<1108d098>] lr :
[<0008da5c>]<BR>sp : 10c3f9c8 ip : 0000009d
fp : 000000a3<BR>r10: e38771e7 r9 : 10c3f9cd r8 :
10c3ffdc<BR>r7 : 003c8633 r6 : 0000009d r5 :
00037981 r4 : 00000001<BR>r3 : e0b41de7 r2 :
10c6fca3 r1 : 000dbb8e r0 : 10c601a8<BR>Flags:
Nzcv IRQs off FIQs off Mode SVC_32<BR>Resetting CPU
...</FONT></DIV><FONT size=2>
<DIV><FONT face="Times New Roman"
size=2>************************************************************</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Any one has any suggestion on how to solve
this ?</FONT></DIV>
<DIV><FONT face="Times New Roman">Anything wrong in my modification
???</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Thanks for your patience~</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Best Regards,</FONT></DIV>
<DIV><FONT
face="Times New Roman">Clare</FONT></DIV></FONT></DIV></FONT></BODY></HTML>