Skip to contentSkip to conversation

compact flash and true IDE mode

DISCUSSION Dan Brennan 3 participants 3 messages Jun 14, 2002 – Jun 17, 2002

lore
Share & tools
lore
#0 lore raw

We are building a 405GPr based system with compactFlash as the storage device. Since there is no embedded PCMCIA support on the 405GPr we decided to deploy the CF in *true IDE mode*. However, I have not found any support for true IDE mode in the sources. Is anyone using CF in this mode? Any recommendations?

Thanks,
Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 2 lines · Dan Brennan

....Is anyone using CF in this
mode? Any recommendations?

Yes, I see this quite frequently on products I help integrate. You just need the right IDE board support functions to initialize a few things and the standard IDE drivers "just work." Take a look at the work Matthew Locke did for the MPC8xx IDE. If you find yourself writing more than about 50 lines of total code in these few setup functions, you're likely trying too hard :-)

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Dan Brennan

Hi Dan,

take a look into the CPCI405 target support in the recent devel tree. We use a mem'mapped CF card as storage device on many of our boards.

The file linux/drivers/ide/cpci405.c should be a good starting point for your work.

Matthias

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/