fix: firefly-itx-3588j fails to boot, and audio output

This commit is contained in:
33335 2024-07-03 04:55:23 +08:00 committed by Igor
parent 7876017d0b
commit 4573778507
2 changed files with 31 additions and 0 deletions

View File

@ -24,8 +24,17 @@ function post_family_tweaks_bsp__firefly_itx_3588j() {
return 0
}
function post_family_tweaks__firefly_itx_3588j_naming_audios() {
display_alert "$BOARD" "Renaming firefly-itx-3588j 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
return 0
}
function post_family_tweaks__firefly_itx_3588j_enable_services() {
display_alert "$BOARD" "Enabling rk3588-bluetooth.service" "info"
chroot_sdcard systemctl enable rk3588-bluetooth.service
return 0
}

View File

@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: None <None>
Date: Tue, 2 Jul 2024 21:37:46 +0000
Subject: disable always use security partition avoid not booting
---
configs/rk3588_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/rk3588_defconfig b/configs/rk3588_defconfig
index 111111111111..222222222222 100644
--- a/configs/rk3588_defconfig
+++ b/configs/rk3588_defconfig
@@ -233,4 +233,4 @@ CONFIG_AVB_LIBAVB_USER=y
CONFIG_RK_AVB_LIBAVB_USER=y
CONFIG_OPTEE_CLIENT=y
CONFIG_OPTEE_V2=y
-CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION=y
+CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION=n
--
Armbian