MMC/SDIO stack under CAM

NGie Cooper yaneurabeya at gmail.com
Sun Jan 3 10:00:56 UTC 2016


> On Jan 3, 2016, at 01:55, Ilya Bakulin <ilya at bakulin.de> wrote:
> 
> So, more than one year has passed, and I'd like to resurrect this work
> and move forward.
> 
> I have uploaded a new diff and created a completely new revision to
> track the development: https://reviews.freebsd.org/D4761
> 
> What it is able to do now:
> 
> * Read/write on SD/SDHC/MMC cards!
> * Detect SDIO cards and create devices that correspond to SDIO functions
> 
> This all works only on BeagleBone currently, because some changes need
> to be done in each SDHCI-compliant driver to make it interact with CAM.
> I have purchased a Wandboard Quad that has an integrated SDIO WiFi chip,
> so I hope to tweak its SDHCI driver as well.
> 
> I haven't profiled the stack because:
> * Now we have only SD/MMC cards that are slow anyway;
> * I don't know how to do it in FreeBSD :-)

As for “I don’t know how…”, please take a look at the wiki pages on dtrace: https://wiki.freebsd.org/DTrace . ktr might be helpful as well...

Cheers!
-NGie


More information about the freebsd-arm mailing list