* Is it possible to have a Kernel & initrd in 1 binary?
@ 2004-08-18 18:32 Dave Aubin
2004-08-18 18:51 ` Chris Wedgwood
0 siblings, 1 reply; 6+ messages in thread
From: Dave Aubin @ 2004-08-18 18:32 UTC (permalink / raw)
To: linux-kernel
Hello,
I'm working on an embedded device and I want it to boot off of a USB
stick.
I'm using a utility called filo which is able to read an elf off of a
USB stick. The
problem is filo can only read the kernel portion of the elf and not the
initrd.
Question, is there a way to bundle both the kernel and initrd in to
just a kernel
binary? I thought there was a way, but I've always used initrd and I'm
not familiar with
making a kernel & initrd in to one image.
An alternative might be that the kernel be built to understand the
USB, but I've
found that there is a delay between when the kernel detects USB and when
it goes to boot off of the USB drive of about 1 second and then the
kernel fails
to load thinking the USB drive is not present.
Any help is appreciated.
Thanks,
Dave
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is it possible to have a Kernel & initrd in 1 binary?
2004-08-18 18:32 Dave Aubin
@ 2004-08-18 18:51 ` Chris Wedgwood
0 siblings, 0 replies; 6+ messages in thread
From: Chris Wedgwood @ 2004-08-18 18:51 UTC (permalink / raw)
To: Dave Aubin; +Cc: linux-kernel
On Wed, Aug 18, 2004 at 02:32:07PM -0400, Dave Aubin wrote:
> Question, is there a way to bundle both the kernel and initrd in to
> just a kernel binary?
see the initramfs stuff in linux/usr
--cw
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Is it possible to have a Kernel & initrd in 1 binary?
@ 2004-08-18 19:04 Dave Aubin
2004-08-18 19:19 ` Chris Wedgwood
0 siblings, 1 reply; 6+ messages in thread
From: Dave Aubin @ 2004-08-18 19:04 UTC (permalink / raw)
To: Chris Wedgwood; +Cc: linux-kernel
Hey Chris,
Yes, that's the stuff. I am at a loss finding
any detailed how to's or what have you. I'm looking
for a little bit more. A simple tutorial would be awesome!
Can anyone point me as to where to find more info on
Initramfs?
Thanks again,
Dave
-----Original Message-----
From: Chris Wedgwood [mailto:cw@f00f.org]
Sent: Wednesday, August 18, 2004 2:52 PM
To: Dave Aubin
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is it possible to have a Kernel & initrd in 1 binary?
On Wed, Aug 18, 2004 at 02:32:07PM -0400, Dave Aubin wrote:
> Question, is there a way to bundle both the kernel and initrd in to
> just a kernel binary?
see the initramfs stuff in linux/usr
--cw
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is it possible to have a Kernel & initrd in 1 binary?
2004-08-18 19:04 Dave Aubin
@ 2004-08-18 19:19 ` Chris Wedgwood
0 siblings, 0 replies; 6+ messages in thread
From: Chris Wedgwood @ 2004-08-18 19:19 UTC (permalink / raw)
To: Dave Aubin; +Cc: linux-kernel
On Wed, Aug 18, 2004 at 03:04:31PM -0400, Dave Aubin wrote:
> Yes, that's the stuff. I am at a loss finding any detailed how to's
> or what have you. I'm looking for a little bit more. A simple
> tutorial would be awesome! Can anyone point me as to where to find
> more info on Initramfs?
linux/Documentation/early-userspace
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Is it possible to have a Kernel & initrd in 1 binary?
@ 2004-08-18 19:21 Dave Aubin
2004-08-19 9:09 ` Guillaume POIRIER
0 siblings, 1 reply; 6+ messages in thread
From: Dave Aubin @ 2004-08-18 19:21 UTC (permalink / raw)
To: Chris Wedgwood; +Cc: linux-kernel
Hi,
Yes I've read that. Do you or anyone else know
Of a good source of info for initramfs?
-----Original Message-----
From: Chris Wedgwood [mailto:cw@f00f.org]
Sent: Wednesday, August 18, 2004 3:19 PM
To: Dave Aubin
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is it possible to have a Kernel & initrd in 1 binary?
On Wed, Aug 18, 2004 at 03:04:31PM -0400, Dave Aubin wrote:
> Yes, that's the stuff. I am at a loss finding any detailed how to's
> or what have you. I'm looking for a little bit more. A simple
> tutorial would be awesome! Can anyone point me as to where to find
> more info on Initramfs?
linux/Documentation/early-userspace
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is it possible to have a Kernel & initrd in 1 binary?
2004-08-18 19:21 Is it possible to have a Kernel & initrd in 1 binary? Dave Aubin
@ 2004-08-19 9:09 ` Guillaume POIRIER
0 siblings, 0 replies; 6+ messages in thread
From: Guillaume POIRIER @ 2004-08-19 9:09 UTC (permalink / raw)
To: Dave Aubin; +Cc: Chris Wedgwood, linux-kernel
Hi there,
Dave Aubin wrote:
> Hi,
>
> Yes I've read that. Do you or anyone else know
> Of a good source of info for initramfs?
I think that you'd like to follow this recorded conference:
http://public.www.planetmirror.com/pub/lca/2003/proceedings/papers/HPA/Abstract.html
Regards,
Guillaume
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-08-19 9:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 19:21 Is it possible to have a Kernel & initrd in 1 binary? Dave Aubin
2004-08-19 9:09 ` Guillaume POIRIER
-- strict thread matches above, loose matches on Subject: below --
2004-08-18 19:04 Dave Aubin
2004-08-18 19:19 ` Chris Wedgwood
2004-08-18 18:32 Dave Aubin
2004-08-18 18:51 ` Chris Wedgwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox