asus-tf101: enable wifi (MR 1534)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
a96b1f87f9
commit
e40ecc2fc2
3 changed files with 105 additions and 5 deletions
|
@ -2,21 +2,34 @@
|
||||||
pkgname=device-asus-tf101
|
pkgname=device-asus-tf101
|
||||||
pkgdesc="Asus Eee Pad Transformer"
|
pkgdesc="Asus Eee Pad Transformer"
|
||||||
pkgver=0.2
|
pkgver=0.2
|
||||||
pkgrel=9
|
pkgrel=10
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-asus-tf101 mkbootimg blobtools"
|
depends="postmarketos-base linux-asus-tf101 mkbootimg blobtools"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="deviceinfo"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
source="deviceinfo nvram_4329.txt modules-load.conf"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdir $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
nonfree_firmware() {
|
||||||
devicepkg_package $startdir $pkgname
|
pkgdesc="Wifi firmware"
|
||||||
|
depends="firmware-aosp-broadcom-wlan"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
install -D -m644 "$srcdir"/nvram_4329.txt \
|
||||||
|
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd/bcm4329/nvram_4329.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="4e4a8e4202cff822e18c1da82abf65f8cdbfc6e34acd6386940b976e0a45da30c0b7aab6a73f8bc3fc9430284678fe64eb967a94543be175103b11acf036bbf3 deviceinfo"
|
package() {
|
||||||
|
devicepkg_package $startdir $pkgname
|
||||||
|
install -Dm644 "$srcdir"/modules-load.conf \
|
||||||
|
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="4e4a8e4202cff822e18c1da82abf65f8cdbfc6e34acd6386940b976e0a45da30c0b7aab6a73f8bc3fc9430284678fe64eb967a94543be175103b11acf036bbf3 deviceinfo
|
||||||
|
d2da77986b419abd225349b5dea197b427de15e530021bf8f81e00a8c519d1a66cf92643b75aa396dccda78496ddd070a73ef91243af8bf78f839d21e6792546 nvram_4329.txt
|
||||||
|
49645401e265f49cb942ef899f6ad80eb52c5b94c9eca5c311dcc3d64e0da49fa905674f3e5dc228fd2c4f3162f0c76b2a6fbab9a531031c2b21b27c57ce3ba2 modules-load.conf"
|
||||||
|
|
1
device/testing/device-asus-tf101/modules-load.conf
Normal file
1
device/testing/device-asus-tf101/modules-load.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
bcmdhd
|
86
device/testing/device-asus-tf101/nvram_4329.txt
Normal file
86
device/testing/device-asus-tf101/nvram_4329.txt
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
sromrev=3
|
||||||
|
vendid=0x14e4
|
||||||
|
devid=0x432f
|
||||||
|
boardtype=0x57e
|
||||||
|
|
||||||
|
# board revision 1.1
|
||||||
|
boardrev=0x11
|
||||||
|
|
||||||
|
# boardflags
|
||||||
|
boardflags=0x10000200
|
||||||
|
boardflags2=0x00400000
|
||||||
|
|
||||||
|
# specify the xtalfreq if it is otherthan 38.4MHz
|
||||||
|
xtalfreq=37400
|
||||||
|
|
||||||
|
aa2g=3
|
||||||
|
aa5g=1
|
||||||
|
|
||||||
|
ag0=0x82
|
||||||
|
ag1=0x84
|
||||||
|
|
||||||
|
# 11g paparams
|
||||||
|
pa0b0=5107
|
||||||
|
pa0b1=64308
|
||||||
|
pa0b2=65182
|
||||||
|
pa0itssit=62
|
||||||
|
pa0maxpwr=66
|
||||||
|
opo=0
|
||||||
|
mcs2gpo0=0x2222
|
||||||
|
mcs2gpo1=0x2222
|
||||||
|
|
||||||
|
# sel = 1 : 20% evm sel = 2 : 27% evm sel = 3 : 16% evm
|
||||||
|
cckdigfilttype=1
|
||||||
|
|
||||||
|
# 11a paparams lowband
|
||||||
|
pa1lob0=6654
|
||||||
|
pa1lob1=63794
|
||||||
|
pa1lob2=65134
|
||||||
|
# paparams midband
|
||||||
|
pa1b0=5970
|
||||||
|
pa1b1=63982
|
||||||
|
pa1b2=65122
|
||||||
|
#paparams high band
|
||||||
|
pa1hib0=5910
|
||||||
|
pa1hib1=63998
|
||||||
|
pa1hib2=65130
|
||||||
|
|
||||||
|
pa1itssit=62
|
||||||
|
pa1maxpwr=60
|
||||||
|
opo=0
|
||||||
|
mcs5gpo=0x22222222
|
||||||
|
|
||||||
|
# 11g rssi params
|
||||||
|
rssismf2g=0xa
|
||||||
|
rssismc2g=0xb
|
||||||
|
rssisav2g=0x3
|
||||||
|
bxa2g=0
|
||||||
|
|
||||||
|
# 11a rssi params
|
||||||
|
rssismf5g=0x8
|
||||||
|
rssismc5g=0x6
|
||||||
|
rssisav5g=0x0
|
||||||
|
bxa2g=0
|
||||||
|
|
||||||
|
# country code
|
||||||
|
ccode=ALL
|
||||||
|
cctl=0x0
|
||||||
|
|
||||||
|
# Channel gain adjustments
|
||||||
|
5g_cga=0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
|
||||||
|
boardnum=2048
|
||||||
|
macaddr=00:90:4c:c5:34:23
|
||||||
|
#######
|
||||||
|
nocrc=1
|
||||||
|
|
||||||
|
#for mfgc
|
||||||
|
otpimagesize=182
|
||||||
|
|
||||||
|
# sdio extra configs
|
||||||
|
hwhdr=0x05ffff031030031003100000
|
||||||
|
|
||||||
|
#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples.
|
||||||
|
RAW1=80 02 fe ff
|
||||||
|
|
||||||
|
#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS.
|
||||||
|
#RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A
|
Loading…
Reference in a new issue