Files
build/config/boards/bananapim4berry.conf
The-going 3d56fa93cd bananapi_m4_berry: Change the status to supported
Add the configuration file for the wifi 8821cu module
2025-05-27 15:37:20 +02:00

27 lines
778 B
Plaintext

# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
BOARD_NAME="BananaPi M4 Berry"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="The-going"
BOOTCONFIG="bananapi_m4_berry_defconfig"
BOOTPATCHDIR="v2025-sunxi"
BOOTBRANCH_BOARD="tag:v2025.04"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools hostapd"
function post_family_tweaks_bsp__bananapi_module_conf() {
mkdir -p "${destination}"/etc/modprobe.d/
display_alert "$BOARD" "Configuring rtl8821cu wifi module" "info"
cp -f "${SRC}"/packages/bsp/wifi-rtl8821cu/etc/modprobe.d/8821cu.conf \
"${destination}"/etc/modprobe.d/8821cu.conf
}