1 Aug 2003 11:55
Re: DiskOnChip 2000 and CVS Drivers
David Woodhouse <dwmw2 <at> infradead.org>
2003-08-01 09:55:49 GMT
2003-08-01 09:55:49 GMT
On Thu, 2003-07-31 at 18:32, Philippe wrote: > Now I want to use two partitions (there is a similar post but it's > pretty old and there were no real answer) : > - 2Mb (NFTL/EXT2) kernel + initrd.gz (RO) > - 30Mb (JFFS/JFFS2) config files, log files etc... (RW) There _is_ no real answer at the moment. We're working on it though. The new DiskOnChip translation layer, INFTL, does contain a kind of partitioning scheme of its own, which makes this kind of thing easier. I think if we declare a 'binary partition' we should be able to use JFFS2 on it -- we're _supposed_ to have magic stuff in the spare area of each block but we should be able to omit that since nothing will be actually checking for it. So I think what we need to do is make the DiskOnChip/INFTL code register multiple partitions as separate MTD devices, according to what it finds in the INFTL media header. M-Systems recommend that we use the original (non-partition-capable) NFTL on the older devices, just as their tools do. I suppose if you're using JFFS2 then compatibility with the status quo isn't really a priority for you, so that's not an issue. It may affect the bootstrap using their BIOS though -- I'm not sure. You may need to use Grub, which doesn't yet have INFTL support; only NFTL. > I read (the last two weeks) that setting up JFFS2 on DOC is tricky. > I saw several posts (from 2001) with patches to build a > FAKE_PARTITION_SYSTEM. I wasn't able to set it up with my 2.4.20 > kernel and MTD stuff.(Continue reading)
RSS Feed