Chris,
As far as I know, you have to use CRAMFS. Basically
what you're doing is taking the first 1MB of the chip
for the bootstrap & kernel and then formatting the
rest of the chip (2MB-8MB) as a file system.
I have not had a chance to use Ollie's File System,
but may get some time early this afternoon to see if
it works better than the one I built. I could get mine
to mount, but never could get a login. Check the
Archives for the specifics on my problems.
I think you'll also need to use RAMFS for /tmp. Which
is where I left off. I did not have any writable
storage and I think that's where I went wrong.
-Greg
--- "Benson, Chris M"
<[EMAIL PROTECTED]> wrote:
> Thanks Greg - I will give this a try.
>
> Have you gotten this to work by just loading off the
> DOC without Cram? I
> want to eventually get CRAM to work, but I was
> hoping to get it to work
> straight off the DOC first.
>
> Chris
>
> > -----Original Message-----
> > From: Greg Pratt [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 04, 2001 3:35 PM
> > To: Benson, Chris M; 'Ronald G Minnich'
> > Cc: 'LinuxBIOS'
> > Subject: RE: root filesystem on DoC Millenium
> >
> > Chris,
> > Here is a strategy I've employed. I've had little
> time
> > to actually work through the bugs, but you may
> have
> > more time.
> >
> > -Greg
> > --- Greg Pratt <[EMAIL PROTECTED]> wrote:
> > > Date: Tue, 20 Mar 2001 06:26:55 -0800 (PST)
> > > From: Greg Pratt <[EMAIL PROTECTED]>
> > > Reply-to: [EMAIL PROTECTED]
> > > Subject: Strategy for Using CRAMFS
> > > To: [EMAIL PROTECTED]
> > >
> > > All,
> > > Here is the strategy I am going to employ when
> using
> > > CRAMFS. I'll see if it works and if it does,
> I'll
> > > document it and send it to Ron to post. I'm
> using
> > > the
> > > Matsonic Motherboard and MD-2800-D08 DoC.
> > >
> > > 0) Download the LEM (Linux Embedded) Filesystem
> > > 0a) Configure it per their directions
> > > 0b) Mount it over loopback and ran mkcramfs on
> it
> > > 1) Download the 2.4.2 Kernel
> > > 2) Download the latest linuxbios from CVS
> > > 3) Compile the kernel with:
> > > #
> > > # User modules and translation layers for MTD
> > > devices
> > > #
> > > CONFIG_MTD_CHAR=y
> > > CONFIG_MTD_BLOCK=y
> > > CONFIG_FTL=y
> > > CONFIG_NFTL=y
> > > CONFIG_NFTL_RW=y
> > >
> > > #
> > > # Memory Technology Devices (MTD)
> > > #
> > > CONFIG_MTD=y
> > > CONFIG_MTD_DEBUG=y
> > > CONFIG_MTD_DEBUG_VERBOSE=3
> > >
> > > #
> > > # Disk-On-Chip Device Drivers
> > > #
> > > # CONFIG_MTD_DOC1000 is not set
> > > # CONFIG_MTD_DOC2000 is not set
> > > CONFIG_MTD_DOC2001=y
> > > CONFIG_MTD_DOCPROBE=y
> > > CONFIG_MTD_DOCPROBE_ADDRESS=0000
> > > CONFIG_MTD_DOCPROBE_HIGH=y
> > > # CONFIG_MTD_DOCPROBE_55AA is not set
> > >
> > > 4) Set CPUFLAGS +=
> -DCMD_LINE='"root=/dev/nftla1"'
> > > 5) Burn the kernel on the DoC
> > > 6) Execute nftl_format /dev/mtd0 1048756
> > > 7) fdisk /dev/nftla
> > > 8) dd conv=notrunc if=../img.cramfs
> of=/dev/nftla1
> > > 9) Reboot
> > >
> > >
> > > =====
> > > Cell: (972)489-2540
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Get email at your own domain with Yahoo! Mail.
> > > http://personal.mail.yahoo.com/
> > --- "Benson, Chris M"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > I have got my Matsonic board up and running
> with
> > > LinuxBIOS
> > > loading from the HD, I now want to try to
> configure
> > > another DOC that loads
> > > directly from the extra space on the DOC. Is
> there
> > > any documentation on what
> > > I need to do to get this to work? What kernel
> > > changes if any need to be
> > > made? What files must I have on the DOC to get
> this
> > > to work? etc.
> > >
> > > > Any pointers would really help. My ultimate
> goal
> > > is to create a very
> > > > sleek quick loading system to show to my
> manager.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Chris Benson
> > > >
> >
> >
> > =====
> > Cell: (972)489-2540
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
=====
Cell: (972)489-2540
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/