From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] sheevaplug SD card driver
Date: Thu, 18 Oct 2012 09:05:23 -0700 [thread overview]
Message-ID: <CAJSxfmJ3sD=DVZ162e1KAGrTbY21hRV5YaCMrzN8JPekXXs6gw@mail.gmail.com> (raw)
In-Reply-To: <c40b45d7b0f29a2d745dc34a97d8db8a@hamnavoe.com>
Thanks!!! I plan to try it out on sheeva and guru later today.
On Thu, Oct 18, 2012 at 5:42 AM, Richard Miller <9fans@hamnavoe.com> wrote:
> As a side effect of the raspberry pi work, I've produced an SD card
> driver for the sheevaplug (and presumably other kirkwood platforms).
> It's in two sections: the top layer does the card protocol and is
> identical between rpi and kw (could go into /sys/src/9/port?), while
> the lower layer does the host sdio interface. The two layers link via
> the usual table of functions, so if we encounter a platform with more
> than one sd host interface [anybody seen one?] it won't be hard to
> cope with.
>
> Would anyone with a sheevaplug or similar, and a collection of SD
> cards, like to try it out before I submit a patch? Source is in
> /n/sources/contrib/miller/9/kw, and if you haven't pulled kernel
> sources recently you'll need to update /sys/src/9/port/sd.h as well.
> The drive appears as '#S/sdM0', and a FAT-formatted SD card can be
> mounted simply by doing "diskparts; dosmnt 1 /n/sd". You can of
> course hot-swap cards without rebooting, but don't forget to unmount
> first.
>
> Although the driver is called sdmmc.c, it handles only SD cards and
> not the older MMC standard. I think it's only a matter of slightly
> different initialisation, but I haven't got an actual MMC card to
> test it with. If anyone cares enough to send me one, I'll see if
> I can make that work too.
>
>
next prev parent reply other threads:[~2012-10-18 16:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 12:42 Richard Miller
2012-10-18 13:46 ` Gorka Guardiola
2012-10-18 14:24 ` David du Colombier
2012-10-19 13:36 ` Richard Miller
2012-10-19 13:47 ` erik quanstrom
2012-10-19 14:00 ` Richard Miller
2012-10-19 15:30 ` erik quanstrom
2012-10-19 15:39 ` Richard Miller
2012-10-19 15:46 ` erik quanstrom
2012-10-19 16:03 ` Richard Miller
2012-10-19 21:30 ` Charles Forsyth
2012-10-19 21:49 ` erik quanstrom
2012-10-19 21:59 ` Charles Forsyth
2012-11-10 12:20 ` Richard Miller
2012-10-18 16:05 ` Skip Tavakkolian [this message]
2012-10-19 15:21 lucio
2012-10-19 15:33 ` Richard Miller
2012-10-19 16:01 ` lucio
2012-10-19 15:39 ` Skip Tavakkolian
2012-11-10 13:24 Erik Quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJSxfmJ3sD=DVZ162e1KAGrTbY21hRV5YaCMrzN8JPekXXs6gw@mail.gmail.com' \
--to=skip.tavakkolian@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).