[U-Boot-Users] Re: MPC5200 build

Wolfgang Denk wd at denx.de
Fri Dec 5 21:59:04 CET 2003


Dear Victor,

in message <3FD07A27.30117.5F1305 at localhost> you wrote:
> mount an ext2 partition under a directory in the ramdisk.  One odd thing I've 
> had is that I can't seem to use a compressed uImage since I added the IDE 
> config.  If I gunzip the vmlinux.gz and use mkimage to create an uncompressed 
> uImage, I can upload it to 100000, change kernel_addr to 100000, and run it 
> just fine with flash_self (I have the initrd in flash at ff180000).
> 
> If I use the SAME vmlinux, and create a gzipped uImage, it starts to boot, 
> then has a fatal error while trying to uncompress the image (this happened 

This just means that your kernel image  has  become  too  big  to  be
loaded at 1 MB; try downloading to and booting from 0x200000 instead.

> Could the gunzipper be running out of allocated space?  I certainly have 

It's overwriting the image as it uncompresses.

> In looking around for memory allocation defs, I did find a typo in 
> cmd_bootm.c:
> #if defined(CONFIG_MPC5XXXX)
> 
> Every other reference I've found refers to "CONFIG_MPC5XXX"

Fixed. Well spotted!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Physician: One upon whom we set our hopes when ill and our dogs  when
well.                                                - Ambrose Bierce




More information about the U-Boot mailing list