public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux
@ 2010-04-30 14:11 Graeme Russ
  2010-04-30 19:27 ` Mike Frysinger
  2010-05-01  3:24 ` Marek Vasut
  0 siblings, 2 replies; 3+ messages in thread
From: Graeme Russ @ 2010-04-30 14:11 UTC (permalink / raw)
  To: u-boot

Hi All,

I'm looking for information on how to access a Compact Flash card which is
memory-mapped (from 0x20001000)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux
  2010-04-30 14:11 [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux Graeme Russ
@ 2010-04-30 19:27 ` Mike Frysinger
  2010-05-01  3:24 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-04-30 19:27 UTC (permalink / raw)
  To: u-boot

On Friday 30 April 2010 10:11:53 Graeme Russ wrote:
> I'm looking for information on how to access a Compact Flash card which is
> memory-mapped (from 0x20001000)
> 
> From what I have read, there a 3 address lines (8 addresses) which access
> IDE registers within the CF chip
> 
> My question is, how do I access such a custom address range within Linux?

wouldnt this be a better question posted to lkml and/or the linux-ide lists ?

> I'm looking at the 'OF-platform PATA driver' which appears to be what I
> want (a very basic IDE driver) but I am a bit lost on how to set up a
> specific base address.
> 
> Where should I look for examples of CF cards mapped to specific address
> spaces?

we do it on the Blackfin quite a bit using the pata platform driver:
http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:cf-ide-nand
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100430/31886563/attachment.pgp 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux
  2010-04-30 14:11 [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux Graeme Russ
  2010-04-30 19:27 ` Mike Frysinger
@ 2010-05-01  3:24 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2010-05-01  3:24 UTC (permalink / raw)
  To: u-boot

Dne P? 30. dubna 2010 16:11:53 Graeme Russ napsal(a):
> Hi All,
> 
> I'm looking for information on how to access a Compact Flash card which is
> memory-mapped (from 0x20001000)
> 
> From what I have read, there a 3 address lines (8 addresses) which access
> IDE registers within the CF chip
> 
> My question is, how do I access such a custom address range within Linux?
> 
> I'm looking at the 'OF-platform PATA driver' which appears to be what I
> want (a very basic IDE driver) but I am a bit lost on how to set up a
> specific base address.
> 
> Where should I look for examples of CF cards mapped to specific address
> spaces?
> 
> TIA

Hey, look at pata_platform.c driver. Without any additional setup, your drive 
will work. You just specify IRQ line (if any) and CTL and CMD addresses.

Cheers
> 
> Graeme
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-01  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30 14:11 [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux Graeme Russ
2010-04-30 19:27 ` Mike Frysinger
2010-05-01  3:24 ` Marek Vasut

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