From 8a19f9aae1e6fb11fbd2f6db80eb613055b3f078 Mon Sep 17 00:00:00 2001 From: Patrick Yavitz Date: Thu, 3 Jul 2025 16:26:49 -0400 Subject: [PATCH] Gateway GZ80x: `Add bluetooth support to $board.conf` Signed-off-by: Patrick Yavitz --- config/boards/gateway-gz80x.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/boards/gateway-gz80x.conf b/config/boards/gateway-gz80x.conf index d5c819f9a..423697624 100644 --- a/config/boards/gateway-gz80x.conf +++ b/config/boards/gateway-gz80x.conf @@ -11,6 +11,16 @@ BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb" SRC_EXTLINUX="yes" SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7" HAS_VIDEO_OUTPUT="no" +MODULES_BLACKLIST="rtw88_8723d rtw88_8723ds" +PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools" + +function post_family_tweaks_bsp__gateway_gz80x_firmware() { + if [[ -d "$SRC/packages/bsp/gateway-gz80x/rtl_bt" ]]; then + mkdir -p "${destination}"/lib/firmware/updates/rtl_bt + display_alert "$BOARD" "Installing bluetooth firmware" "info" + cp -fr $SRC/packages/bsp/gateway-gz80x/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/ + fi +} function post_family_tweaks_bsp__gateway_gz80x_udev() { mkdir -p "${destination}"/etc/udev/rules.d