linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linuxppc_2_4_dev tree
@ 2002-08-12 20:51 Khai Trinh
  2002-08-12 21:18 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Khai Trinh @ 2002-08-12 20:51 UTC (permalink / raw)
  To: linuxppc-embedded


Hi folks,

How can I build a kernel image with target filesystem
mounted via NFS fro mthe dev tree? The dev tree
doesn't seem to have the target filesystem directory
structure like the ones distributed by MVista for NFS
mount.

If it's not nfs mountable, can I create a ramdisk
filesystem together with the kernel image?

Thanks,
--Khai


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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: linuxppc_2_4_dev tree
@ 2002-08-12 21:33 Cameron, Steve
  0 siblings, 0 replies; 3+ messages in thread
From: Cameron, Steve @ 2002-08-12 21:33 UTC (permalink / raw)
  To: Khai Trinh, linuxppc-embedded


Khai Trinh wrote:

> How can I build a kernel image with target filesystem
> mounted via NFS fro mthe dev tree? The dev tree
> doesn't seem to have the target filesystem directory
> structure like the ones distributed by MVista for NFS
> mount.
>

The bitkeeper tree is the kernel only.  A root filesystem
you have to make or get elsewhere.

I've had good luck with the DENX Embedded Linux Development Kit.

Here:  http://www.denx.de/ELDK/
It has a working rootfs that can be mounted via NFS.  You
can then pare that down to make it smaller if you need to.

Busybox and Tinylogin are also useful for creating user-land
to go with your kernel.

http://www.busybox.net/
http://tinylogin.busybox.net/

Busybox can act as init, though the inittab needs to
be a bit different than a regular inittab, if I remember
right.

I found getting a satisfactory rootfs
was not exactly easy.  Not too hard, but a lot of details to
get just right, especially if you need to make it small.  You'll
want to make a script to create your root fs, which you can then use
from a kernel which mounts it by NFS (useful for debugging
applications) or by cramfs/initrd setup where the whole image,
kernel and rootfs, is loaded into RAM.

Hope that helps some.

-- steve

** 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:[~2002-08-12 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12 20:51 linuxppc_2_4_dev tree Khai Trinh
2002-08-12 21:18 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2002-08-12 21:33 Cameron, Steve

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).