[uClinux-dev] Re: [leon_sparc] leon+linux root filesystem // answer to CAS question

From: The LEOX team (lpm@leox.org)
Date: Thu Aug 16 2001 - 17:53:32 EDT


Hi Christian,

caschrei@rockwellcollins.com wrote:
> 
[...]
> 
> Has anyone else reported LEOX configuration successes problems on Sun
> hosts?  Any thoughts on what to do?  If I get some time extra time on my
> hands, I might try resetting my PATH to point to known POSIX compatible
> versions of grep, cp, rm, and so forth, but given my current knowledge I am
> reluctant to invest more time into the configure problem.

I use both Solaris 2.6 and Linux.
The LEOX CDK compiles fine on both systems.
uClinux kernel for Sparc runs also well under tsim on both systems.

> Thank you for your help,
> 
>           Christian Schreiner
>           caschrei@rockwellcollins.nospam.com (minus the .nospam)
> 
> The LEOX team <lpm@leox.org>@free.fr on 08/16/2001 03:20:17 PM
> 
> Sent by:  paugaml@free.fr
> 
> To:   caschrei@rockwellcollins.com
> cc:   leon_sparc@yahoogroups.com
> 
> Subject:  Re: [leon_sparc] leon+linux root filesystem // answer to CAS
>       question
> 
> caschrei@rockwellcollins.com wrote:
> >
> > I am porting an embedded Linux variant to run on my LEON board.  Does
> > anyone have any experience using the LEON software tools to integrate a
> > Linux root filesystem image into the same binary file with the Linux
> > kernel?
> >
> > The kernel would need some constant set to the start address of the
> > filesystem image.
> >
> > The details of my system are:
> >
> >      Leon 2.0 w/ LECCS
> >      uClinux 2.0.38.1pre7
> >      tsim 1.0.6  (I have not tried running on hardware yet)
> >
> > If there is documentation available on creating the root filesystem,
> please
> > direct me to it.  I have not seen this issue directly covered in the
> > documentation I have downloaded so far.  I currently intend to generate
> the
> > filesystem as a romfs (with the mkromfs, though I am willing to consider
> > other filesystem types if there is a reason to do so.
> 
> The way to create a ROM file system is as follow:
> 
> 1) Create a complete file system:
> 
> mkdir -p romdisk/bin
> mkdir -p romdisk/dev
> 
> 2) Create device nodes (no need to be root):
> 
> touch romdisk/dev/@ttyS0,c,4,64
> 
> 3) Generate your file system:
> 
> /opt/leox/gnu/bin/genromfs -v -V "ROM Disk" -f romdisk.img -d romdisk
> 
> Make sure to use the genromfs from the leox-CDK, it is really complete
> and up to date.
> 
> > Incidentally, my hardware will not have any network ports or other
> > periphials available (other than the serial ports provided in the LEON
> > core).
> >
> > Thank you in advance,
> >
> >           -- Christian Schreiner
> >           caschrei@rockwellcollins.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> 
> --
> Best Regards
> The LEOX team
> 
> http://www.leox.org : Free Hardware and Software Resources for
> System-on-Chip

-- 
Best Regards
The LEOX team

http://www.leox.org : Free Hardware and Software Resources for
System-on-Chip
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:04 EDT