Hi,

I am having an embedded system using Compact Flash device.
I am trying to figure out what is the right driver to access the CF.

The HW configuration is as following:
The CF is connected directly to MPC8250 CPU (PowerQUICC II,
Freescale), via (60x bus).
It is connected in Memory mapped Mode, with 16-bit data lines interface.

CF is connected directly to CPU like SDRAM on 60x bus.
The memory controller of the MPC8250 is utilized for controlling accesses to CompactFlash without the aid of a PCMCIA or ATA controller device.

It has to work in polling mode.
I am using linux 2.6.22 version.

The questions I have:
1. What is the appropriate driver? Is there any driver avilable in linux to make use for
this mode?
Is there any procedure, how integrate compact flash?

I am confused here which one to use SCSI,ata,IDE interface.

2. I have working u-boot cf driver, which has read and write routines which does raw read/write from CF ?

I could able to boot(u-boot) system from CF.

How to port CF driver from u-boot to linux?

I am struggling here for this.

Please help me in this regard...

Thank you very much for your help in advance

With Best Regards

Shesh
__________________________
Shesh

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

December 2009, #188

If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.


Read this issue