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 + 7M
| ~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