JFFS2 mounting

David Woodhouse dwmw2 at infradead.org
Mon Jun 19 08:56:33 EDT 2006


On Mon, 2006-06-19 at 14:41 +0200, Davide CASCONE wrote:
> I have an OMAP5912 OSK platform and I'm using Linux in XIP mode from a
> Sibley flash. I have the Linux OS image on the first flash bank and
> the JFFS2 root image on the second flash bank. I have configured the
> flash and the memory controller in burst mode and I have enabled the
> data cache on the flash. During the JFFS2 mounting phase I thought
> every read would have been performed in burst mode x8 (because the
> data cache is enabled), while it seems some reads are performed in
> asynchronous mode. Why are some reads performed in asynchronous mode?
> Does JFFS2 always use the low level driver read function
> (cfi_intelext_read) to read the flash? 

During mount, the current code should _never_ use the read function, if
it has a direct pointer to the flash chip which it can use instead.

-- 
dwmw2





More information about the linux-mtd mailing list