Skip to content

Commit

Permalink
FriendlyElec CM3588 NAS: enable new vendor branch; uncomment BOARD_…
Browse files Browse the repository at this point in the history
…MAINTAINER var
  • Loading branch information
rpardini committed Mar 5, 2024
1 parent df8fe87 commit 82bc831
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/boards/nanopc-cm3588-nas.csc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Rockchip RK3588 octa core 16GB RAM SoC eMMC 4x NVMe 3x USB3 USB2 2.5GbE
BOARD_NAME="NanoPC CM3588 NAS"
BOARDFAMILY="rockchip-rk3588"
#BOARD_MAINTAINER=""
BOARD_MAINTAINER=""
BOOTCONFIG="nanopc_cm3588_defconfig" # Enables booting from NVMe. Vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy"
KERNEL_TARGET="legacy,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-nanopc-cm3588-nas.dtb"
Expand All @@ -15,12 +15,11 @@ DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.15.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.44.elf'
declare -g UEFI_EDK2_BOARD_ID="nanopc-cm3588-nas" # This _only_ used for uefi-edk2-rk3588 extension


function post_family_tweaks__nanopccm3588nas_udev_naming_audios() {
display_alert "$BOARD" "Renaming CM3588 audio interfaces to human-readable form" "info"

mkdir -p $SDCARD/etc/udev/rules.d/

cat <<- EOF > "${SDCARD}/etc/udev/rules.d/90-naming-audios.rules"
SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI-0 Audio Out"
SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI-1 Audio Out"
Expand Down

0 comments on commit 82bc831

Please sign in to comment.