-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75845ca
commit 3b4f9c8
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Rockchip RK3588 SoC octa core 4-16GB SoC 2.5GBe eMMC USB3 NvME | ||
BOARD_NAME="Rock 5 ITX" | ||
BOARDFAMILY="rockchip-rk3588" | ||
BOOTCONFIG="rock-5-itx-rk3588_defconfig" | ||
KERNEL_TARGET="legacy,vendor" | ||
KERNEL_TEST_TARGET="legacy" # in case different then kernel target | ||
FULL_DESKTOP="yes" | ||
BOOT_LOGO="desktop" | ||
BOOT_FDT_FILE="rockchip/rk3588-rock-5-itx.dtb" | ||
BOOT_SCENARIO="spl-blobs" | ||
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin' | ||
BL31_BLOB='rk35/rk3588_bl31_v1.45.elf' | ||
BOOT_SUPPORT_SPI="yes" | ||
BOOT_SPI_RKSPI_LOADER="yes" | ||
IMAGE_PARTITION_TABLE="gpt" | ||
declare -g UEFI_EDK2_BOARD_ID="rock-5-itx" # This _only_ used for uefi-edk2-rk3588 extension | ||
|
||
function post_family_tweaks__rock5b_naming_audios() { | ||
display_alert "$BOARD" "Renaming rock5b audios" "info" | ||
|
||
mkdir -p $SDCARD/etc/udev/rules.d/ | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules | ||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In 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-dp1-sound", ENV{SOUND_DESCRIPTION}="DP1 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 | ||
} |