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/