Initial commit

This commit is contained in:
DanyLE
2025-07-11 10:52:26 +02:00
parent 14e5176fa5
commit d0a8888bce
76 changed files with 8450 additions and 1 deletions

9
LICENSE Normal file
View File

@@ -0,0 +1,9 @@
MIT License
Copyright (c) 2024 dany
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,3 +1,3 @@
# meta-pinephone-diya
Diya meta layer for pinephone
Pinephone yocto layer for diya

28
conf/layer.conf Normal file
View File

@@ -0,0 +1,28 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-opi-diya"
BBFILE_PATTERN_meta-opi-diya = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-opi-diya = "11"
LAYERDEPENDS_meta-opi-diya = " core "
LAYERSERIES_COMPAT_meta-opi-diya = "scarthgap"
MACHINE ?= "pinephone"
PREFERRED_PROVIDER_virtual/kernel = "linux-megi"
PREFERRED_VERSION_linux-megi = "6.15"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-megous"
PREFERRED_PROVIDER_u-boot = "u-boot-megous"
#
# extra kernel CMDLINE_RNDIS option
# CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 "
# accept license for wifi and bluetooth firmware
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch commercial"

View File

@@ -0,0 +1,9 @@
require conf/machine/include/sunxi64.inc
# require conf/machine/include/sunxi-mali-driver.inc
DEFAULTTUNE ?= "cortexa53-crypto"
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
MACHINEOVERRIDES =. "sun50i:"
SOC_FAMILY = "sun50i-a64"

View File

@@ -0,0 +1,15 @@
PREFERRED_PROVIDER_virtual/mesa ?= "mesa-gl"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-gl"
PREFERRED_PROVIDER_virtual/libgles1 ?= "sunxi-mali"
PREFERRED_PROVIDER_virtual/libgles2 ?= "sunxi-mali"
PREFERRED_PROVIDER_virtual/egl ?= "sunxi-mali"
PACKAGECONFIG:remove:pn-xserver-xorg = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glamor', '', d)}"
XSERVER += "sunxi-mali \
sunxi-mali-dev"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "\
kernel-module-mali \
kernel-module-mali-drm \
"

View File

@@ -0,0 +1,27 @@
SOC_FAMILY ??= ""
include conf/machine/include/soc-family.inc
MACHINEOVERRIDES =. "sunxi:sunxi64:"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
PREFERRED_PROVIDER_u-boot ?= "u-boot"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
KERNEL_IMAGETYPE ?= "Image"
# IMAGE_CLASSES += "sdcard_image-sunxi"
IMAGE_FSTYPES += "ext4 tar.gz wic.bz2 wic.bmap"
# sunxi-sdimg
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
UBOOT_ENTRYPOINT ?= "0x40008000"
UBOOT_LOADADDRESS ?= "0x400080OB00"
#UBOOT_BINARY ?= "u-boot.itb"
SPL_BINARY ?= "spl/sunxi-spl.bin"
SERIAL_CONSOLE ?= "115200 ttyS0"
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"

View File

@@ -0,0 +1,20 @@
#@TYPE: Machine
#@NAME: pinephone
#@DESCRIPTION: Machine configuration for the pinephone
require conf/machine/include/sun50i_a64.inc
KERNEL_DEVICETREE = "allwinner/sun50i-a64-pinephone-1.0.dtb \
allwinner/sun50i-a64-pinephone-1.1.dtb \
allwinner/sun50i-a64-pinephone-1.2.dtb \
allwinner/sun50i-a64-pinephone-1.2b.dtb \
"
UBOOT_MACHINE = "pinephone_defconfig"
SPL_BINARY = "u-boot-sunxi-with-spl.bin"
# as for now neither graphics nor audio is supported
MACHINE_FEATURES:remove = "x11"
MACHINE_FEATURES:append = "bluetooth wifi"
MACHINE_EXTRA_RRECOMMENDS = "pinephone-firmware"

View File

@@ -0,0 +1,30 @@
DESCRIPTION = "ARM Trusted Firmware Allwinner"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=b2c740efedc159745b9b31f88ff03dde"
SRC_URI = "git://github.com/ARM-software/arm-trusted-firmware;branch=master;protocol=https"
SRCREV = "d3e71ead6ea5bc3555ac90a446efec84ef6c6122"
# v2.9
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
COMPATIBLE_MACHINE = "(sun50i|sun50i-a64)"
PLATFORM = "sun50i_a64"
LDFLAGS[unexport] = "1"
do_compile() {
oe_runmake -C ${S} BUILD_BASE=${B} \
CROSS_COMPILE=${TARGET_PREFIX} \
PLAT=${PLATFORM} \
bl31 \
all
}
do_install() {
install -D -p -m 0644 ${B}/${PLATFORM}/release/bl31.bin ${DEPLOY_DIR_IMAGE}/bl31.bin
}

View File

@@ -0,0 +1,76 @@
# default values
setenv load_addr "0x45000000"
setenv overlay_error "false"
setenv rootdev "/dev/mmcblk1p2"
setenv verbosity "1"
setenv rootfstype "ext4"
setenv console "both"
setenv bootlogo "false"
setenv overlay_prefix "sun50i-a64"
setenv recovery "false"
setenv recovery_image "recovery.initramfs"
# Print boot source
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
itest.b *0x10028 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
itest.b *0x10028 == 0x03 && echo "U-boot loaded from SPI"
echo "Boot script loaded from ${devtype}"
if test -e ${devtype} ${devnum} diya-config.txt; then
load ${devtype} ${devnum} ${load_addr} diya-config.txt
env import -t ${load_addr} ${filesize}
fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
if test "${bootlogo}" = "true"; then
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
else
setenv consoleargs "splash=verbose ${consoleargs}"
fi
# get PARTUUID of first partition on SD/eMMC it was loaded from
# mmc 0 is always mapped to device u-boot (2016.09+) was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc 0:1 partuuid; fi
# consoleblank=0 loglevel=${verbosity}
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} allwinner/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtfile}
fi
if test "${ethernet_phy}" = "rtl8211f"; then
fdt set /soc/ethernet@5020000 allwinner,rx-delay-ps <3100>
fdt set /soc/ethernet@5020000 allwinner,tx-delay-ps <700>
fi
if test "${ethernet_phy}" = "yt8531c"; then
fdt set /soc/ethernet@5020000 allwinner,rx-delay-ps <0>
fdt set /soc/ethernet@5020000 allwinner,tx-delay-ps <600>
fi
load ${devtype} ${devnum} ${kernel_addr_r} Image
if test "${recovery}" = "true"; then
load ${devtype} ${devnum} ${ramdisk_addr_r} ${recovery_image}
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
else
booti ${kernel_addr_r} - ${fdt_addr_r}
fi
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

View File

@@ -0,0 +1,56 @@
DESCRIPTION = "U-Boot port for pinephone"
require recipes-bsp/u-boot/u-boot.inc
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
DEPENDS:append = " bc-native dtc-native swig-native python3-native flex-native bison-native python3-setuptools-native "
DEPENDS:append = " atf-50i-a64 "
# No patches for other machines yet
PROVIDES += " u-boot virtual/bootloader "
COMPATIBLE_MACHINE = "(sun50i|sun50i-a64|pinephone)"
DEFAULT_PREFERENCE:sun50i = "1"
DEFAULT_PREFERENCE:pinephone="1"
SRC_URI = " \
git://git.iohub.dev/dany/u-boot-megous.git;protocol=https;branch=megi-v2025.01 \
file://boot.cmd \
"
PE = "1"
PV = "v2025.01+git${SRCPV}"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SPL_BINARY="u-boot-sunxi-with-spl.bin"
UBOOT_ENV_SUFFIX = "scr"
UBOOT_ENV = "boot"
EXTRA_OEMAKE:append = ' HOSTLDSHARED="${BUILD_CC} -shared ${BUILD_LDFLAGS} ${BUILD_CFLAGS}" '
EXTRA_OEMAKE:append = " BL31=${DEPLOY_DIR_IMAGE}/bl31.bin SCP=/dev/null"
do_compile[depends] += "atf-50i-a64:do_install"
do_configure() {
oe_runmake ${UBOOT_MACHINE}
# oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} mrproper
}
do_compile() {
oe_runmake
oe_runmake u-boot-initial-env
${B}/tools/mkimage -C none -A arm -T script -d ${WORKDIR}/boot.cmd ${WORKDIR}/${UBOOT_ENV_BINARY}
}

View File

@@ -0,0 +1,14 @@
hostname = "diya"
do_install:append () {
cat << 'EOF' >> "${D}${sysconfdir}/profile"
export DISK="mmcblk1"
EOF
cat << EOF >> "${D}${sysconfdir}/modules"
sprdwl_ng
sprdbt_tty
bluetooth
hci_uart
rfcomm
EOF
}

View File

@@ -0,0 +1,2 @@
# IMAGE_BOOT_FILES:append:pinephone = " boot.scr ${KERNEL_DEVICETREE} allwinner/overlay/sun50i-h616-fixup.scr "
IMAGE_INSTALL:append:pinephone = " pinephone-firmware "

View File

