* 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
23 lines
848 B
Plaintext
23 lines
848 B
Plaintext
# Rockchip RK3576 SoC octa core 8-64GB SoC GBe eMMC USB3 NvME WIFI
|
|
BOARD_NAME="ArmSoM CM5 IO"
|
|
BOARD_VENDOR="armsom"
|
|
BOARDFAMILY="rk35xx"
|
|
BOOTCONFIG="armsom-cm5-io-rk3576_defconfig"
|
|
KERNEL_TARGET="vendor"
|
|
FULL_DESKTOP="yes"
|
|
BOOT_LOGO="desktop"
|
|
BOOT_FDT_FILE="rockchip/rk3576-armsom-cm5-io.dtb"
|
|
BOOT_SCENARIO="spl-blobs"
|
|
IMAGE_PARTITION_TABLE="gpt"
|
|
BOARD_MAINTAINER=""
|
|
|
|
function post_family_tweaks__armsom-cm5-io_naming_audios() {
|
|
display_alert "$BOARD" "Renaming armsom-cm5 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-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
|
|
|
return 0
|
|
}
|