Date: Tue, 02 Jul 2013 22:09:46 +0200 From: Ilya Bakulin <ilya@bakulin.de> To: Warner Losh <imp@bsdimp.com> Cc: Alexander Motin <mav@FreeBSD.org>, freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: [PATCH] SDIO support for Globalscale Dreamplug Message-ID: <51D3338A.1010304@bakulin.de> In-Reply-To: <C92CE8E1-75A0-459F-95DA-956D03DCB2E2@bsdimp.com> References: <20130702145905.GA1847@olymp.kibab.com> <51D3097A.8010601@FreeBSD.org> <51D3282C.1090701@bakulin.de> <C92CE8E1-75A0-459F-95DA-956D03DCB2E2@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02.07.13 21:34, Warner Losh wrote: > > On Jul 2, 2013, at 1:21 PM, Ilya Bakulin wrote: >> The SDIO card found in the Dreamplug has three functions, one of them is >> Bluetooth. >> Will try to find some docs / Linux code for that... > > I'll see if I can dig mine up as well. This sounds like a fun project.. > Seems like Marvell Bluetooth is not a standard one. The support code for it in the Linux kernel is [1], while generic driver is [2]. Marvell uses a loadable firmware to bring the module to life. The firmware seems to be shared between Wi-Fi and Bluetooth module. Implementing firmware upload seems to be implementable using our standard firmware(9) interface, so I will need to embed the firmware into the kernel. I cannot use loadable modules because I boot my kernel via NFS. Of course, Bluetooth support can be implemented only when the SDIO infrastructure is ready, so this is the highest priority for me atm :-) [1] https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btmrvl_sdio.c [2] https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btsdio.c -- Regards, Ilya Bakulin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D3338A.1010304>