public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@i3micro.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] "Problem in increasing initrd(RAMDISK) size"
Date: Wed, 08 Jun 2005 15:49:43 +0200	[thread overview]
Message-ID: <42A6F777.20801@i3micro.com> (raw)
In-Reply-To: <20050608130020.91F39C1512@atlas.denx.de>

Wolfgang Denk wrote:
>>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.
> 
> No, it CANNOT.

Yes it CAN.

> I repeat: U-Boot does NOT uncompress  the  ramdisk.  It  just  passes
> information  about  the ramdisk as is (i. e. compressed) to the Linux
> kernel. It is the Linux kernel  which  uncompresses  the  ramdisk  if
> necessary.

The "embedded ramdisk image" option causes the ramdisk.gz (objcopied to
ramdisk.o) to be linked into vmlinux.
When using a 16Mb filesystem, if even somewhat filled, the likelihood of
the image size growing beyond 4Mb is quite large.

Yes, this is actually a braindead enough solution that the ramdisk is
compressed _twice_, but on the mips (2.4 series Linux), embedded ramdisk
has been so widely used that noone seems to have noticed that regular
initrd support is broken. This is fixed for 2.6 though.

/
	Leif

  reply	other threads:[~2005-06-08 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08  7:00 [U-Boot-Users] "Problem in increasing initrd(RAMDISK) size" nreddy at netenrich.com
2005-06-08  8:14 ` Wolfgang Denk
2005-06-08  9:00 ` Leif Lindholm
2005-06-08  9:53   ` Wolfgang Denk
2005-06-08 12:14     ` Leif Lindholm
2005-06-08 13:00       ` Wolfgang Denk
2005-06-08 13:49         ` Leif Lindholm [this message]
2005-06-08 14:32           ` Wolfgang Denk
2005-06-10  8:55             ` Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42A6F777.20801@i3micro.com \
    --to=leif.lindholm@i3micro.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox