problem using jffs2 on DiskOnChip

Carl Wolff wolff at turnkiek.nl
Thu Dec 19 10:29:33 EST 2002


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
> 
> 
> 




More information about the linux-mtd mailing list