Hi Ron,
Thanks for the information. I'm having a bit of a problem:
1) ./flash_on
2) Load drivers:
insmod insmod ./docecc.o
insmod ./doc2001.o
insmod ./docprobe.o 
3) Format the DoC:
# ./nftl_format /dev/mtd0 1048756
Phase 1. Checking and erasing Erase Zones from 0x001000b4 to 0x00800000
        Erasing Zone #1022 @ 0x7fc000
Phase 2.a Writing NFTL Media Header and Bad Unit Table
Phase 2.b Writing Spare NFTL Media Header and Spare Bad Unit Table
Phase 3. Writing Unit Control Information to each Erase Unit 

4) Execute fdisk against the device:
# fdisk /dev/nftla
 
Unable to open /dev/nftla
^^^^^^^^^^^^^^^^^^^^^^^^^ ???

Background Information:
/dev
brw-r--r--    1 root     root      93,   0 Feb 25 18:53 /dev/nftla 

Version:
nftl_format.c: * $Id: nftl_format.c,v 1.13 2000/11/13 16:37:24 lethal
Exp $  

I'm not sure what I am doing wrong.

Thanks,
Greg



Ronald G Minnich wrote:
> 
> On Thu, 8 Mar 2001, Greg Pratt wrote:
> 
> > Ron,
> >
> > I am unclear as to how Tyson Sawyer was able to store the initrd on the
> > DoC and then access it. Is there any documentation on how to do this? I
> > have thought about this and can't figure out how to do it unless the
> > kernel can be passed a parameter pointing at an offset on the DoC. My
> > understanding is that this is what the DoC is burned with:
> 
> slight change:
> 
| 512 bytes | 512 bytes |   64Kbytes    |     720896 bytes          
|    ~7MB      |
+-----------+-----------+----------+--------+------------------------+--------------+
|  docipl   |   docipl  |  linuxbios.block  |  vmlinux.bin.gz.block 
|    FREE      |
> 
> >  1) If I 'dd' the file into DoC with an offset, how do I tell the kernel
> > where to access the initrd?
> 
> I don't know ...
> 
> ron
> >  2) If I create a jffs on the DoC how would I access it as a device? Is
> > it possible to have an offset for a filesystem or is this the wrong
> > approach?
> 
> here's what we do for ext2 on doc.
> 
> nftl_format /dev/mtd0 1048576 (sets up /dev/nftla to be at 1M offset)
> fdisk /dev/nftla
> Then create a primary partition on /dev/nftl
> This will become /dev/fntla1
> 
> Then unload and reload all the modules, this seems to be needed
> 
> then mke2fs /dev/nftla1
> 
> Then the cmdline for linux includes: "root=/dev/nftla1"
> 
> I need to do this howto, sorry.
> 
> ron

-- 
****************************************************************************
This email may contain confidential and privileged material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited.  If you are not the intended recipient please
contact
the sender and delete all copies.
****************************************************************************
begin:vcard 
n:Pratt;Greg
tel;pager:[EMAIL PROTECTED]
tel;cell:972-489-2540
tel;fax:805-926-3877
tel;work:972-489-2540
x-mozilla-html:TRUE
url:www.valinux.com
org:VA Linux Systems, Inc.
adr:;;1382 Bourdeaux Drive;Sunnyvale;CA;94089;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Systems Engineer
x-mozilla-cpt:;0
fn:Greg Pratt
end:vcard

Reply via email to