Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rpi0w wifi



On Wed, Feb 19, 2020 at 08:43:36AM +0000, Luke Ross wrote:
> Hi,
> 
> On Tue, 2020-02-18 at 23:14 +0100, Harold Gutch wrote:
> > On Fri, Feb 14, 2020 at 09:43:43AM +0100, Harold Gutch wrote:
> > > Just to confirm, I am seeing the same as you (CRC errors on sdhc0,
> > > no
> > > bwfm) with both the 202002081050Z and the 202002130840Z build on an
> > > RPi-0W.  I'll try to find some time over the weekend to find the
> > > commit that broke it.
> > 
> > It's the .dtb.  A new set of .dts files was imported on January 3,
> > reverting to bcm2835-rpi-zero-w.dtb from January 2 makes bwfm show up
> > again.  With the attached patch applied I also see bwfm again.  In
> > terms of the dts files as in the tree, it esems to me this should go
> > after
> > l. 114 in src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/bcm2835-
> > rpi-zero-w.dts
> > but I haven't tested this.
> 
> A good find! I can confirm that applying your patch and rebuilding the
> dtb works for my 0W.

Apparently it's indeed missing in the upstream dts files too, this is
the commit where it got lost:

  https://github.com/torvalds/linux/commit/e7774049ff255c8ba72bcee9c7ab307a95e8d7bc#diff-6e4cee1ec838eb35b50721497deed6e2

Up until then there was a "general" sdhci node in bcm2835-rpi.dtsi and
there were board specific ones in bcm2835-rpi-zero-w.dts etc.  The one
in bcm2835-rpi.dtsi never defined pinctrl-names property in the sdhci
node, this came (up to then) from bcm2835-rpi.dtsi.  But when that was
dropped, it didn't get added to bcm2835-rpi-zero-w.dts.
bcm2837-rpi-3-{a,b,b-plus}.dts have always had pinctrl-names="default"
in the sdhci nodes so my guess is that it *should* also be in the
zero-w.dts and this is an upstream bug.

I wonder if Wifi still works on Linux on the RPi-0W with the latest
.dtb files.


  Harold


Home | Main Index | Thread Index | Old Index