Large initrd and arch/ppc/boot/simple Question

2 messages, 2 authors, 2003-07-01 · open the first message on its own page

Large initrd and arch/ppc/boot/simple Question

From: Kent Borg <hidden>
Date: 2003-07-01 20:29:44

We are booting our kernel via the arch/ppc/boot/simple mechanism to
package up our kernel and initrd.  It seems to work, until we get too
big.  What is big?  Roughly 8 MB for our one big uncompressed userland
program, plus the kernel, bash, busybox, and various userland
utilities.

Can initrd's get that large and still work?  Is the simple boot code
sensible with these sizes?  (I notice that the "avail ram" message
that gets printed is just hard coded number...)


Thanks,

-kb, the Kent who is running roughly 2.4.21-pre6.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Large initrd and arch/ppc/boot/simple Question

From: Tom Rini <hidden>
Date: 2003-07-01 22:12:39

On Tue, Jul 01, 2003 at 04:29:44PM -0400, Kent Borg wrote:
We are booting our kernel via the arch/ppc/boot/simple mechanism to
package up our kernel and initrd.  It seems to work, until we get too
big.  What is big?  Roughly 8 MB for our one big uncompressed userland
program, plus the kernel, bash, busybox, and various userland
utilities.

Can initrd's get that large and still work?  Is the simple boot code
sensible with these sizes?  (I notice that the "avail ram" message
that gets printed is just hard coded number...)
After reading the follow ups, is the problem that the kernel never boots
if you pass too large of a ramdisk or that the app does not work?

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help