Bug#915808: Current dtb for raspberry pi 3b doesn't allow wifi to be used

2018-12-06 Thread Santiago Garcia Mantinan
Package: src:linux
Version: 4.18.20-2
Severity: normal
Tags: patch

Hi!

After kernel 4.17 the dtb for raspberry pi 3 b is not ok and thus the wifi
is not found and cannot be used.

Looking at the differences from 4.17 to 4.18 I have discovered that if you
revert this single patch affecting only the pi3b model the wifi is
discovered and works again.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/bcm2837-rpi-3-b.dts?id=b1b8f45b3130dbd8704e5ea0d82b49b1d929498e

I have tested this both on Linus kernel 4.20-rc5 and on Debian 4.19.5 as
currently on experimental, on both reverting this patch makes the wifi work
again.

Regards

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
Device Tree model: Raspberry Pi 3 Model B Rev 1.2

** PCI devices:
not available

** USB devices:
Bus 001 Device 006: ID 0bc2:2322 Seagate RSS LLC 
Bus 001 Device 005: ID 0b95:772b ASIX Electronics Corp. AX88772B
Bus 001 Device 004: ID 0939:0b15 Lumberg, Inc. Toshiba Stor.E Alu 2
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast 
Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 4.19.5 (SMP w/4 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-4.18.0-3-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.132
ii  kmod25-2
ii  linux-base  4.5

Versions of packages linux-image-4.18.0-3-arm64 recommends:
ii  apparmor 2.13.1-3+b1
ii  firmware-linux-free  3.4
ii  irqbalance   1.5.0-0.1

Versions of packages linux-image-4.18.0-3-arm64 suggests:
pn  debian-kernel-handbook  
pn  linux-doc-4.18  

Versions of packages linux-image-4.18.0-3-arm64 is related to:
pn  firmware-amd-graphics 
pn  firmware-atheros  
pn  firmware-bnx2 
pn  firmware-bnx2x
ii  firmware-brcm8021120180825+dfsg-1
pn  firmware-cavium   
pn  firmware-intel-sound  
pn  firmware-intelwimax   
pn  firmware-ipw2x00  
pn  firmware-ivtv 
pn  firmware-iwlwifi  
pn  firmware-libertas 
pn  firmware-linux-nonfree
pn  firmware-misc-nonfree 
pn  firmware-myricom  
pn  firmware-netxen   
pn  firmware-qlogic   
ii  firmware-realtek  20180825+dfsg-1
pn  firmware-samsung  
pn  firmware-siano
pn  firmware-ti-connectivity  
pn  xen-hypervisor

-- no debconf information



Bug#915808: Current dtb for raspberry pi 3b doesn't allow wifi to be used

2018-12-09 Thread Stefan Wahren
Hi Santiago,

Am 07.12.18 um 00:16 schrieb Santiago Garcia Mantinan:
> Package: src:linux
> Version: 4.18.20-2
> Severity: normal
> Tags: patch
>
> Hi!
>
> After kernel 4.17 the dtb for raspberry pi 3 b is not ok and thus the wifi
> is not found and cannot be used.
>
> Looking at the differences from 4.17 to 4.18 I have discovered that if you
> revert this single patch affecting only the pi3b model the wifi is
> discovered and works again.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/bcm2837-rpi-3-b.dts?id=b1b8f45b3130dbd8704e5ea0d82b49b1d929498e
>
> I have tested this both on Linus kernel 4.20-rc5 and on Debian 4.19.5 as
> currently on experimental, on both reverting this patch makes the wifi work
> again.
>
>
this issue has already been reported here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911443

The proper fix has been applied to linux-next:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20181206&id=e25b6783c7b1bb79103d4617336879423f86b05e

The fix should be applied to 4.19 and 4.20 soon.

Regards
Stefan