@@ -0,0 +1,7 @@
image_patch:append () {
# create /etc/fstab
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
/dev/mmcblk1p1 /boot auto defaults 0 0
/dev/mmcblk1p4 /home auto defaults 0 0
EOF
}

View File

@@ -0,0 +1,2 @@
# Enable lima and panfrost Mesa drivers
PACKAGECONFIG:append = " lima panfrost"

View File

@@ -0,0 +1,47 @@
From a7c0047978d51d0f357d57076d02500abb40513a Mon Sep 17 00:00:00 2001
From: Jernej Skrabec <jernej.skrabec@gmail.com>
Date: Sun, 9 May 2021 10:39:56 +0200
Subject: [PATCH 217/484] arm64: dts: allwinner: a64: Add hdmi sound card
A64 supports HDMI audio. Add a sound card node for it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 0fecf0abb204..9a43bcc2f489 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -196,6 +196,20 @@
};
};
+ sound_hdmi: sound_hdmi {
+ compatible = "allwinner,sun9i-a80-hdmi-audio",
+ "allwinner,sun50i-a64-hdmi-audio";
+ status = "disabled";
+
+ codec {
+ sound-dai = <&hdmi>;
+ };
+
+ cpu {
+ sound-dai = <&i2s2>;
+ };
+ };
+
timer {
compatible = "arm,armv8-timer";
allwinner,erratum-unknown1;
@@ -1261,6 +1275,7 @@
};
hdmi: hdmi@1ee0000 {
+ #sound-dai-cells = <0>;
compatible = "allwinner,sun50i-a64-dw-hdmi",
"allwinner,sun8i-a83t-dw-hdmi";
reg = <0x01ee0000 0x10000>;
--
2.49.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,48 @@
DESCRIPTION = "Linux Kernel for Pinephone"
SECTION = "kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRCREV_machine = "${AUTOREV}"
COMPATIBLE_MACHINE = "(sun50i)"
LINUX_PINEPHONE_BRANCH ?= "pp-6.15"
SRC_URI = " \
git://codeberg.org/megi/linux.git;name=machine;branch=${LINUX_PINEPHONE_BRANCH};protocol=https \
file://defconfig \
file://0217-arm64-dts-allwinner-a64-Add-hdmi-sound-card.patch \
"
# Pull in the devicetree files into the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
inherit kernel
require linux.inc
LINUX_VERSION ?= "${PV}"
S = "${WORKDIR}/linux-${PV}"
do_deploy:append() {
install -d ${DEPLOY_DIR_IMAGE}
install -d ${DEPLOY_DIR_IMAGE}/allwinner
install -d ${DEPLOY_DIR_IMAGE}/allwinner/overlay
for file in ${KERNEL_DEVICETREE}; do
name=$(basename $file)
ext="${name##*.}"
if [ "$ext" = "dtb" ]; then
ln -sf ${DEPLOY_DIR_IMAGE}/${name} ${DEPLOY_DIR_IMAGE}/allwinner/${name}
else
ln -sf ${DEPLOY_DIR_IMAGE}/${name} ${DEPLOY_DIR_IMAGE}/allwinner/overlay/${name}
fi
done
# install -m 0755 ${S}/arch/arm64/boot/dts/allwinner/overlay/sun50i-h616-fixup.scr ${DEPLOY_DIR_IMAGE}/allwinner/overlay/
}
FILES_${KERNEL_PACKAGE_NAME}-base:append = " ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo"

View File

@@ -0,0 +1,126 @@
DESCRIPTION = "Linux Kernel"
SECTION = "kernel"
LICENSE = "GPLv2"
INC_PR = "r0"
inherit kernel kernel-yocto siteinfo
# Enable OABI compat for people stuck with obsolete userspace
ARM_KEEP_OABI ?= "0"
# Set the verbosity of kernel messages during runtime
# You can define CMDLINE_DEBUG in your local.conf or distro.conf to override this behaviour
CMDLINE_DEBUG ?= "loglevel=3"
# Kernel bootlogo is distro-specific (default is OE logo).
# Logo resolution (qvga, vga, ...) is machine-specific.
LOGO_SIZE ?= '${@oe.utils.conditional("MACHINE_GUI_CLASS", "bigscreen", "vga", "qvga", d)}'
# To use this, add file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 or similar
# to your kernel recipe, and then structure your logos for each resolution
# accordingly.
LOCALVERSION ?= ""
KCONFIG_MODE ?= "alldefconfig"
KMACHINE ?= "${MACHINE}"
#kernel_conf_variable CMDLINE "\"${CMDLINE} ${CMDLINE_DEBUG}\""
kernel_conf_variable() {
CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
if test "$2" = "n"
then
echo "# CONFIG_$1 is not set" >> ${B}/.config
else
echo "CONFIG_$1=$2" >> ${B}/.config
fi
}
do_kernel_configme[depends] += "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
do_kernel_configme[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot"
do_kernel_configme[depends] += "bc-native:do_populate_sysroot bison-native:do_populate_sysroot"
do_configure:prepend() {
CONF_SED_SCRIPT=""
#
# logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
#
if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
kernel_conf_variable LOGO y
kernel_conf_variable LOGO_LINUX_CLUT224 y
fi
#
# oabi / eabi support
#
kernel_conf_variable AEABI y
if [ "${ARM_KEEP_OABI}" = "1" ] ; then
kernel_conf_variable OABI_COMPAT y
else
kernel_conf_variable OABI_COMPAT n
fi
# When enabling thumb for userspace we also need thumb support in the kernel
if [ "${ARM_INSTRUCTION_SET}" = "thumb" ] ; then
kernel_conf_variable ARM_THUMB y
fi
kernel_conf_variable CMDLINE "\"${CMDLINE} ${CMDLINE_DEBUG}\""
kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\""
kernel_conf_variable LOCALVERSION_AUTO n
kernel_conf_variable SYSFS_DEPRECATED n
kernel_conf_variable SYSFS_DEPRECATED_V2 n
kernel_conf_variable HOTPLUG y
kernel_conf_variable UEVENT_HELPER_PATH \"\"
kernel_conf_variable UNIX y
kernel_conf_variable SYSFS y
kernel_conf_variable PROC_FS y
kernel_conf_variable TMPFS y
kernel_conf_variable INOTIFY_USER y
kernel_conf_variable SIGNALFD y
kernel_conf_variable TMPFS_POSIX_ACL y
kernel_conf_variable BLK_DEV_BSG y
kernel_conf_variable DEVTMPFS y
kernel_conf_variable DEVTMPFS_MOUNT y
# Newer inits like systemd need cgroup support
if [ "${KERNEL_ENABLE_CGROUPS}" = "1" ] ; then
kernel_conf_variable CGROUP_SCHED y
kernel_conf_variable CGROUPS y
kernel_conf_variable CGROUP_NS y
kernel_conf_variable CGROUP_FREEZER y
kernel_conf_variable CGROUP_DEVICE y
kernel_conf_variable CPUSETS y
kernel_conf_variable PROC_PID_CPUSET y
kernel_conf_variable CGROUP_CPUACCT y
kernel_conf_variable RESOURCE_COUNTERS y
fi
#
# root-over-nfs-over-usb-eth support. Limited, but should cover some cases.
# Enable this by setting a proper CMDLINE_NFSROOT_USB.
#
if [ ! -z "${CMDLINE_NFSROOT_USB}" ]; then
bbnote "Configuring the kernel for root-over-nfs-over-usb-eth with CMDLINE ${CMDLINE_NFSROOT_USB}"
kernel_conf_variable INET y
kernel_conf_variable IP_PNP y
kernel_conf_variable USB_GADGET y
kernel_conf_variable USB_GADGET_SELECTED y
kernel_conf_variable USB_ETH y
kernel_conf_variable NFS_FS y
kernel_conf_variable ROOT_NFS y
kernel_conf_variable CMDLINE \"${CMDLINE_NFSROOT_USB} ${CMDLINE_DEBUG}\"
fi
yes '' | oe_runmake -C ${S} O=${B} oldconfig
}
do_configure:append() {
if test -e scripts/Makefile.fwinst ; then
sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst
fi
}

Binary file not shown.

View File

@@ -0,0 +1,337 @@
# AP6275P_NVRAM_V1.2_20210918A
# AP6271P_V00 board, iPA version.
# nvram copied and edited from AP6271P_EVB_V02 EVB board //
# SSID generated using Alberto's boardssid.py script:
# ********************SUMMARY********************
# Board Name: AP6271P_V00
#SSID: 0x086d
#macmid: 0x02df
# Successfully made SSID entry in sromdefs.tcl.
# Successfully made macmid entry in sromdefs.tcl.
# Successfully made SSID entry in tblssid.py.
# *************************************************
# $ Copyright Broadcom $
#
#
# <<Broadcom-WL-IPTag/Proprietary:>>
NVRAMRev=$Rev: 874188 $
sromrev=11
boardrev=0x1213
boardtype=0x08ed
boardflags=0x00400201
boardflags2=0xc0800000
boardflags3=0x40002180
#boardnum=57410
macaddr=00:90:4c:12:d0:01
jtag_irw=38
#Regulatory specific
ccode=0
regrev=0
# Board specific
vendid=0x14e4
devid=0x449d
manfid=0x2d0
antswitch=0
pdgain5g=0
pdgain2g=0
aa2g=3
aa5g=3
agbg0=2
agbg1=2
aga0=2
aga1=2
extpagain2g=2
extpagain5g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=0
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=0
rxgains5gtrelnabypa0=0
rxgains5gmelnagaina0=0
rxgains5gmtrisoa0=0
rxgains5gmtrelnabypa0=0
rxgains5ghelnagaina0=0
rxgains5ghtrisoa0=0
rxgains5ghtrelnabypa0=0
rxgains2gelnagaina1=0
rxgains2gtrisoa1=0
rxgains2gtrelnabypa1=0
rxgains5gelnagaina1=0
rxgains5gtrisoa1=0
rxgains5gtrelnabypa1=0
rxgains5gmelnagaina1=0
rxgains5gmtrisoa1=0
rxgains5gmtrelnabypa1=0
rxgains5ghelnagaina1=0
rxgains5ghtrisoa1=0
rxgains5ghtrelnabypa1=0
#RSSI related
# 2G
rssicorrnorm_c0=4,4
rssicorrnorm_c1=4,4
# 5G
rssicorrnorm5g_c0=5,5,5,5,5,5,5,5,5,5,5,5
rssicorrnorm5g_c1=4,4,4,4,4,4,4,4,4,4,4,4
#Two range TSSI
tworangetssi2g=0
tworangetssi5g=0
lowpowerrange2g=0
lowpowerrange5g=0
low_adc_rate_en=1
nocrc=1
otpimagesize=502
xtalfreq=37400
txchain=3
rxchain=3
cckdigfilttype=2
#bit mask for slice capability bit 0:2G bit 1:5G
bandcap=3
#TXBF Related
rpcal2g=0
rpcal5gb0=0
rpcal5gb1=0
rpcal5gb2=0
rpcal5gb3=0
#FDSS Related
fdss_level_2g=4,4
fdss_interp_en=1
fdss_level_5g=3,3
fdss_level_11ax_2g=3,3
fdss_level_11ax_2g_ch1=3,3
fdss_level_11ax_2g_ch11=3,3
fdss_level_11ax_5g=3,3
#Tempsense Related
tempthresh=255
tempoffset=40
rawtempsense=0x1ff
phycal_tempdelta=15
temps_period=15
temps_hysteresis=15
#------------- TSSI Related -------------
tssipos2g=1
tssipos5g=1
AvVmid_c0=2,127,4,92,4,91,4,91,4,94
AvVmid_c1=2,127,4,93,4,93,4,95,3,110
# CCK in case of multi mode 2
pa2gccka0=-51,9141,-1039
pa2gccka1=-106,8172,-949
# OFDM in case of multi_mode 2
pa2ga0=-31,8047,-863
pa2ga1=-3,8006,-803
pa5ga0=-184,5375,-671,-174,5517,-677,-193,5122,-649,-177,5303,-666
pa5ga1=-207,5022,-635,-168,5741,-695,-169,5544,-687,-182,5435,-687
# Max power and offsets
maxp2ga0=88
maxp2ga1=88
maxp5ga0=68,68,68,68
maxp5ga1=69,69,66,66
subband5gver=0x4
paparambwver=3
cckpwroffset0=0
cckpwroffset1=0
pdoffset40ma0=0x4444
pdoffset80ma0=0x4444
pdoffset40ma1=0x4444
pdoffset80ma1=0x4444
cckbw202gpo=0x4444
cckbw20ul2gpo=0
mcsbw202gpo=0xBB977665
mcsbw402gpo=0xBB977665
dot11agofdmhrbw202gpo=0x7766
ofdmlrbw202gpo=0x0055
mcsbw205glpo=0x88331100
mcsbw405glpo=0xC8332200
mcsbw805glpo=0xCC443320
mcsbw1605glpo=0
mcsbw205gmpo=0x88331100
mcsbw405gmpo=0xC8332200
mcsbw805gmpo=0xCC443320
mcsbw1605gmpo=0
mcsbw205ghpo=0x88331100
mcsbw405ghpo=0xC8333300
mcsbw805ghpo=0xCC443320
powoffs2gtna0=0,0,0,0,0,0,0,0,0,0,0,0,0,0
powoffs2gtna1=0,0,0,0,0,0,0,0,0,0,0,0,0,0
mcs1024qam2gpo=0xEEEE
mcs1024qam5glpo=0xFFFFDD
mcs1024qam5gmpo=0xFFFFDD
mcs1024qam5ghpo=0xFFFFDD
mcs1024qam5gx1po=0xFFFFDD
mcs1024qam5gx2po=0xFFFFDD
mcs8poexp=0
mcs9poexp=0
mcs10poexp=0
# 5G power offset per channel for band edge channel
powoffs5g20mtna0=0,0,0,0,0,0,0
powoffs5g20mtna1=0,0,0,0,0,0,0
powoffs5g40mtna0=0,0,0,0,0
powoffs5g40mtna1=0,0,0,0,0
powoffs5g80mtna0=0,0,0,0,0
powoffs5g80mtna1=0,0,0,0,0
mcs11poexp=0
#LTE Coex Related
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x44
ltecxgcigpio=0x04
#OOB params
#device_wake_opt=1
host_wake_opt=0
# SWCTRL Related
swctrlmap_2g=0x10101010,0x06030401,0x04011010,0x000000,0x3FF
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmap_5g=0x80408040,0x21240120,0x01208040,0x000000,0x3FF
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
clb2gslice0core0=0x01b
clb2gslice1core0=0x000
clb5gslice0core0=0x064
clb5gslice1core0=0x000
clb2gslice0core1=0x056
clb2gslice1core1=0x000
clb5gslice0core1=0x0a1
clb5gslice1core1=0x000
btc_prisel_ant_mask=0x2
clb_swctrl_smask_ant0=0x27f
clb_swctrl_smask_ant1=0x2f7
muxenab=1
#BT Coex 1:TDM
btc_mode=1
# --- PAPD Cal related params ----
txwbpapden=0 # 0:NBPAPD 1:WBPAPD
# NB PAPD Cal params
nb_eps_offset=470,470
nb_bbmult=66,66
nb_papdcalidx=6,6
nb_txattn=2,2
nb_rxattn=1,1
nb_eps_stopidx=63
epsilonoff_5g20_c0=0,0,0,0
epsilonoff_5g40_c0=0,0,0,0
epsilonoff_5g80_c0=0,0,0,0
epsilonoff_5g20_c1=0,0,-2,-3
epsilonoff_5g40_c1=0,0,-2,-3
epsilonoff_5g80_c1=0,0,-2,-3
epsilonoff_2g20_c0=0
epsilonoff_2g20_c1=0
# energy detect threshold
ed_thresh2g=-67
ed_thresh5g=-67
# energy detect threshold for EU
eu_edthresh2g=-67
eu_edthresh5g=-67
#rpcal coef for imptxbf
rpcal5gb0=238
rpcal5gb1=228
rpcal5gb2=222
rpcal5gb3=229
rpcal2g=15
ocl=1
bt_coex_chdep_div=1
# OLPC Related
disable_olpc=0
olpc_thresh5g=32
olpc_anchor5g=40
olpc_thresh2g=32
olpc_anchor2g=40
#PAPR related
paprdis=0
paprrmcsgamma2g=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma2g_ch13=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g_ch13=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma2g_ch1=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g_ch1=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g20=500,500,500,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g20=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g40=600,600,600,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g40=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g80=-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g80=0,0,0,0,0,0,0,0,0,0,0,0
# Enable papd for cck when target pwr ge 16dBm
cckpapd_pwrthresh=64
## ULOFDMA Board limit PPRs for 2G20 ##
ruppr2g20bpska0=0x00021084
ruppr2g20bpska1=0x00021084
ruppr2g20qpska0=0x00021084
ruppr2g20qpska1=0x00021084
ruppr2g20qam16a0=0x000294A5
ruppr2g20qam16a1=0x000294A5
ruppr2g20qam64a0=0x00039CE7
ruppr2g20qam64a1=0x00039CE7
ruppr2g20qam256a0=0x0005AD6B
ruppr2g20qam256a1=0x0005AD6B
ruppr2g20qam1024a0=0x0005AD6B
ruppr2g20qam1024a1=0x0005AD6B
## ULOFDMA Board limit PPRs for 5G20 ##
ruppr5g20bpska0=0x00008421
ruppr5g20bpska1=0x00008421
ruppr5g20qpska0=0x00008421
ruppr5g20qpska1=0x00008421
ruppr5g20qam16a0=0x00010842
ruppr5g20qam16a1=0x00010842
ruppr5g20qam64a0=0x00021084
ruppr5g20qam64a1=0x00021084
ruppr5g20qam256a0=0x00042108
ruppr5g20qam256a1=0x00042108
ruppr5g20qam1024a0=0x0006318C
ruppr5g20qam1024a1=0x0006318C
## ULOFDMA Board limit PPRs for 5G40 ##
ruppr5g40bpska0=0x00108421
ruppr5g40bpska1=0x00108421
ruppr5g40qpska0=0x00108421
ruppr5g40qpska1=0x00108421
ruppr5g40qam16a0=0x00210842
ruppr5g40qam16a1=0x00210842
ruppr5g40qam64a0=0x00421084
ruppr5g40qam64a1=0x00421084
ruppr5g40qam256a0=0x00C6318C
ruppr5g40qam256a1=0x00C6318C
ruppr5g40qam1024a0=0x01084210
ruppr5g40qam1024a1=0x01084210
## ULOFDMA Board limit PPRs for 5G80 ##
ruppr5g80bpska0=0x04108421
ruppr5g80bpska1=0x04108421
ruppr5g80qpska0=0x04108421
ruppr5g80qpska1=0x04108421
ruppr5g80qam16a0=0x0C318C63
ruppr5g80qam16a1=0x0C318C63
ruppr5g80qam64a0=0x10421084
ruppr5g80qam64a1=0x10421084
ruppr5g80qam256a0=0x30C6318C
ruppr5g80qam256a1=0x30C6318C
ruppr5g80qam1024a0=0x41084210
ruppr5g80qam1024a1=0x41084210

View File

@@ -0,0 +1,99 @@
#AP6256_NVRAM_V1.1_08252017
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304
xtalfreq=37400
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
#phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515
#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
pacalshift5g=0,0,3
maxp2ga0=70
cckbw202gpo=0x1000
cckbw20ul2gpo=0x1000
ofdmlrbw202gpo=0x0033
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82
#mcsbw205glpo=0x99555000
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000
#mcsbw405ghpo=0x99555000
#mcsbw805glpo=0x99555000
#mcsbw805gmpo=0x99555000
#mcsbw805ghpo=0x99555000
maxp5ga0=73,74,73,73
mcsbw205glpo=0x8a875444
mcsbw205gmpo=0x8a875444
mcsbw205ghpo=0x8a875444
mcsbw405glpo=0xda844333
mcsbw405gmpo=0xdb844333
mcsbw405ghpo=0xda844333
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444
mcsbw805ghpo=0xda555444
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
muxenab=0x10

View File

@@ -0,0 +1,51 @@
#SN8000 Wi-Fi Module NVRAM
manfid=0x2d0
prodid=0x4336
vendid=0x14e4
devid=0x4343
boardtype=0x0598
boardrev=0x1207
boardnum=777
xtalfreq=26000
clkreq_conf=1
boardflags=0xa00
sromrev=3
wl0id=0x431b
macaddr=00:90:4c:07:71:12
aa2g=1
ag0=2
maxp2ga0=78
ofdm2gpo=0x54321111
mcs2gpo0=0x4444
mcs2gpo1=0x8765
pa0b0=0x14B8
pa0b1=0xFD5C
pa0b2=0xFF27
pa0itssit=62
pa1itssit=62
cck2gpo=0
cckPwrOffset=0
cckdigfilttype=22
ccode=0
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
rfreg033=0x19
rfreg033_cck=0x1f
triso2g=1
noise_cal_enable_2g=0
pacalidx2g=10
swctrlmap_2g=0x0c050c05,0x0a030a03,0x0a030a03,0x0,0x1ff
RAW1=4a 0b ff ff 20 04 d0 02 62 a9
logen_mode=0x0,0x2,0x1b,0x0,0x1b
noise_cal_po_2g=2
noise_cal_dbg.fab.3=1
noise_cal_high_gain.fab.3=76
noise_cal_nf_substract_val.fab.3=356
noise_cal_po_2g.fab.3=4
btc_flags=0x6
btc_params0=5000
btc_params1=1000
btc_params6=63

View File

@@ -0,0 +1,51 @@
#SN8000 Wi-Fi Module NVRAM
manfid=0x2d0
prodid=0x4336
vendid=0x14e4
devid=0x4343
boardtype=0x0598
boardrev=0x1207
boardnum=777
xtalfreq=26000
clkreq_conf=1
boardflags=0xa00
sromrev=3
wl0id=0x431b
macaddr=00:90:4c:07:71:12
aa2g=1
ag0=2
maxp2ga0=78
ofdm2gpo=0x54321111
mcs2gpo0=0x4444
mcs2gpo1=0x8765
pa0b0=0x14B8
pa0b1=0xFD5C
pa0b2=0xFF27
pa0itssit=62
pa1itssit=62
cck2gpo=0
cckPwrOffset=0
cckdigfilttype=22
ccode=0
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
rfreg033=0x19
rfreg033_cck=0x1f
triso2g=1
noise_cal_enable_2g=0
pacalidx2g=10
swctrlmap_2g=0x0c050c05,0x0a030a03,0x0a030a03,0x0,0x1ff
RAW1=4a 0b ff ff 20 04 d0 02 62 a9
logen_mode=0x0,0x2,0x1b,0x0,0x1b
noise_cal_po_2g=2
noise_cal_dbg.fab.3=1
noise_cal_high_gain.fab.3=76
noise_cal_nf_substract_val.fab.3=356
noise_cal_po_2g.fab.3=4
btc_flags=0x6
btc_params0=5000
btc_params1=1000
btc_params6=63

View File

@@ -0,0 +1,66 @@
aa2g=1
aa5g=1
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
boardflags=0x00080201
boardflags2=0x40000000
boardflags3=0x48200100
boardrev=0x1304
boardtype=0x6e4
deadman_to=481500000
devid=0x43ab
dot11agofdmhrbw202gpo=0x1553
ed_thresh2g=-54
ed_thresh5g=-54
extpagain2g=2
extpagain5g=2
femctrl=0
itrsw=1
ltecxfnsel=0x22
ltecxgcigpio=0x32
ltecxmux=0
ltecxpadnum=0x0504
macaddr=00:90:4c:c5:12:38
manfid=0x2d0
maxp2ga0=64
maxp5ga0=80,82,76,77
mcsbw202gpo=0x99355533
mcsbw205ghpo=0x99855000
mcsbw205glpo=0x99755000
mcsbw205gmpo=0x9df55000
mcsbw405ghpo=0xd9755000
mcsbw405glpo=0xb8555000
mcsbw405gmpo=0xed955000
mcsbw805ghpo=0xd9555000
mcsbw805glpo=0xc8555000
mcsbw805gmpo=0xe9555000
muxenab=0x10
nocrc=1
ofdmlrbw202gpo=0x0033
pa2ga0=-112,6296,-662
pa2ga1=-165,3699,-515
pa5ga0=-143,6016,-683,-141,6013,-678,-137,5988,-670,-136,5982,-670
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
prodid=0x06e4
rxchain=1
rxgains2gelnagaina0=0
rxgains2gtrelnabypa0=0
rxgains2gtrisoa0=0
rxgains5gelnagaina0=0
rxgains5gtrelnabypa0=0
rxgains5gtrisoa0=0
sromrev=11
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00100010,0x010a02,0x2f4
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
tssipos2g=1
tssipos5g=1
tworangetssi2g=1
tworangetssi5g=1
txchain=1
vcodivmode=1
vendid=0x14e4
xtalfreq=37400

View File

@@ -0,0 +1,83 @@
# SPDX-License-Identifier: GPL-2.0+
# (C) Copyright 2018 Raspberry Pi (Trading) Ltd.
# NVRAM config file for the BCM43455 WiFi/BT chip as found on the
# Raspberry Pi 4 Model B
aa2g=1
aa5g=1
AvVmid_c0=1,165,2,100,2,100,2,100,2,100
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x44200100
boardrev=0x1304
boardtype=0x6e4
btc_mode=1
btc_params1=0x7530
btc_params8=0x4e20
btc_params50=0x972c
cbfilttype=1
cckPwrIdxCorr=3
cckTssiDelay=150
deadman_to=481500000
devid=0x43ab
dot11agofdmhrbw202gpo=0x4442
dot11b_opts=0x3aa85
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
extpagain2g=2
extpagain5g=2
fdsslevel_ch11=6
femctrl=0
itrsw=1
ldo1=4
ltecxfnsel=0x22
ltecxgcigpio=0x32
ltecxmux=0
ltecxpadnum=0x0504
macaddr=b8:27:eb:74:f2:6c
manfid=0x2d0
maxp2ga0=80
maxp5ga0=82,82,82,82
mcsbw202gpo=0x98444422
mcsbw205ghpo=0xb9555000
mcsbw205glpo=0xb9555000
mcsbw205gmpo=0xb9555000
mcsbw402gpo=0x98444422
mcsbw405ghpo=0xb9555000
mcsbw405glpo=0xb9555000
mcsbw405gmpo=0xb9555000
mcsbw805ghpo=0xb9555000
mcsbw805glpo=0xb9555000
mcsbw805gmpo=0xb9555000
nocrc=1
ofdmlrbw202gpo=0x0022
ofdmTssiDelay=150
pa2ga0=-129,6525,-718
pa2ga1=-149,4408,-601
pa5ga0=-185,6836,-815,-186,6838,-815,-184,6859,-815,-184,6882,-818
pa5ga1=-202,4285,-574,-201,4312,-578,-196,4391,-586,-201,4294,-575
pdoffset2g40ma0=16
pdoffset2gperchan=0,-2,1,0,1,0,1,1,1,0,0,-1,-1,0
pdoffset40ma0=0x8888
pdoffset80ma0=0x8888
pdoffsetcckma0=2
phycal_tempdelta=15
prodid=0x06e4
rawtempsense=0x1ff
rxchain=1
sromrev=11
swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
tssipos2g=1
tssipos5g=1
tworangetssi2g=1
tworangetssi5g=1
txchain=1
txpwr2gAdcScale=1
txpwr5gAdcScale=1
vcodivmode=1
vendid=0x14e4
xtalfreq=37400

View File

@@ -0,0 +1,98 @@
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
#macaddr=00:90:4c:c5:12:38
macaddr=b8:27:eb:74:f2:6c
nocrc=1
boardtype=0x6e4
boardrev=0x1304
#XTAL 37.4MHz
xtalfreq=37400
btc_mode=1
#------------------------------------------------------
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x44200100
phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=1,165,2,100,2,100,2,100,2,100
pa2ga0=-129,6525,-718
pa2ga1=-149,4408,-601
pa5ga0=-185,6836,-815,-186,6838,-815,-184,6859,-815,-184,6882,-818
pa5ga1=-202,4285,-574,-201,4312,-578,-196,4391,-586,-201,4294,-575
itrsw=1
pdoffsetcckma0=2
pdoffset2gperchan=0,-2,1,0,1,0,1,1,1,0,0,-1,-1,0
pdoffset2g40ma0=16
pdoffset40ma0=0x8888
pdoffset80ma0=0x8888
extpagain5g=2
extpagain2g=2
tworangetssi2g=1
tworangetssi5g=1
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
maxp2ga0=80
ofdmlrbw202gpo=0x0022
dot11agofdmhrbw202gpo=0x4442
mcsbw202gpo=0x98444422
mcsbw402gpo=0x98444422
maxp5ga0=82,82,82,82
mcsbw205glpo=0xb9555000
mcsbw205gmpo=0xb9555000
mcsbw205ghpo=0xb9555000
mcsbw405glpo=0xb9555000
mcsbw405gmpo=0xb9555000
mcsbw405ghpo=0xb9555000
mcsbw805glpo=0xb9555000
mcsbw805gmpo=0xb9555000
mcsbw805ghpo=0xb9555000
swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=1
fdsslevel_ch11=6
# Improved Bluetooth coexistence parameters from Cypress
btc_mode=1
btc_params8=0x4e20
btc_params1=0x7530
btc_params50=0x972c

View File

@@ -0,0 +1,105 @@
#AP6256_NVRAM_V1.1_08252017
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304
xtalfreq=37400
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
#phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515
#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
pacalshift5g=0,0,3
maxp2ga0=70
cckbw202gpo=0x1000
cckbw20ul2gpo=0x1000
ofdmlrbw202gpo=0x0033
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82
#mcsbw205glpo=0x99555000
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000
#mcsbw405ghpo=0x99555000
#mcsbw805glpo=0x99555000
#mcsbw805gmpo=0x99555000
#mcsbw805ghpo=0x99555000
maxp5ga0=73,74,73,73
mcsbw205glpo=0x8a875444
mcsbw205gmpo=0x8a875444
mcsbw205ghpo=0x8a875444
mcsbw405glpo=0xda844333
mcsbw405gmpo=0xdb844333
mcsbw405ghpo=0xda844333
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444
mcsbw805ghpo=0xda555444
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
muxenab=0x10
# OOB IRQ settings -- next 3 "sd" parameters uncommented for OOB IRQ. Edge sensitive interrupt via WL_HOST_WAKE line.
#muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
#sd_gpval=1

View File

@@ -0,0 +1,105 @@
#AP6256_NVRAM_V1.1_08252017
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304
xtalfreq=37400
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
#phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515
#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
pacalshift5g=0,0,3
maxp2ga0=70
cckbw202gpo=0x1000
cckbw20ul2gpo=0x1000
ofdmlrbw202gpo=0x0033
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82
#mcsbw205glpo=0x99555000
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000
#mcsbw405ghpo=0x99555000
#mcsbw805glpo=0x99555000
#mcsbw805gmpo=0x99555000
#mcsbw805ghpo=0x99555000
maxp5ga0=73,74,73,73
mcsbw205glpo=0x8a875444
mcsbw205gmpo=0x8a875444
mcsbw205ghpo=0x8a875444
mcsbw405glpo=0xda844333
mcsbw405gmpo=0xdb844333
mcsbw405ghpo=0xda844333
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444
mcsbw805ghpo=0xda555444
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
muxenab=0x10
# OOB IRQ settings -- next 3 "sd" parameters uncommented for OOB IRQ. Edge sensitive interrupt via WL_HOST_WAKE line.
#muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
#sd_gpval=1

View File

@@ -0,0 +1,105 @@
#AP6256_NVRAM_V1.1_08252017
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304
xtalfreq=37400
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
#phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515
#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
pacalshift5g=0,0,3
maxp2ga0=70
cckbw202gpo=0x1000
cckbw20ul2gpo=0x1000
ofdmlrbw202gpo=0x0033
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82
#mcsbw205glpo=0x99555000
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000
#mcsbw405ghpo=0x99555000
#mcsbw805glpo=0x99555000
#mcsbw805gmpo=0x99555000
#mcsbw805ghpo=0x99555000
maxp5ga0=73,74,73,73
mcsbw205glpo=0x8a875444
mcsbw205gmpo=0x8a875444
mcsbw205ghpo=0x8a875444
mcsbw405glpo=0xda844333
mcsbw405gmpo=0xdb844333
mcsbw405ghpo=0xda844333
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444
mcsbw805ghpo=0xda555444
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
muxenab=0x10
# OOB IRQ settings -- next 3 "sd" parameters uncommented for OOB IRQ. Edge sensitive interrupt via WL_HOST_WAKE line.
#muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
#sd_gpval=1

View File

@@ -0,0 +1,337 @@
# AP6275P_NVRAM_V1.2_20210918A
# AP6271P_V00 board, iPA version.
# nvram copied and edited from AP6271P_EVB_V02 EVB board //
# SSID generated using Alberto's boardssid.py script:
# ********************SUMMARY********************
# Board Name: AP6271P_V00
#SSID: 0x086d
#macmid: 0x02df
# Successfully made SSID entry in sromdefs.tcl.
# Successfully made macmid entry in sromdefs.tcl.
# Successfully made SSID entry in tblssid.py.
# *************************************************
# $ Copyright Broadcom $
#
#
# <<Broadcom-WL-IPTag/Proprietary:>>
NVRAMRev=$Rev: 874188 $
sromrev=11
boardrev=0x1213
boardtype=0x08ed
boardflags=0x00400201
boardflags2=0xc0800000
boardflags3=0x40002180
#boardnum=57410
macaddr=00:90:4c:12:d0:01
jtag_irw=38
#Regulatory specific
ccode=0
regrev=0
# Board specific
vendid=0x14e4
devid=0x449d
manfid=0x2d0
antswitch=0
pdgain5g=0
pdgain2g=0
aa2g=3
aa5g=3
agbg0=2
agbg1=2
aga0=2
aga1=2
extpagain2g=2
extpagain5g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=0
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=0
rxgains5gtrelnabypa0=0
rxgains5gmelnagaina0=0
rxgains5gmtrisoa0=0
rxgains5gmtrelnabypa0=0
rxgains5ghelnagaina0=0
rxgains5ghtrisoa0=0
rxgains5ghtrelnabypa0=0
rxgains2gelnagaina1=0
rxgains2gtrisoa1=0
rxgains2gtrelnabypa1=0
rxgains5gelnagaina1=0
rxgains5gtrisoa1=0
rxgains5gtrelnabypa1=0
rxgains5gmelnagaina1=0
rxgains5gmtrisoa1=0
rxgains5gmtrelnabypa1=0
rxgains5ghelnagaina1=0
rxgains5ghtrisoa1=0
rxgains5ghtrelnabypa1=0
#RSSI related
# 2G
rssicorrnorm_c0=4,4
rssicorrnorm_c1=4,4
# 5G
rssicorrnorm5g_c0=5,5,5,5,5,5,5,5,5,5,5,5
rssicorrnorm5g_c1=4,4,4,4,4,4,4,4,4,4,4,4
#Two range TSSI
tworangetssi2g=0
tworangetssi5g=0
lowpowerrange2g=0
lowpowerrange5g=0
low_adc_rate_en=1
nocrc=1
otpimagesize=502
xtalfreq=37400
txchain=3
rxchain=3
cckdigfilttype=2
#bit mask for slice capability bit 0:2G bit 1:5G
bandcap=3
#TXBF Related
rpcal2g=0
rpcal5gb0=0
rpcal5gb1=0
rpcal5gb2=0
rpcal5gb3=0
#FDSS Related
fdss_level_2g=4,4
fdss_interp_en=1
fdss_level_5g=3,3
fdss_level_11ax_2g=3,3
fdss_level_11ax_2g_ch1=3,3
fdss_level_11ax_2g_ch11=3,3
fdss_level_11ax_5g=3,3
#Tempsense Related
tempthresh=255
tempoffset=40
rawtempsense=0x1ff
phycal_tempdelta=15
temps_period=15
temps_hysteresis=15
#------------- TSSI Related -------------
tssipos2g=1
tssipos5g=1
AvVmid_c0=2,127,4,92,4,91,4,91,4,94
AvVmid_c1=2,127,4,93,4,93,4,95,3,110
# CCK in case of multi mode 2
pa2gccka0=-51,9141,-1039
pa2gccka1=-106,8172,-949
# OFDM in case of multi_mode 2
pa2ga0=-31,8047,-863
pa2ga1=-3,8006,-803
pa5ga0=-184,5375,-671,-174,5517,-677,-193,5122,-649,-177,5303,-666
pa5ga1=-207,5022,-635,-168,5741,-695,-169,5544,-687,-182,5435,-687
# Max power and offsets
maxp2ga0=88
maxp2ga1=88
maxp5ga0=68,68,68,68
maxp5ga1=69,69,66,66
subband5gver=0x4
paparambwver=3
cckpwroffset0=0
cckpwroffset1=0
pdoffset40ma0=0x4444
pdoffset80ma0=0x4444
pdoffset40ma1=0x4444
pdoffset80ma1=0x4444
cckbw202gpo=0x4444
cckbw20ul2gpo=0
mcsbw202gpo=0xBB977665
mcsbw402gpo=0xBB977665
dot11agofdmhrbw202gpo=0x7766
ofdmlrbw202gpo=0x0055
mcsbw205glpo=0x88331100
mcsbw405glpo=0xC8332200
mcsbw805glpo=0xCC443320
mcsbw1605glpo=0
mcsbw205gmpo=0x88331100
mcsbw405gmpo=0xC8332200
mcsbw805gmpo=0xCC443320
mcsbw1605gmpo=0
mcsbw205ghpo=0x88331100
mcsbw405ghpo=0xC8333300
mcsbw805ghpo=0xCC443320
powoffs2gtna0=0,0,0,0,0,0,0,0,0,0,0,0,0,0
powoffs2gtna1=0,0,0,0,0,0,0,0,0,0,0,0,0,0
mcs1024qam2gpo=0xEEEE
mcs1024qam5glpo=0xFFFFDD
mcs1024qam5gmpo=0xFFFFDD
mcs1024qam5ghpo=0xFFFFDD
mcs1024qam5gx1po=0xFFFFDD
mcs1024qam5gx2po=0xFFFFDD
mcs8poexp=0
mcs9poexp=0
mcs10poexp=0
# 5G power offset per channel for band edge channel
powoffs5g20mtna0=0,0,0,0,0,0,0
powoffs5g20mtna1=0,0,0,0,0,0,0
powoffs5g40mtna0=0,0,0,0,0
powoffs5g40mtna1=0,0,0,0,0
powoffs5g80mtna0=0,0,0,0,0
powoffs5g80mtna1=0,0,0,0,0
mcs11poexp=0
#LTE Coex Related
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x44
ltecxgcigpio=0x04
#OOB params
#device_wake_opt=1
host_wake_opt=0
# SWCTRL Related
swctrlmap_2g=0x10101010,0x06030401,0x04011010,0x000000,0x3FF
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmap_5g=0x80408040,0x21240120,0x01208040,0x000000,0x3FF
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
clb2gslice0core0=0x01b
clb2gslice1core0=0x000
clb5gslice0core0=0x064
clb5gslice1core0=0x000
clb2gslice0core1=0x056
clb2gslice1core1=0x000
clb5gslice0core1=0x0a1
clb5gslice1core1=0x000
btc_prisel_ant_mask=0x2
clb_swctrl_smask_ant0=0x27f
clb_swctrl_smask_ant1=0x2f7
muxenab=1
#BT Coex 1:TDM
btc_mode=1
# --- PAPD Cal related params ----
txwbpapden=0 # 0:NBPAPD 1:WBPAPD
# NB PAPD Cal params
nb_eps_offset=470,470
nb_bbmult=66,66
nb_papdcalidx=6,6
nb_txattn=2,2
nb_rxattn=1,1
nb_eps_stopidx=63
epsilonoff_5g20_c0=0,0,0,0
epsilonoff_5g40_c0=0,0,0,0
epsilonoff_5g80_c0=0,0,0,0
epsilonoff_5g20_c1=0,0,-2,-3
epsilonoff_5g40_c1=0,0,-2,-3
epsilonoff_5g80_c1=0,0,-2,-3
epsilonoff_2g20_c0=0
epsilonoff_2g20_c1=0
# energy detect threshold
ed_thresh2g=-67
ed_thresh5g=-67
# energy detect threshold for EU
eu_edthresh2g=-67
eu_edthresh5g=-67
#rpcal coef for imptxbf
rpcal5gb0=238
rpcal5gb1=228
rpcal5gb2=222
rpcal5gb3=229
rpcal2g=15
ocl=1
bt_coex_chdep_div=1
# OLPC Related
disable_olpc=0
olpc_thresh5g=32
olpc_anchor5g=40
olpc_thresh2g=32
olpc_anchor2g=40
#PAPR related
paprdis=0
paprrmcsgamma2g=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma2g_ch13=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g_ch13=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma2g_ch1=500,550,550,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain2g_ch1=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g20=500,500,500,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g20=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g40=600,600,600,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g40=128,128,128,0,0,0,0,0,0,0,0,0
paprrmcsgamma5g80=-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g80=0,0,0,0,0,0,0,0,0,0,0,0
# Enable papd for cck when target pwr ge 16dBm
cckpapd_pwrthresh=64
## ULOFDMA Board limit PPRs for 2G20 ##
ruppr2g20bpska0=0x00021084
ruppr2g20bpska1=0x00021084
ruppr2g20qpska0=0x00021084
ruppr2g20qpska1=0x00021084
ruppr2g20qam16a0=0x000294A5
ruppr2g20qam16a1=0x000294A5
ruppr2g20qam64a0=0x00039CE7
ruppr2g20qam64a1=0x00039CE7
ruppr2g20qam256a0=0x0005AD6B
ruppr2g20qam256a1=0x0005AD6B
ruppr2g20qam1024a0=0x0005AD6B
ruppr2g20qam1024a1=0x0005AD6B
## ULOFDMA Board limit PPRs for 5G20 ##
ruppr5g20bpska0=0x00008421
ruppr5g20bpska1=0x00008421
ruppr5g20qpska0=0x00008421
ruppr5g20qpska1=0x00008421
ruppr5g20qam16a0=0x00010842
ruppr5g20qam16a1=0x00010842
ruppr5g20qam64a0=0x00021084
ruppr5g20qam64a1=0x00021084
ruppr5g20qam256a0=0x00042108
ruppr5g20qam256a1=0x00042108
ruppr5g20qam1024a0=0x0006318C
ruppr5g20qam1024a1=0x0006318C
## ULOFDMA Board limit PPRs for 5G40 ##
ruppr5g40bpska0=0x00108421
ruppr5g40bpska1=0x00108421
ruppr5g40qpska0=0x00108421
ruppr5g40qpska1=0x00108421
ruppr5g40qam16a0=0x00210842
ruppr5g40qam16a1=0x00210842
ruppr5g40qam64a0=0x00421084
ruppr5g40qam64a1=0x00421084
ruppr5g40qam256a0=0x00C6318C
ruppr5g40qam256a1=0x00C6318C
ruppr5g40qam1024a0=0x01084210
ruppr5g40qam1024a1=0x01084210
## ULOFDMA Board limit PPRs for 5G80 ##
ruppr5g80bpska0=0x04108421
ruppr5g80bpska1=0x04108421
ruppr5g80qpska0=0x04108421
ruppr5g80qpska1=0x04108421
ruppr5g80qam16a0=0x0C318C63
ruppr5g80qam16a1=0x0C318C63
ruppr5g80qam64a0=0x10421084
ruppr5g80qam64a1=0x10421084
ruppr5g80qam256a0=0x30C6318C
ruppr5g80qam256a1=0x30C6318C
ruppr5g80qam1024a0=0x41084210
ruppr5g80qam1024a1=0x41084210

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,177 @@
[Section 1: Version]
Major = 2
Minor = 2
[Section 2: Board Config]
Calib_Bypass = 11758
TxChain_Mask = 2
RxChain_Mask = 2
[Section 3: Board Config TPC]
DPD_LUT_idx = 0x33,0x33,0x0,0x11,0x22,0x33,0x33,0x33
TPC_Goal_Chain0 = 0,0,0,0,0,0,0,0
TPC_Goal_Chain1 = 159,167,162,152,159,167,162,152
[Section 4: TPC-LUT]
Chain0_LUT_0 = 6,0,40,0
Chain0_LUT_1 = 6,1,24,0
Chain0_LUT_2 = 6,2,8,0
Chain0_LUT_3 = 10,2,0,0
Chain0_LUT_4 = 14,2,0,0
Chain0_LUT_5 = 18,2,0,0
Chain0_LUT_6 = 22,2,0,0
Chain0_LUT_7 = 26,2,0,0
Chain1_LUT_0 = 6,0,40,0
Chain1_LUT_1 = 6,1,24,0
Chain1_LUT_2 = 6,2,8,0
Chain1_LUT_3 = 10,2,0,0
Chain1_LUT_4 = 14,2,0,0
Chain1_LUT_5 = 18,2,0,0
Chain1_LUT_6 = 22,2,0,0
Chain1_LUT_7 = 26,2,0,0
[Section 5: Board Config Frequency Compensation]
2G_Channel_Chain0 = 6,6,6,6,7,7,7,7,7,7,7,7,7,7
2G_Channel_Chain1 = 6,6,6,6,7,7,7,7,7,7,7,7,7,7
5G_Channel_Chain0 = 11,11,11,11,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9
5G_Channel_Chain1 = 11,11,11,11,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9
[Section 6: Rate To Power with BW 20M]
11b_Power = 20,20,20,20
11ag_Power = 28,32,36,44,28,32,36,48
11n_Power = 34,38,38,40,40,44,44,48,32,36,36,40,40,44,44,54,48
11ac_Power = 32,36,36,40,40,44,44,48,50,66,32,36,36,40,40,44,44,48,50,66
[Section 7: Power Backoff]
Green_WIFI_offset = 0
HT40_Power_offset = 0
VHT40_Power_offset = 0
VHT80_Power_offset = 0
SAR_Power_offset = 0
Mean_Power_offset = 36
[Section 8: Reg Domain]
reg_domain1 = 0x00000001
reg_domain2 = 0x00000002
[Section 9: Band Edge Power offset (MKK, FCC, ETSI)]
BW20M = 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41
BW40M = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21
BW80M = 6,5,4,3,2,1
[Section 10: TX Scale]
Chain0_1 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
Chain1_1 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
Chain0_2 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17
Chain1_2 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17
Chain0_3 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18
Chain1_3 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18
Chain0_4 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,19
Chain1_4 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,19
Chain0_5 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,20
Chain1_5 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,20
Chain0_6 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,21
Chain1_6 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,21
Chain0_7 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,22
Chain1_7 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,22
Chain0_8 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,23
Chain1_8 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,23
Chain0_9 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,24
Chain1_9 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,24
Chain0_10 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,25
Chain1_10 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,25
Chain0_11 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,26
Chain1_11 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,26
Chain0_12 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,27
Chain1_12 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,27
Chain0_13 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28
Chain1_13 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28
Chain0_14 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,29
Chain1_14 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,29
Chain0_36 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,30
Chain1_36 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,30
Chain0_40 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,31
Chain1_40 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,31
Chain0_44 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,32
Chain1_44 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,32
Chain0_48 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,33
Chain1_48 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,33
Chain0_52 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,34
Chain1_52 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,34
Chain0_56 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,35
Chain1_56 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,35
Chain0_60 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,36
Chain1_60 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,36
Chain0_64 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,37
Chain1_64 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,37
Chain0_100 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,38
Chain1_100 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,38
Chain0_104 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,39
Chain1_104 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,39
Chain0_108 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,40
Chain1_108 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,40
Chain0_112 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,41
Chain1_112 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,41
Chain0_116 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,42
Chain1_116 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,42
Chain0_120 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,43
Chain1_120 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,43
Chain0_124 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,44
Chain1_124 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,44
Chain0_128 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,45
Chain1_128 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,45
Chain0_132 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,46
Chain1_132 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,46
Chain0_136 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,47
Chain1_136 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,47
Chain0_140 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,48
Chain1_140 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,48
Chain0_144 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,49
Chain1_144 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,49
Chain0_149 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,50
Chain1_149 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,50
Chain0_153 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,51
Chain1_153 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,51
Chain0_157 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,52
Chain1_157 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,52
Chain0_161 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,53
Chain1_161 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,53
Chain0_165 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,54
Chain1_165 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,54
[Section 11: misc]
DFS_switch = 1
power_save_switch = 2
ex-Fem_and_ex-LNA_param_setup = 3
rssi_report_diff = 4
[Section 12: debug reg]
address = 0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0x10,0x11,0x12,0x13,0x14,0x15,0x16
value = 0x16,0x17,0x18,0x19,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x30,0x31
[Section 13: coex_config]
bt_performance_cfg0 = 0x01010101
bt_performance_cfg1 = 0x01000000
wifi_performance_cfg0 = 0x01050A01
wifi_performance_cfg2 = 0x00000000
strategy_cfg0 = 0x01010100
strategy_cfg1 = 0x03000000
strategy_cfg2 = 0x08020000
compatibility_cfg0 = 0x04040000
compatibility_cfg1 = 0x0
ant_cfg0 = 0x0
ant_cfg1 = 0x0
isolation_cfg0 = 0x0505
isolation_cfg1 = 0x0
reserved_cfg0 = 0x0
reserved_cfg1 = 0x0
reserved_cfg2 = 0x0
reserved_cfg3 = 0x0
reserved_cfg4 = 0x0
reserved_cfg5 = 0x0
reserved_cfg6 = 0x0
reserved_cfg7 = 0x0
[Section 14: rf_tlv_config]
rf_config = 0xAA,0x55,0x00,0xFF,0x8,0xA,0x0,0x5,0x0,0x0,0x0,0x0,0x0,0x0

View File

@@ -0,0 +1,152 @@
DESCRIPTION = "UWE5622 Wifi firmware"
LICENSE = "CC0-1.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=0ceb3372c9595f0a8067e55da801e4a1"
S = "${WORKDIR}"
COMPATIBLE_MACHINE = "pinephone"
SRC_URI:append = " \
file://rtw89/rtw8852a_fw.bin \
file://wcnmodem.bin \
file://anx7688-fw.bin \
file://ov5640_af.bin \
file://regulatory.db.p7s \
file://rockchip/dptx.bin \
file://hm5065-init.bin \
file://regulatory.db \
file://rtlwifi/rtl8188eufw.bin \
file://brcm/BCM4345C0.hcd \
file://brcm/brcmfmac43362-sdio.tbs-biometrics,a711.txt \
file://brcm/BCM4345C5.hcd \
file://brcm/brcmfmac43455-sdio.bin \
file://brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt \
file://brcm/brcmfmac43455-sdio.pine64,pinebook-pro.txt \
file://brcm/brcmfmac43752-pcie.bin \
file://brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt \
file://brcm/brcmfmac43455-sdio.txt \
file://brcm/brcmfmac43362-sdio.txt \
file://brcm/brcmfmac43456-sdio.bin \
file://brcm/brcmfmac43456-sdio.xunlong,orangepi-3.txt \
file://brcm/BCM20702A1.hcd \
file://brcm/brcmfmac43455-sdio.clm_blob \
file://brcm/2020-02-12/brcmfmac43456-sdio.bin \
file://brcm/2020-02-12/brcmfmac43456-sdio.txt \
file://brcm/brcmfmac43752-pcie.clm_blob \
file://brcm/brcmfmac43456-sdio.txt \
file://brcm/brcmfmac43752-pcie.txt \
file://brcm/brcmfmac43456-sdio.clm_blob \
file://brcm/brcmfmac43362-sdio.bin \
file://ap6275p/wifi/nvram_AP6275P.txt \
file://ap6275p/wifi/fw_bcm43752a2_pcie_ag.bin \
file://ap6275p/wifi/clm_bcm43752a2_pcie_ag.blob \
file://ap6275p/bt/BCM4362A2.hcd \
file://rtw88/rtw8822c_wow_fw.bin \
file://rtw88/rtw8822c_fw.bin \
file://rtw88/rtw8703b_fw.bin \
file://rtw88/rtw8703b_wow_fw.bin \
file://rtw88/rtw8822b_fw.bin \
file://rtw88/rtw8821c_fw.bin \
file://rtl_bt/rtl8723bs_config-pine64.bin \
file://rtl_bt/rtl8723cs_xx_fw.bin \
file://rtl_bt/rtl8723cs_xx_config-pinephone.bin \
file://rtl_bt/rtl8723cs_xx_config.bin \
file://rtl_bt/rtl8821c_config.bin \
file://rtl_bt/rtl8821c_fw.bin \
file://rtl_bt/rtl8822b_config.bin \
file://rtl_bt/rtl8822b_fw.bin \
file://rt2870.bin \
file://rtl_nic/rtl8125b-1.fw \
file://rtl_nic/rtl8168h-2.fw \
file://rtl_nic/rtl8153a-4.fw \
file://rtl_nic/rtl8125b-2.fw \
file://rtl_nic/rtl8125a-3.fw \
file://hm5065-af.bin \
file://wifi_2355b001_1ant.ini \
"
#regulatory.db
#regulatory.db.p7s
# anx7688-fw.bin
# rtl_bt/rtl8723cs_xx_config.bin
# rtl_bt/rtl8723cs_xx_fw.bin
# ov5640_af.bin
# rtw88/rtw8703b_wow_fw.bin
# rtw88/rtw8703b_fw.bin"
do_install() {
install -d ${D}${base_libdir}/firmware
# install -d ${D}${base_libdir}/firmware/rtw89
# install -d ${D}${base_libdir}/firmware/rockchip
# install -d ${D}${base_libdir}/firmware/rtlwifi
# install -d ${D}${base_libdir}/firmware/brcm
# install -d ${D}${base_libdir}/firmware/brcm/2020-02-12
# install -d ${D}${base_libdir}/firmware/ap6275p
# install -d ${D}${base_libdir}/firmware/ap6275p/wifi
#install -d ${D}${base_libdir}/firmware/ap6275p/bt
install -d ${D}${base_libdir}/firmware/rtw88
install -d ${D}${base_libdir}/firmware/rtl_bt
#install -d ${D}${base_libdir}/firmware/rtl_nic
# install -m 0644 ${S}/rtw89/rtw8852a_fw.bin ${D}${base_libdir}/firmware/rtw89/rtw8852a_fw.bin
# install -m 0644 ${S}/wcnmodem.bin ${D}${base_libdir}/firmware/wcnmodem.bin
install -m 0644 ${S}/anx7688-fw.bin ${D}${base_libdir}/firmware/anx7688-fw.bin
install -m 0644 ${S}/ov5640_af.bin ${D}${base_libdir}/firmware/ov5640_af.bin
# install -m 0644 ${S}/regulatory.db.p7s ${D}${base_libdir}/firmware/regulatory.db.p7s
# install -m 0644 ${S}/rockchip/dptx.bin ${D}${base_libdir}/firmware/rockchip/dptx.bin
# install -m 0644 ${S}/hm5065-init.bin ${D}${base_libdir}/firmware/hm5065-init.bin
# install -m 0644 ${S}/regulatory.db ${D}${base_libdir}/firmware/regulatory.db
# install -m 0644 ${S}/rtlwifi/rtl8188eufw.bin ${D}${base_libdir}/firmware/rtlwifi/rtl8188eufw.bin
# install -m 0644 ${S}/brcm/BCM4345C0.hcd ${D}${base_libdir}/firmware/brcm/BCM4345C0.hcd
# install -m 0644 ${S}/brcm/brcmfmac43362-sdio.tbs-biometrics,a711.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43362-sdio.tbs-biometrics,a711.txt
# install -m 0644 ${S}/brcm/BCM4345C5.hcd ${D}${base_libdir}/firmware/brcm/BCM4345C5.hcd
# install -m 0644 ${S}/brcm/brcmfmac43455-sdio.bin ${D}${base_libdir}/firmware/brcm/brcmfmac43455-sdio.bin
# install -m 0644 ${S}/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt
# install -m 0644 ${S}/brcm/brcmfmac43455-sdio.pine64,pinebook-pro.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43455-sdio.pine64,pinebook-pro.txt
# install -m 0644 ${S}/brcm/brcmfmac43752-pcie.bin ${D}${base_libdir}/firmware/brcm/brcmfmac43752-pcie.bin
# install -m 0644 ${S}/brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt
# install -m 0644 ${S}/brcm/brcmfmac43455-sdio.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43455-sdio.txt
# install -m 0644 ${S}/brcm/brcmfmac43362-sdio.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43362-sdio.txt
# install -m 0644 ${S}/brcm/brcmfmac43456-sdio.bin ${D}${base_libdir}/firmware/brcm/brcmfmac43456-sdio.bin
# install -m 0644 ${S}/brcm/brcmfmac43456-sdio.xunlong,orangepi-3.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43456-sdio.xunlong,orangepi-3.txt
# install -m 0644 ${S}/brcm/BCM20702A1.hcd ${D}${base_libdir}/firmware/brcm/BCM20702A1.hcd
# install -m 0644 ${S}/brcm/brcmfmac43455-sdio.clm_blob ${D}${base_libdir}/firmware/brcm/brcmfmac43455-sdio.clm_blob
# install -m 0644 ${S}/brcm/2020-02-12/brcmfmac43456-sdio.bin ${D}${base_libdir}/firmware/brcm/2020-02-12/brcmfmac43456-sdio.bin
# install -m 0644 ${S}/brcm/2020-02-12/brcmfmac43456-sdio.txt ${D}${base_libdir}/firmware/brcm/2020-02-12/brcmfmac43456-sdio.txt
# install -m 0644 ${S}/brcm/brcmfmac43752-pcie.clm_blob ${D}${base_libdir}/firmware/brcm/brcmfmac43752-pcie.clm_blob
# install -m 0644 ${S}/brcm/brcmfmac43456-sdio.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43456-sdio.txt
# install -m 0644 ${S}/brcm/brcmfmac43752-pcie.txt ${D}${base_libdir}/firmware/brcm/brcmfmac43752-pcie.txt
# install -m 0644 ${S}/brcm/brcmfmac43456-sdio.clm_blob ${D}${base_libdir}/firmware/brcm/brcmfmac43456-sdio.clm_blob
# install -m 0644 ${S}/brcm/brcmfmac43362-sdio.bin ${D}${base_libdir}/firmware/brcm/brcmfmac43362-sdio.bin
# install -m 0644 ${S}/ap6275p/wifi/nvram_AP6275P.txt ${D}${base_libdir}/firmware/ap6275p/wifi/nvram_AP6275P.txt
# install -m 0644 ${S}/ap6275p/wifi/fw_bcm43752a2_pcie_ag.bin ${D}${base_libdir}/firmware/ap6275p/wifi/fw_bcm43752a2_pcie_ag.bin
# install -m 0644 ${S}/ap6275p/wifi/clm_bcm43752a2_pcie_ag.blob ${D}${base_libdir}/firmware/ap6275p/wifi/clm_bcm43752a2_pcie_ag.blob
# install -m 0644 ${S}/ap6275p/bt/BCM4362A2.hcd ${D}${base_libdir}/firmware/ap6275p/bt/BCM4362A2.hcd
# install -m 0644 ${S}/rtw88/rtw8822c_wow_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8822c_wow_fw.bin
# install -m 0644 ${S}/rtw88/rtw8822c_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8822c_fw.bin
install -m 0644 ${S}/rtw88/rtw8703b_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8703b_fw.bin
install -m 0644 ${S}/rtw88/rtw8703b_wow_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8703b_wow_fw.bin
# install -m 0644 ${S}/rtw88/rtw8822b_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8822b_fw.bin
# install -m 0644 ${S}/rtw88/rtw8821c_fw.bin ${D}${base_libdir}/firmware/rtw88/rtw8821c_fw.bin
# install -m 0644 ${S}/rtl_bt/rtl8723bs_config-pine64.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8723bs_config-pine64.bin
install -m 0644 ${S}/rtl_bt/rtl8723cs_xx_fw.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8723cs_xx_fw.bin
install -m 0644 ${S}/rtl_bt/rtl8723cs_xx_config-pinephone.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8723cs_xx_config-pinephone.bin
install -m 0644 ${S}/rtl_bt/rtl8723cs_xx_config.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8723cs_xx_config.bin
# install -m 0644 ${S}/rtl_bt/rtl8821c_config.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8821c_config.bin
# install -m 0644 ${S}/rtl_bt/rtl8821c_fw.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8821c_fw.bin
# install -m 0644 ${S}/rtl_bt/rtl8822b_config.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8822b_config.bin
# install -m 0644 ${S}/rtl_bt/rtl8822b_fw.bin ${D}${base_libdir}/firmware/rtl_bt/rtl8822b_fw.bin
# install -m 0644 ${S}/rt2870.bin ${D}${base_libdir}/firmware/rt2870.bin
# install -m 0644 ${S}/rtl_nic/rtl8125b-1.fw ${D}${base_libdir}/firmware/rtl_nic/rtl8125b-1.fw
# install -m 0644 ${S}/rtl_nic/rtl8168h-2.fw ${D}${base_libdir}/firmware/rtl_nic/rtl8168h-2.fw
# install -m 0644 ${S}/rtl_nic/rtl8153a-4.fw ${D}${base_libdir}/firmware/rtl_nic/rtl8153a-4.fw
# install -m 0644 ${S}/rtl_nic/rtl8125b-2.fw ${D}${base_libdir}/firmware/rtl_nic/rtl8125b-2.fw
# install -m 0644 ${S}/rtl_nic/rtl8125a-3.fw ${D}${base_libdir}/firmware/rtl_nic/rtl8125a-3.fw
# install -m 0644 ${S}/hm5065-af.bin ${D}${base_libdir}/firmware/hm5065-af.bin
# install -m 0644 ${S}/wifi_2355b001_1ant.ini ${D}${base_libdir}/firmware/wifi_2355b001_1ant.ini
}
FILES:${PN} = "${base_libdir}/*"
PACKAGES = "${PN}"

12
wic/image.wks.in Normal file
View File

@@ -0,0 +1,12 @@
# short-description: Create Raspberry Pi SD card image
# long-description: Creates a partitioned SD card image for use with
part u-boot --source rawcopy --sourceparams="file=${SPL_BINARY}" --ondisk mmcblk1 --no-table --align 8
part /boot --source bootimg-partition --ondisk mmcblk1 --fstype=vfat --label boot --active --align 4096 --size 32
# read only roofs
part / --source rootfs --ondisk mmcblk1 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path home/ --exclude-path var/etc/ --exclude-path boot/
# modifiable configurations stored in /var/etc
part /var/etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var/etc --ondisk mmcblk1 --fstype=ext4 --label diya --align 1024 --size 32
# home partition
part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --ondisk mmcblk1 --fstype=ext4 --label home --align 1024 --size 16
# part /home --ondisk mmcblk1 --fstype=vfat --label music --active --align 1024 --size 16