Problems with 2430 NAND prefetch engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to use the NAND prefetch engine to speed up NAND access.

In GPMC CS0 is the NAND chip. GPMC_CONFIG7_0 is set to 0x0000084c by
u-boot. Hence the address for this CS should be 0x0C000000.
Documentation indicates that the FIFO should be accessible in any
associated chip-select region after the engine has been enabled.

In linux I use ioremap() to map 0x0C000000 and use the returned
pointer to access the prefetch engine FIFO.

Prefetch engine is configured and started.
I get FIFOEVENT interrupt from it and try to read the fifo by using
this ioremap's pointer but kernel crashes with:

Unhandled fault: external abort on non-linefetch (0x008) at 0xc4854000
0xc4854000 corresponds to the pointer ioremap() returned.

Apparently I miss something either in HW or kernel but I cannot think
of anything.
Conventional access to the NAND chip through COMMAND/ADDRESS/DATA
registers works ok.
Any ideas would be appreciated.

 - Juha

-- 
Madness takes it's toll. Please have exact change.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux