[Arm-dev] New kernel?

Tue Mar 7 09:45:37 UTC 2017
Fabian Arrotin <arrfab at centos.org>

On 06/03/17 23:19, Jacco Ligthart wrote:
> On 27-02-17 13:40, Fabian Arrotin wrote:
>>
>> In parallel I've built linux-firmware as there is now the needed
>> broadcom fw for wifi in the pi3
>> (http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/brcm?id=c4c07a8d1128d50a5c2885ceea1abbebaa82f820)
>> Those linux-firmware packages are now sent to signing queue so will
>> appear on mirror.centos.org soon (hopefully)
>>
> 
> Does this work for you?
> I see both on the pi3 as on the pi0W a message:
> Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
> 
> Apparently this file can be found here:
> https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm
> 
> I am thinking of making a separate brcm firmware package and revert
> linux-firmware back to the RHEL version.
> I found some prior art for this:
> https://build.opensuse.org/package/view_file/hardware/bcm43xx-firmware/bcm43xx-firmware.spec
> 
> Jacco

Yes, it works, but it indeed still needs the .txt file so while the
firmware blob is in linux-firmware upstream, I'll modify the image
creation for rpi3 to also create that file :

cat > $ROOTPATH/usr/lib/firmware/brcm/brcmfmac43430-sdio.txt << EOF
# NVRAM file for BCM943430WLPTH
# 2.4 GHz, 20 MHz BW mode

# The following parameter values are just placeholders, need to be updated.
manfid=0x2d0
prodid=0x0727
vendid=0x14e4
devid=0x43e2
boardtype=0x0727
boardrev=0x1101
boardnum=22
#macaddr=00:90:4c:c5:12:38
sromrev=11
boardflags=0x00404201
boardflags3=0x08000000
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
ccode=ALL

pa0itssit=0x20
extpagain2g=0
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
pa2ga0=-168,7161,-820
AvVmid_c0=0x0,0xc8
cckpwroffset0=5

# PPR params
maxp2ga0=84
txpwrbckof=6
cckbw202gpo=0
legofdmbw202gpo=0x66111111
mcsbw202gpo=0x77711111
propbw202gpo=0xdd

# OFDM IIR :
ofdmdigfilttype=18
ofdmdigfilttypebe=18
# PAPD mode:
papdmode=1
papdvalidtest=1
pacalidx2g=42
papdepsoffset=-22
papdendidx=58

# LTECX flags
ltecxmux=0
ltecxpadnum=0x0102
ltecxfnsel=0x44
ltecxgcigpio=0x01

il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b

deadman_to=0xffffffff
# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
muxenab=0x1
# CLDO PWM voltage settings - 0x4 - 1.1 volt
#cldo_pwm=0x4

#VCO freq 326.4MHz
spurconfig=0x3

edonthd20l=-75
edoffthd20ul=-80

EOF



-- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20170307/c844382b/attachment-0006.sig>