Re: [U-Boot] [OT] - Solved : Memory Mapped CF Card (IDE) and Linux

2 May
2010
2 May
'10
11:20 p.m.
Hi,
I found how to access my Direct-Mapped CF Card (thanks to Alan Cox) and I think the solution to this particular case may be of some help to others here...
Linux 2.6 provides a primitive 'PATA Platform' driver (primitive in that it is a very low-level driver, not primitive in its code maturity). This driver only supports 16-bit access to the PATA device. My hardware has only 8 data bits of the CF card wired up. The solution is to tweak the PATA Platform data_xfer() funcitons slightly to replace the 16-bit I/O functions with 8-bit I/O functions.
More information can be found at (linux-ide archive):
http://www.spinics.net/lists/linux-ide/msg37519.html
Regards,
Graeme
5483
Age (days ago)
5483
Last active (days ago)
0 comments
1 participants
participants (1)
-
Graeme Russ