Bug#844056: Missing brcmfmac43362-sdio.txt stops wireless working

2017-06-05 Thread Ben Hutchings
On Sat, 12 Nov 2016 04:23:18 + Wookey  wrote:
[...]
> There may well be more that one variant of this for different boards,
> but this one covers several, probably everything using the ap6210.
[...]
> macaddr=00:90:4c:07:71:12
[...]

...as long as you don't ever use two of the same network, right? :-)

Ben.

-- 
Ben Hutchings
Every program is either trivial or else contains at least one bug



signature.asc
Description: This is a digitally signed message part


Bug#844056: Missing brcmfmac43362-sdio.txt stops wireless working

2017-06-05 Thread Ben Hutchings
Control: tag -1 wontfix

On Sat, 12 Nov 2016 04:23:18 + Wookey  wrote:
> Package: firmware-brcm80211
> Version: 20160824-1
> Severity: normal
> 
> The firmware file brcm/brcmfmac43362-sdio.bin is available in the
> package, but the driver brcmfmac (at least on cubietruck and maybe
> always) does not work unless the file brcmfmac43362-sdio.txt is also
> supplied.
[...]

This file is machine-specific, so we should not just install a version
that's known to work on one particular machine.

In theory we could collect versions for different machines and symlink
the right one into place at install time based on machine ID.  But I
think that's beyond the scope of this package.

Ben.

-- 
Ben Hutchings
Every program is either trivial or else contains at least one bug



signature.asc
Description: This is a digitally signed message part


Bug#844056: Missing brcmfmac43362-sdio.txt stops wireless working

2017-04-02 Thread Helmar Gerloni
Same here on Raspberry Pi 3 B, Raspbian Stretch, firmware-brcm80211 20161130-2.

Getting brcmfmac43430-sdio.txt (and brcmfmac43430-sdio.bin) from
https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm
makes Wifi work again.

See also https://www.raspberrypi.org/forums/viewtopic.php?t=150543



Bug#844056: Missing brcmfmac43362-sdio.txt stops wireless working

2016-11-11 Thread Wookey
Package: firmware-brcm80211
Version: 20160824-1
Severity: normal

The firmware file brcm/brcmfmac43362-sdio.bin is available in the
package, but the driver brcmfmac (at least on cubietruck and maybe
always) does not work unless the file brcmfmac43362-sdio.txt is also
supplied.

See the thread here for details: 
https://groups.google.com/forum/#!topic/linux-sunxi/NngIhT-ELVc

That says that for the sdio version of this device the rom/nvram is
normally not fitted so the OS has to provide the config, from this
text file. 

It also suggests that the best thing to do is put it in the firmware
package, next to the corresponding firmware.

There may well be more that one variant of this for different boards,
but this one covers several, probably everything using the ap6210.

The file is available from
http://dl.cubieboard.org/public/Cubieboard/benn/firmware/ap6210/nvram_ap6210.txt

and looks like this.
#AP6210_NVRAM_V1.2_03192013
manfid=0x2d0
prodid=0x492
vendid=0x14e4
devid=0x4343
boardtype=0x0598

# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P
307 as the tssi pa params used are same
#Please force the automatic RX PER data to the respective board directory if not
 using P307 board, for e.g. for P305 boards force the data into the following di
rectory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305
boardrev=0x1307
boardnum=777
xtalfreq=26000
boardflags=0x80201
boardflags2=0x80
sromrev=3
wl0id=0x431b
macaddr=00:90:4c:07:71:12
aa2g=1
ag0=2
maxp2ga0=74
cck2gpo=0x
ofdm2gpo=0x
mcs2gpo0=0x
mcs2gpo1=0x
pa0maxpwr=56

#P207 PA params
#pa0b0=5447
#pa0b1=-658
#pa0b2=-175

#Same PA params for P304,P305, P306, P307

pa0b0=5447
pa0b1=-607
pa0b2=-160
pa0itssit=62
pa1itssit=62


cckPwrOffset=5
ccode=0
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
triso2g=0
noise_cal_enable_2g=0
noise_cal_po_2g=0
swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff
temp_add=29767
temp_mult=425

btc_flags=0x6
btc_params0=5000
btc_params1=1000
btc_params6=63


-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64, armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)