Skip to contentSkip to conversation

Problem while uncompressing kernel image in u-boot

U-Boot pdineshb 2 participants 2 messages Jul 27, 2011

lore
Share & tools
lore

pdineshb

author
#0 lore raw

Hello all,

I am working on MPC8313 processor with u-boot-1.3.0
I am noticing a problem while uncompressing the kernel images. while uncompressing, it would just reset the processor without any error message.

I tried loading in different address for the kernel image, but didnt work. I thought it could be a problem with the gunzip code in the u-boot.

I tried linking with zlib present in the ltib(Linux target image builder) which is ported to the MPC83xx, but didnt help. I also linked with the Kernel's zlib(arch/powerpc/boot) files, didnt work either.

Kernel version 2.6.23
did anybody faced with this problem before?

Any ideas or suggesstions are appreciated.
I have pasted the output here.

U-Boot 1.3.0 (Jun 7 2011 - 08:31:39) MPC83XX

Reset Status: Software Hard, External/Internal Soft, External/Internal Hard

CPU:   e300c3, MPC8313, Rev: 21 at 399.999 MHz, CSB:  133 MHz
Board: Freescale MPC8313ERDB
I2C:   ready
DRAM:  128 MB
FLASH:  8 MB
NAND:  32 MiB
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0 [PRIME], TSEC1
Hit any key to stop autoboot:  6  5  4  3  0 

=> set ramdiskaddr 5000000
=> save

Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> boot
setting the speed to GMII ox7205
Speed: 1000, full duplex ecntrl:0x1050
Using TSEC0 device
TFTP from server 10.10.2.99; our IP address is 10.10.2.12 Filename 'rootfs_synce2.ext2.gz.uboot'.
Load address: 0x5000000
Loading: *#################################################################

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

done
Bytes transferred = 4221009 (406851 hex)
setting the speed to GMII ox7205
Speed: 1000, full duplex ecntrl:0x1050
Using TSEC0 device
TFTP from server 10.10.2.99; our IP address is 10.10.2.12 Filename 'uImage_phy'.
Load address: 0x1000000
Loading: *#################################################################

	 #################################################################
	 #################################################################
	 #################################################################
	 #########################################################
done
Bytes transferred = 1620406 (18b9b6 hex)
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.23
   Created:      2011-07-26  20:33:11 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1620342 Bytes =  1.5 MB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ...

U-Boot 1.3.0 (Jun 7 2011 - 08:31:39) MPC83XX

Thanks
Dinesh

Signature · 2 lines
View this message in context: http://old.nabble.com/Problem-while-uncompressing-kernel-image-in-u-boot-tp32152509p32152509.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 11 lines · On Wed, 27 Jul 2011 15:42:43 -0700 pdineshb <[email protected]> wrote:

Hello all,

I am working on MPC8313 processor with u-boot-1.3.0
I am noticing a problem while uncompressing the kernel images. while uncompressing, it would just reset the processor without any error message.

I tried loading in different address for the kernel image, but didnt work. I thought it could be a problem with the gunzip code in the u-boot.

Quoted 6 lines

I tried linking with zlib present in the ltib(Linux target image builder) which is ported to the MPC83xx, but didnt help. I also linked with the Kernel's zlib(arch/powerpc/boot) files, didnt work either.

Kernel version 2.6.23
did anybody faced with this problem before?

Yes. I saw that problem, and fixed it in commit c123098035be8bae3859bbfbd06861f197c07631, which was over 2 years ago. Your U-Boot is even older. Please upgrade.

Upgrade your kernel too while you're at it. :-)

-Scott