Skip to content

Commit 3f22500

Browse files
HeyMecoigorpecovnik
authored andcommitted
qcs6490: Use 6.18.2 from radxa
1 parent 986f774 commit 3f22500

File tree

37 files changed

+2407
-7289
lines changed

37 files changed

+2407
-7289
lines changed

config/boards/radxa-dragon-q6a.conf

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ declare -g BOARD_NAME="Radxa Dragon Q6A"
33
declare -g BOARD_VENDOR="radxa"
44
declare -g BOARD_MAINTAINER="HeyMeco"
55
declare -g BOARDFAMILY="qcs6490"
6-
declare -g KERNEL_TARGET="edge"
6+
declare -g KERNEL_TARGET="current"
77
declare -g BOOTCONFIG="none"
88
declare -g IMAGE_PARTITION_TABLE="gpt"
99
enable_extension "radxa-aic8800"
@@ -30,3 +30,23 @@ function post_family_tweaks_bsp__radxa-dragon-q6a_bsp_firmware_in_initrd() {
3030
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
3131
}
3232

33+
function post_family_tweaks__radxa-dragon-q6a_install_alsa_ucm_conf() {
34+
# Only install for kernel 6.18.x
35+
if [[ "${KERNEL_MAJOR_MINOR}" == "6.18" ]]; then
36+
display_alert "Installing alsa-ucm-conf" "${BOARD}: Radxa ALSA UCM configuration" "info"
37+
38+
declare alsa_ucm_url="https://github.com/radxa-pkg/alsa-ucm-conf/releases/download/1.2.14-1radxa2/alsa-ucm-conf_1.2.14-1radxa2_all.deb"
39+
declare alsa_ucm_deb="/tmp/alsa-ucm-conf_1.2.14-1radxa2_all.deb"
40+
41+
# Download the package
42+
run_host_command_logged wget -O "${SDCARD}${alsa_ucm_deb}" "${alsa_ucm_url}"
43+
44+
# Install in chroot
45+
chroot_sdcard dpkg -i "${alsa_ucm_deb}"
46+
47+
# Clean up
48+
run_host_command_logged rm -f "${SDCARD}${alsa_ucm_deb}"
49+
else
50+
display_alert "Skipping alsa-ucm-conf installation" "Kernel version ${KERNEL_MAJOR_MINOR} != 6.18" "info"
51+
fi
52+
}

0 commit comments

Comments
 (0)