[U-Boot-Users] "Problem in increasing initrd(RAMDISK) size"

Leif Lindholm leif.lindholm at i3micro.com
Wed Jun 8 11:00:42 CEST 2005


nreddy at netenrich.com wrote:
> Hi All,
> 
> I am struggling  with RAM disk Space.
...
> Can some body throw a light to increase the RAMDISK size.

There is a hard limitation in u-boot, causing "bootm" command to
silently fail gunzip with images having an uncompressed size of > 4Mb.

In file cmd_bootm.c, function do_bootm(), the line
        uint    unc_len = 0x400000;
specifies the maximum size of the output buffer.

The ugly fix would be to just increase this value (like I did).

Of course, if this doesn't solve your problem, Wolfgang is correct and
your question belongs on a different mailing list.

regards
	/
		Leif




More information about the U-Boot mailing list