armbian-build/config/boards/gateway-gz80x.conf
Igor Pecovnik 7e8a64f4ec Board vendors adjustements for generic targets
Failback to SoC and not use generic as this is reserved for UEFI while none of those are close to that.
2025-12-20 22:02:06 +01:00

31 lines
1.2 KiB
Plaintext

# Amlogic A113X quad core 1Gb RAM SoC, eMMC 8Gb
BOARD_NAME="Gateway GZ80x"
BOARD_VENDOR="alfredsmart"
BOARDFAMILY="meson-axg"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="amper_gateway_am-gz80x_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTBRANCH_BOARD="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
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 meson_nand"
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
display_alert "$BOARD" "Installing zwave udev rule" "info"
echo 'KERNEL=="ttyAML2", NAME="tts/%n", SYMLINK+="zwave", GROUP="dialout", MODE="0660"' > "${destination}"/etc/udev/rules.d/10-zwave.rules
}