Status of FreeBSD CAM/MMC/SDIO?
Patrick Crilly
pcrilly at goodgas.com.au
Sun Jun 24 06:34:06 UTC 2018
On 24-Jun-18 3:00 PM, Russell Haley wrote:
>
>
> On Sat, Jun 23, 2018 at 7:57 PM, Patrick Crilly
> <pcrilly at goodgas.com.au <mailto:pcrilly at goodgas.com.au>> wrote:
>
> I was wondering if anyone knew what the current state of
> CAM/MMC/SDIO driver for Raspberry Pi is?
>
> I followed this link https://wiki.freebsd.org/SDIO and checked out
> FreeBSD current.
> I build a kernel using the GENERIC-MMCCAM conf file.
>
> dmesg produced the following regarding SDIO -
>
> (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_IF_COND to
> PROBE_SDIO_RESET
> (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_RESET
> (mmcprobe0:sdhci_slot0:0:0:0): SDIO_RESET: error 1, CCCR CTL
> register: 00000000
> (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_RESET to
> PROBE_SDIO_INIT
> (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_INIT
> (mmcprobe0:sdhci_slot0:0:0:0): SDIO_INIT: error 1, 00000000
> 00000000 00000000 00000000
> (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_INIT to
> PROBE_SEND_APP_OP_COND
>
> Just an uneducated guess: the zeros may indicate a missing dts file
> entry, or some other error in the Flattened Device Tree?
>
> I'd be interested to know the revision you're using
I downloaded this snapshot build for Raspberry Pi 3 -
FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20180605-r334665.img.xz and
loaded it onto a SD card.
I then built the kernel using the source from current and the
GENERIC_MMC conf file. I built the kernel natively, since I didn't have
a cross build machine setup.
I did just notice there's some updated snapshot builds, so will give
them a try.
I realise the SDIO drive is very much work in progress. Hoping someone
might be able to say where things are at.
>
> The output from camcontrol is
>
> root at generic:~ # camcontrol devlist -v
> scbus0 on sdhci_slot0 bus 0:
> <SDHC SC16G 8.0 SN 6BEFCB84 MFG 02/2018 > at scbus0 target 0
> lun 0 (pass0,sdda0)
> scbus-1 on xpt0 bus 0:
> <> at scbus-1 target -1 lun ffffffff (xpt0)
>
>
> Thanks,
> Patrick.
>
> --
> "With great power comes great electricity bill"
>
> _______________________________________________
> freebsd-arm at freebsd.org <mailto:freebsd-arm at freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>
> To unsubscribe, send any mail to
> "freebsd-arm-unsubscribe at freebsd.org
> <mailto:freebsd-arm-unsubscribe at freebsd.org>"
>
>
--
"With great power comes great electricity bill"
More information about the freebsd-arm
mailing list