Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2016 13:29:21 -0800
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        Ilya Bakulin <ilya@bakulin.de>
Cc:        Adrian Chadd <adrian.chadd@gmail.com>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, imp@freebsd.org, owner-freebsd-arm@freebsd.org
Subject:   Re: FreeBSD on the RaspberryPi 3
Message-ID:  <CAASDrVnws6qkacQ1aJWfZOt6kTK_ES13aUvOVAvHSaQAnXz%2BjQ@mail.gmail.com>
In-Reply-To: <437ca32e613c8ecc6825e6da18ca64b1@bakulin.de>
References:  <20160229225811.GB74374@server.rulingia.com> <20160301002249.GA61549@mutt-hardenedbsd> <CAJ-VmommYED=m9F76hGwUMkPwo%2Bzx0FmhL-n5Ru%2BSf8w63td=w@mail.gmail.com> <437ca32e613c8ecc6825e6da18ca64b1@bakulin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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 wit=
h
> 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 shap=
e.
>
> I'm doing this work in my spare time, so cannot make any promises, though=
.
>
> --
> Ilya
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>

--=20
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
=E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF=
=BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=
=AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=97=
=E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98=E5=
=8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3=82=
=8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81=BE=
=E3=81=99=E3=80=82
=E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96=E3=
=81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5=A0=
=B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE=
=E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE=E3=
=83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5=88=
=87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81
=E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE=E4=
=BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8=A8=
=98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81=84=
=E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C=E3=
=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3=81=
=97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82
---
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVnws6qkacQ1aJWfZOt6kTK_ES13aUvOVAvHSaQAnXz%2BjQ>