Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 16:33:57 +1000
From:      Patrick Crilly <pcrilly@goodgas.com.au>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Status of FreeBSD CAM/MMC/SDIO?
Message-ID:  <e92dc448-7b4e-9cab-6be3-65722889bc81@goodgas.com.au>
In-Reply-To: <CABx9NuSyOg7R%2BgQZViqWqb6thL_Mi3T6bE5bSikk6a1VzcVbUA@mail.gmail.com>
References:  <31736b31-bc31-67d2-aa41-431c79b8d538@goodgas.com.au> <CABx9NuSyOg7R%2BgQZViqWqb6thL_Mi3T6bE5bSikk6a1VzcVbUA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24-Jun-18 3:00 PM, Russell Haley wrote:
>
>
> On Sat, Jun 23, 2018 at 7:57 PM, Patrick Crilly 
> <pcrilly@goodgas.com.au <mailto:pcrilly@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@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@freebsd.org <mailto:freebsd-arm@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@freebsd.org
>     <mailto:freebsd-arm-unsubscribe@freebsd.org>"
>
>

-- 
"With great power comes great electricity bill"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e92dc448-7b4e-9cab-6be3-65722889bc81>