armbian-build/config/boards/nanopi-m5.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

26 lines
964 B
Plaintext

# Rockchip RK3576 SoC octa core 4-16GB RAM SoC 2xGbE UFS USB3 WIFI NvME
BOARD_NAME="NanoPi M5"
BOARD_VENDOR="friendlyelec"
BOARDFAMILY="rk35xx"
BOOTCONFIG="nanopi-m5-rk3576_defconfig"
KERNEL_TARGET="vendor,edge" # WIP: current kernel
FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.nanopi-m5"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-nanopi-m5.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOARD_MAINTAINER="SuperKali"
function post_family_tweaks__nanopi-m5_naming_audios() {
display_alert "$BOARD" "Renaming NanoPi M5 audio" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi-sound", ENV{SOUND_DESCRIPTION}="HDMI Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-rt5616-sound", ENV{SOUND_DESCRIPTION}="RT5616 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}