public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] SD/MMC Bus Driver
@ 2010-03-23  3:38 Slide
  2011-01-13  9:51 ` Stefan Sommerfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Slide @ 2010-03-23  3:38 UTC (permalink / raw)
  To: ecos-discuss

I'm going to try my hand at writing an SD/MMC bus driver for eCos and
contribute it. This will be the first real driver I've written for
eCos and I'd like some pointers. I've looked at a few drivers in Linux
and just code flows for the card initialization sequence and so forth.
For a single SD/MMC controller on a chip, there can be multiple cards
attached to the bus, and for a single chip, there can be multiple
SD/MMC controllers. I am not quite sure how to represent this in the
CDL and then the corresponding driver. I was thinking of defining a
host driver and then having a CDL integer number for the number of
SD/MMC controllers supported by the chip. Then, I was trying to figure
out a way to tell the disk bus driver which of those controllers to
check for cards.

My other thought is to start out more simple and support a single
controller on the chip and a single card attached to that controller,
then it could be expanded from there. Any thoughts from the community?

Thanks,

slide

-- 
slide-o-blog
http://slide-o-blog.blogspot.com/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] SD/MMC Bus Driver
  2010-03-23  3:38 [ECOS] SD/MMC Bus Driver Slide
@ 2011-01-13  9:51 ` Stefan Sommerfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Sommerfeld @ 2011-01-13  9:51 UTC (permalink / raw)
  To: Slide; +Cc: ecos-discuss

Hi Slice

> I'm going to try my hand at writing an SD/MMC bus driver for eCos and
> contribute it. This will be the first real driver I've written for
> eCos and I'd like some pointers. I've looked at a few drivers in Linux
> and just code flows for the card initialization sequence and so forth.
> For a single SD/MMC controller on a chip, there can be multiple cards
> attached to the bus, and for a single chip, there can be multiple
> SD/MMC controllers. I am not quite sure how to represent this in the
> CDL and then the corresponding driver. I was thinking of defining a
> host driver and then having a CDL integer number for the number of
> SD/MMC controllers supported by the chip. Then, I was trying to figure
> out a way to tell the disk bus driver which of those controllers to
> check for cards.
> 
> My other thought is to start out more simple and support a single
> controller on the chip and a single card attached to that controller,
> then it could be expanded from there. Any thoughts from the community?
> 

Did you make any progress on this? I need a SD card driver for a i.MX51 (which
has a sd simplified interface) and I'm willing to write one.

Maybe you or anyone else already has something as starting point.

Bye...

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2011-01-13  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-23  3:38 [ECOS] SD/MMC Bus Driver Slide
2011-01-13  9:51 ` Stefan Sommerfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).