[U-Boot-Users] "Problem in increasing initrd(RAMDISK) size"
leif.lindholm at i3micro.com
Wed Jun 8 14:14:14 CEST 2005
Wolfgang Denk wrote:
>>There is a hard limitation in u-boot, causing "bootm" command to
>>silently fail gunzip with images having an uncompressed size of > 4Mb.
> This has NOTHING to do with ramdisk sizes.
> U-Boot does not uncompress ramdisk images, this is done by the Linux
> kernel. U-Boot just (loads and) passes the address of the ramdisk
> image to the Linux kernel without touching the data at all.
>>The ugly fix would be to just increase this value (like I did).
> No such change is needed (unless you end up with a Linux kernel that
> does not fit in 4 MB any more).
Well, this is probably true in more sane cases, but when using embedded
ramdisk image (available for both mips and ppc I believe), the 4Mb
u-boot limit can indeed cause problems.
Yes I know everyone's supposed to upgrade to 2.6 and initramfs.
More information about the U-Boot