All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a Root Filesystem
@ 2005-12-17  8:17 Michael Boutte
  2005-12-17 18:32 ` bennett78
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Boutte @ 2005-12-17  8:17 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,
I seem to be stuck at one point in my first embedded Linux project. I 
built a custom MPC875 board and have figured out how to get U-Boot to 
compile and run. Then I learned to compile an initial Linux 2.4.25 using 
the ELDK with a basic root filesystem via the "SELF" included in the 
ELDK (thank you WD and others). Now I want to build a new root 
filesystem with the modules included. So then I have used the "make 
modules" and "make ... modules_install" commands plus used the procedure 
in the DULG section 9.6 to unpack the ramdisk image and mount it in the 
/mnt/tmp/ directory.
That is point where I do not know what to do next. It would seem that I 
need to merge the modules and other items I may want to add (for example 
appWeb) with the simple root filesystem and re-compress it for use just 
like the original ramdisk image. I just do not seem to find any 
information on this process either in the DULG or anywhere else on the web.
Any help would be greatly appreciated.

Mike Boutte

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building a Root Filesystem
  2005-12-17  8:17 Building a Root Filesystem Michael Boutte
@ 2005-12-17 18:32 ` bennett78
  0 siblings, 0 replies; 2+ messages in thread
From: bennett78 @ 2005-12-17 18:32 UTC (permalink / raw)
  To: Michael Boutte; +Cc: linuxppc-embedded

Michael Boutte wrote:

> Hi,
> I seem to be stuck at one point in my first embedded Linux project. I 
> built a custom MPC875 board and have figured out how to get U-Boot to 
> compile and run. Then I learned to compile an initial Linux 2.4.25 
> using the ELDK with a basic root filesystem via the "SELF" included in 
> the ELDK (thank you WD and others). Now I want to build a new root 
> filesystem with the modules included. So then I have used the "make 
> modules" and "make ... modules_install" commands plus used the 
> procedure in the DULG section 9.6 to unpack the ramdisk image and 
> mount it in the /mnt/tmp/ directory.
> That is point where I do not know what to do next. It would seem that 
> I need to merge the modules and other items I may want to add (for 
> example appWeb) with the simple root filesystem and re-compress it for 
> use just like the original ramdisk image. I just do not seem to find 
> any information on this process either in the DULG or anywhere else on 
> the web.
> Any help would be greatly appreciated.

I'm also using Linux 2.4.25 using the ELDK and I would recommend
getting a NFS root file system going first discussed in the following
paper, although written for a MPC5200 is an excellent guideline:

    http://emsys.denayer.wenk.be/emcam/Linux_on_MPC5200_(UK).pdf

Worry about a compressed system later. There is also a script for 
building a
small root file system (mkrootfsdenx) from a working reference one and
MTD is the way to go to manage your flash for F/W updates and NVdata store.

happy ELDKing,
Frank Bennett

>
> Mike Boutte
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-17 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-17  8:17 Building a Root Filesystem Michael Boutte
2005-12-17 18:32 ` bennett78

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.