armbian-build/config/boards/radxa-dragon-q6a.conf
Igor 4850dbfbf9
Add BOARD_VENDOR to board configs (#9063)
* Add BOARD_VENDOR to board configs

* Add BOARD_VENDOR to all board configuration files

- Added BOARD_VENDOR variable to board configuration files
- Using lowercase vendor slugs (e.g., friendlyelec, radxa, xunlong)
- Set 'generic' for boards without clear vendor match
- TV box files (.tvb) excluded as they have no clear vendor
- Enables better board categorization and vendor-specific handling

* Manual adjustements on top of AI matching

* Drop doubled definition and add retroid vendor
2025-12-14 10:28:37 +01:00

33 lines
1.4 KiB
Plaintext

# Qualcomm Dragonwing QCS6490
declare -g BOARD_NAME="Radxa Dragon Q6A"
declare -g BOARD_VENDOR="radxa"
declare -g BOARD_MAINTAINER="HeyMeco"
declare -g BOARDFAMILY="qcs6490"
declare -g KERNEL_TARGET="edge"
declare -g BOOTCONFIG="none"
declare -g IMAGE_PARTITION_TABLE="gpt"
enable_extension "radxa-aic8800"
AIC8800_TYPE="usb"
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/qcs6490/a660_zap.mbn)
declare -g BOARD_FIRMWARE_INSTALL="-full"
declare -g BOOT_FDT_FILE="qcom/qcs6490-radxa-dragon-q6a.dtb"
function post_family_tweaks_bsp__radxa-dragon-q6a_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # will be filled in by add_file_from_stdin_to_bsp_destination
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/initramfs-hook-qcs6490-fw" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
add_firmware "qcom/qcs6490/a660_zap.mbn" # extra one for gpu
add_firmware "qcom/a660_sqe.fw" # extra one for dpu
add_firmware "qcom/qcs6490/radxa/dragon-q6a/adsp.mbn" # extra one for remoteproc0
add_firmware "qcom/qcs6490/radxa/dragon-q6a/cdsp.mbn" # extra one for remoteproc1
add_firmware "qcom/qcs6490/QCS6490-Radxa-Dragon-Q6A-tplg.bin" # extra one for sound
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}