Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config/boards/firefly-itx-3588j.csc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Original file line number Diff line number Diff line change
@@ -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