* what files should be included in initrd
@ 2001-05-09 5:49 Walser Martin
2001-05-09 7:02 ` Wolfgang Denk
2001-05-09 13:44 ` Mark Phillips
0 siblings, 2 replies; 3+ messages in thread
From: Walser Martin @ 2001-05-09 5:49 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hi,
sorry for this question, but it's the first time I try to use linux on my
custom board.
I'm using PPCBoot and the MontaVista kernel. Both work fine, but I don't
know how to make a initrd image.
Can someone give me a short overwiew on how to build such an image and what
files should be included?
thanks
Martin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: what files should be included in initrd
2001-05-09 5:49 what files should be included in initrd Walser Martin
@ 2001-05-09 7:02 ` Wolfgang Denk
2001-05-09 13:44 ` Mark Phillips
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2001-05-09 7:02 UTC (permalink / raw)
To: Walser Martin; +Cc: linuxppc-embedded
In message <040944A92C91D211954D00C095EE82680168FF32@POST> you wrote:
>
> sorry for this question, but it's the first time I try to use linux on my
It's a good question, but it has been asked many, many times before.
See http://penguinppc.org/usr/embedded/howto/PowerPC-Embedded-HOWTO-13.html#ss13.2
and http://www.linux.org/docs/ldp/howto/Bootdisk-HOWTO/buildroot.html
> I'm using PPCBoot and the MontaVista kernel. Both work fine, but I don't
> know how to make a initrd image.
See "Documentation/initrd.txt" in your Linux source directory.
> Can someone give me a short overwiew on how to build such an image and what
> files should be included?
You include those files you need in your embedded system. The minimum
(without any tricks and modifications to the Linux kernel) is a
special file for /dev/console (c 5 1) and a regular file with your
statically linked application that is started as init process.
See ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SIMPLE-PPCBOOT-ramdisk for
an example - this is a PPCBoot image ready for use; you can use
dd if=SIMPLE-PPCBOOT-ramdisk bs=64 skip=1 of=ramdisk.image.gz
to create a "normal" ramdisk image.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"There are three principal ways to lose money: wine, women, and engi-
neers. While the first two are more pleasant, the third is by far the
more certain." - Baron Rothschild, ca. 1800
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: what files should be included in initrd
2001-05-09 5:49 what files should be included in initrd Walser Martin
2001-05-09 7:02 ` Wolfgang Denk
@ 2001-05-09 13:44 ` Mark Phillips
1 sibling, 0 replies; 3+ messages in thread
From: Mark Phillips @ 2001-05-09 13:44 UTC (permalink / raw)
To: walser.martin; +Cc: linuxppc-embedded
Walser,
In my opinion, the best source for this is the Bootdisk-Howto, available everywhere (for example http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO/)
You should skip the "ldconfig" step.
You should also refer to Initrd.txt in the Documentation subdirectory of your kernel.
Mark Phillips
Walser Martin <walser.martin@rw.hirschmann.at> wrote:
>
>
> Hi,
>
> sorry for this question, but it's the first time I try to use linux on my
> custom board.
> I'm using PPCBoot and the MontaVista kernel. Both work fine, but I don't
> know how to make a initrd image.
>
> Can someone give me a short overwiew on how to build such an image and what
> files should be included?
>
> thanks
> Martin
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-09 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-09 5:49 what files should be included in initrd Walser Martin
2001-05-09 7:02 ` Wolfgang Denk
2001-05-09 13:44 ` Mark Phillips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).