What is the state of FreeBSD on the SheevaPlug?

Ruben de Groot mail25 at bzerk.org
Tue May 11 12:05:42 UTC 2010


Hi Rafal,

On Tue, Feb 23, 2010 at 10:25:04PM +0100, Rafal Jaworowski typed:
> 
> > Rafal: is the SD driver available as a patch, as long as it's not in
> > the main tree? Being able to boot from SD cards would be an almost
> > ideal solution, second only to internal flash (which is still way off
> > due to lack of a NAND filesystem, I know).
> 
> There isn't ready to apply patch, sorry; while the SD/MMC driver itself is a pretty self-contained piece of code (http://people.freebsd.org/~raj/misc/mv_sdio.c), there are extensions and updates required to the GPIO code to make it work (some MMC lines go through the GPIO, we need to handle debouncing for presence detect signals and so on); we have other local GPIO modifications, and this is where some work is required to distill, clean up and reintagrate with HEAD.
> 
> Keep nagging me about it and I'll finally complete the integration :-)

I've been developing and testing an application on the plug, both on Linux and FreeBSD. Linux is a PITA, but it does support the SD card. Running FreeBSD from an NFS mount gives me everything I want, quite stable, but no way to sell these devices in a standalone way as we can't store any data inbetween reboots (USB port is in use by a GSM device).
So getting the SD card working would be great. I've seen some commits lately in the gpio and mmc area but still no support for the Marvell SD. Tried even to compile your mv_sdio.c driver into the dev/mmc directory (adding appropriate changes to conf/files and mudules/mv_sdio), but I'm just not experienced enough for this kind of thing.

The code to me seems to be using a lot of "undeclared identifiers", for which I haven't found any #defines anywhere. Is there some header files that you haven't published or is this just too unfinished to test?

Anyway, as you might have noticed, I would really like to get SD support for the sheevaplug working on FreeBSD. If there's anything I can do to help here (including a little financial sponsorship), please let me know.

Kind regards,
Ruben


More information about the freebsd-arm mailing list