armbian-build/config/boards/bananapim4zero.conf
c0rnelius 68426ff281
BananaPi M4 Zero: enable 8821cu and blacklist rtw88_8821cu (#6365)
rtw88_8821cu takes priority over the github driver, so this
shouldn't effect other units or usb dongles people use.

My reasoning is; The rtw88 driver for reasons yet unknown seems
to trigger usb fails more often than the github driver. If a
fail occurs it will introduce dmesg spam and upon reboot leave
the onboard wireless module undetectable.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:49:07 -05:00

21 lines
715 B
Plaintext

# Allwinner H618 quad core 1/2/4GB RAM SoC WiFi SPI USB-C
BOARD_NAME="Banana Pi M4Zero"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="bananapi_m4zero_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
MODULES_BLACKLIST="rtw88_8821c rtw88_8821cu"
FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
display_alert "$BOARD" "Installing upstream firmware" "info"
cp -fr $SRC/packages/bsp/bananapi/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
fi
}