[U-Boot] GUNZIP: uncompress, out-of-mem or overwrite error

Unnamalai Kanchi Bashyam unnamalai.kb at hcl.in
Thu Jun 24 12:17:33 CEST 2010


Dear Wolfgang Denk,

>And your RAM is mapped at 0x80000000 ? That means U-Boot has just 1 MB
>for malloc arena, global data and stack?  That's asking for trouble...

Thanks for the clue. Now the kernel 'inflation' is working. 

I loaded the u-boot image at 0x81000000, instead of 0x80100000.

And Instead of vmlinux.bin (which was 3.1G), I use arch/arm/boot/Image to create kernel uboot image. 

gzip -9 arch/arm/boot/Image

$ mkimage -n 'Linux' -A arm -O linux -T kernel -C gzip -a 0x80008000 -e 0x80008000 -d arch/arm/boot/Image.gz kImage.ub

But upon booting kernel through u-boot, after inflation, I only get the message 'Starting kernel ...' and the system hangs.

The log as under:

======================================================================
$bootm 83a00000 ## Booting kernel from Legacy Image at 83a00000 ...
   Image Name:   Linux
   Created:      2010-06-25   9:13:44 UTC
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    2611097 Bytes = 2.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... 
OK

Starting kernel ...

==========================================================================

The 'bootargs' env variable is 

bootargs= root=/dev/nfs nfsroot=10.100.144.245:/android/android_rootfs,nolock,rsize=1024,wsize=1024 ip=10.100.144.42:10.100.144.245::255.255.255.0::eth0:on console=ttyS2,115200 init=/init mem=64M comm_v75 uart_dma android

Any further clues on what could be wrong for kernel not getting booted? 

Regards,
Unnamalai



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------


More information about the U-Boot mailing list