FreeBSD on the RaspberryPi 3
Lundberg, Johannes
johannes at brilliantservice.co.jp
Mon Mar 7 21:29:38 UTC 2016
Hi Ilya
Great work! I am eager to start using the eMMC on my Intel Atom board so
whatever I can do to help.
This board uses ACPI by default so I started working on a sdhci_acpi driver
but it is also possible to switch to PCI in BIOS. However, with PCI mode
and the original FreeBSD 11 code or your patch, it can't detect the MMC
memory chip (which is soldered to the board).
I wonder if that is related to the problem they have on Linux
http://permalink.gmane.org/gmane.linux.kernel.mmc/35512
Simply, it says like this:
"Intel BXT/APL use a card detect GPIO however the host controller
will not enable bus power unless it's card detect also reflects
the presence of a card. Unfortunately those 2 things race which
can result in commands not starting, after which the controller
does nothing and there is a 10 second wait for the driver's
10-second timer to timeout.
That is fixed by having the driver look also at the present state
register to determine if the card is present. Consequently, provide
a 'get_cd' sdhci host operation for BXT/APL that does that."
Will your patch take this into consideration? If you need a board for
testing, let me know.
On Wed, Mar 2, 2016 at 3:37 AM, Ilya Bakulin <ilya at bakulin.de> wrote:
> On 2016-03-01 03:07, Adrian Chadd wrote:
>
>> Someone ordered me one, so I can take a crack at the broadcom sdio bits.
>>
>> It'll require the ARM SDIO driver to first work..
>>
>>
> Actually SDIO support I'm working on is not ARM-specific, it can work with
> any SDHC driver FreeBSD already has support for.
>
> With the release of RPi3 I'm kinda feel really motivated to finish SDIO
> implementation ASAP. I've already ordered one board yesterday.
>
> Anyone who wants to track progress just keep an eye on
> https://reviews.freebsd.org/D4761.
> Short summary: my stack is already able to init SDIO cards and do data
> transfers. I need to implement some missing bits, but it's in a good shape.
>
> I'm doing this work in my spare time, so cannot make any promises, though.
>
> --
> Ilya
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
More information about the freebsd-arm
mailing list