public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* squashfs: issue mounting with dma enabled
@ 2018-05-27 18:58 Angelo Dureghello
  0 siblings, 0 replies; only message in thread
From: Angelo Dureghello @ 2018-05-27 18:58 UTC (permalink / raw)
  To: linux-mtd

Dear all,

i am testing a new dma driver, named mcf-edma, for the
ColdFire mcf5441x family of SoC's. The driver is still
by the way under approval on dmaengine mailing list.

https://www.spinics.net/lists/dmaengine/msg15416.html

Mainly, i am testing it with fsl-dspi.c, reading by an 
spi-nor flash.

With DMA enabled, mounting a simple 200KB squashfs i get:

/ # mount /dev/mtdblock2 squashfs
[ 1186.310000] SQUASHFS error: squashfs_read_data failed to read block 0x42e7d
[ 1186.310000] SQUASHFS error: Unable to read metadata cache entry [42e7d]
[ 1186.320000] SQUASHFS error: Unable to read inode 0x17dc
mount: mounting /dev/mtdblock2 on squashfs failed: Input/output error

>From some traces,
spi frame lengths seems fixed to 517, and the read length is always 517.

While, with same setup (DMA enabled) if i read a predefined pattern
by "hexdump -C -n4096 /dev/mtdblock2" i read perfectly the written
pattern.

Every help is appreciated,

Regards,
Angelo Dureghello

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-27 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-27 18:58 squashfs: issue mounting with dma enabled Angelo Dureghello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox