mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
add new board radxa-cm5-io
This commit is contained in:
committed by
Rolf Leggewie
parent
5408ecf410
commit
ede82dbfe2
24
config/boards/radxa-cm5-io.csc
Normal file
24
config/boards/radxa-cm5-io.csc
Normal file
@@ -0,0 +1,24 @@
|
||||
# Rockchip RK3588s SoC octa core 4-16GB SoC eMMC USB3
|
||||
BOARD_NAME="Radxa CM5 IO"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOARD_MAINTAINER="amazingfate"
|
||||
BOOTCONFIG="radxa-cm5-io-rk3588s_defconfig"
|
||||
KERNEL_TARGET="vendor"
|
||||
KERNEL_TEST_TARGET="vendor"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3588s-radxa-cm5-io.dtb"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
BOOT_SOC="rk3588"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
function post_family_tweaks__radxa-cm5-io_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming radxa-cm5-io audios" "info"
|
||||
|
||||
mkdir -p $SDCARD/etc/udev/rules.d/
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user