rzero: Update firmware

This should fix up the wifi and bluetooth
This commit is contained in:
Steev Klimaszewski
2022-04-30 14:57:09 -05:00
parent f8d3ce8188
commit 8e2d955421
6 changed files with 54 additions and 32 deletions

View File

@@ -1,32 +0,0 @@
#!/bin/bash
# uInitrd generator for U-Boot
# place this file to /etc/initramfs/post-update.d/ directory,
# and make it executable
# reference: https://forum.doozan.com/read.php?2,12096
uInitrd="/boot/uInitrd"
die(){
echo >&2 "Error: $@"
echo >&2 "uInitrd generation failed - exiting."
exit 1
}
if [ -e ${uInitrd} ]; then
rm -f ${uInitrd}
fi
echo "Generating uInitrd for U-Boot:"
if [ "$#" -eq 2 ]; then
if [ ! -z "$1" ] && [ -f "$2" ]; then
name="initramfs-$1"
file="$2"
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n ${name} -d ${file} ${uInitrd}
else
die "wrong arguments: '$1', '$2'"
fi
else
die "2 arguments required, $# provided"
fi

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,54 @@
#AP6212_NVRAM_V1.0_20140603
# 2.4 GHz, 20 MHz BW mode
# The following parameter values are just placeholders, need to be updated.
manfid=0x2d0
prodid=0x0726
vendid=0x14e4
devid=0x43e2
boardtype=0x0726
boardrev=0x1101
boardnum=22
macaddr=00:90:4c:c5:12:38
sromrev=11
boardflags=0x00404201
xtalfreq=26000
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=90
txpwrbckof=6
cckbw202gpo=0x5555
legofdmbw202gpo=0x77777777
mcsbw202gpo=0xaaaaaaaa
# OFDM IIR :
ofdmdigfilttype=7
# PAPD mode:
papdmode=2
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
#OOB parameters
hostwake=0x40
hostrdy=0x41
usbrdy=0x03
usbrdydelay=100
deadman_to=0xffffffff
# muxenab: 0x1 for UART enable, 0x10 for Host awake
muxenab=0x10
# CLDO PWM voltage settings - 0x4 - 1.1 volt
#cldo_pwm=0x4