<!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>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=2>My platform is 
OMAP5912osk.&nbsp;</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>The setps I create the bzip2 kernel 
image&nbsp;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&nbsp;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>&nbsp;</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>&nbsp;&nbsp;CONFIG_BZIP2</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=2>&nbsp;&nbsp;If this option is set, 
support for bzip2 compressed<BR>&nbsp;&nbsp;images is included. If not, only 
uncompressed and gzip<BR>&nbsp;&nbsp;compressed images are 
supported.</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=2>&nbsp;&nbsp;NOTE: the bzip2 algorithm 
requires a lot of RAM, so<BR>&nbsp;&nbsp;the malloc area (as defined by 
CFG_MALLOC_LEN) should<BR>&nbsp;&nbsp;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&nbsp;: </FONT></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define 
CFG_MALLOC_LEN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CFG_ENV_SIZE + 
128*1024)</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define 
CONFIG_BZIP2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT>&nbsp;</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>&nbsp;&nbsp; Image Name:&nbsp;&nbsp; 2.6.15&nbsp;<BR>&nbsp;&nbsp; Image 
Type:&nbsp;&nbsp; ARM Linux Kernel Image (bzip2 compressed)<BR>&nbsp;&nbsp; Data 
Size:&nbsp;&nbsp;&nbsp; 1159790 Bytes =&nbsp; 1.1 MB<BR>&nbsp;&nbsp; Load 
Address: 10c08000<BR>&nbsp;&nbsp; Entry Point:&nbsp; 10c08000<BR>&nbsp;&nbsp; 
Verifying Checksum ... OK<BR>&nbsp;&nbsp; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CFG_ENV_SIZE + 
4224*1024)</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>#define 
CONFIG_BZIP2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
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>&nbsp;&nbsp; Image Name:&nbsp;&nbsp; 2.6.15&nbsp;<BR>&nbsp;&nbsp; Image 
Type:&nbsp;&nbsp; ARM Linux Kernel Image (bzip2 compressed)<BR>&nbsp;&nbsp; Data 
Size:&nbsp;&nbsp;&nbsp; 1159790 Bytes =&nbsp; 1.1 MB<BR>&nbsp;&nbsp; Load 
Address: 10c08000<BR>&nbsp;&nbsp; Entry Point:&nbsp; 10c08000<BR>&nbsp;&nbsp; 
Verifying Checksum ... OK<BR>&nbsp;&nbsp; Uncompressing Kernel Image ... data 
abort<BR>pc : 
[&lt;1108d098&gt;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lr : 
[&lt;0008da5c&gt;]<BR>sp : 10c3f9c8&nbsp; ip : 0000009d&nbsp;&nbsp;&nbsp;&nbsp; 
fp : 000000a3<BR>r10: e38771e7&nbsp; r9 : 10c3f9cd&nbsp;&nbsp;&nbsp;&nbsp; r8 : 
10c3ffdc<BR>r7 : 003c8633&nbsp; r6 : 0000009d&nbsp;&nbsp;&nbsp;&nbsp; r5 : 
00037981&nbsp; r4 : 00000001<BR>r3 : e0b41de7&nbsp; r2 : 
10c6fca3&nbsp;&nbsp;&nbsp;&nbsp; r1 : 000dbb8e&nbsp; r0 : 10c601a8<BR>Flags: 
Nzcv&nbsp; IRQs off&nbsp; FIQs off&nbsp; 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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face="Times New Roman">Thanks for your patience~</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT>&nbsp;</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>