problem using jffs2 on DiskOnChip

Brian Austin brian at atllc.net
Thu Dec 19 07:21:38 EST 2002


On Thursday 19 December 2002 09:29, Carl Wolff wrote:

use ext3 instead.  Depending onhow big your chip is.
or reiserfs


> Hello David,
>
> OK. Two questions:
> 1) Does JFFS2 actually work on a DiskOnChip?
> 2) Other alternatives? We need a powersafe filesystem on DiskOnChip.
>
>
> Thanks, and happy newyear, I'm going on holiday now.
>
> Carl.
>
> > -----Original Message-----
> > From: David Woodhouse [mailto:dwmw2 at redhat.com]On Behalf Of David
> > Woodhouse
> > Sent: donderdag 19 december 2002 11:14
> > To: wolff at turnkiek.nl
> > Cc: linux-mtd at lists.infradead.org
> > Subject: Re: problem using jffs2 on DiskOnChip
> >
> > wolff at turnkiek.nl said:
> > > Short read: 0x10 bytes at 0x000001f0 instead of requested 44
> >
> > The DiskOnChip hardware driver hasn't been used much with
> > anything other
> > than NFTL. It appears not to do a full read if you ask it to
> > read a range
> > of data which crosses a page boundary. Fix it accordingly by
> > putting an
> > appropriate loop in instead of...
> >
> >         /* Don't allow a single read to cross a 512-byte
> > block boundary */
> >         if (from + len > ((from | 0x1ff) + 1))
> >                 len = ((from | 0x1ff) + 1) - from;
> >
> > --
> > dwmw2
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/





More information about the linux-mtd mailing list