thead: fix bluetooth problem, update to linux 6.7-rc3 (#5992)

This commit is contained in:
青菜萝卜冬瓜
2023-12-04 13:27:45 +08:00
committed by GitHub
parent 972a129c5a
commit 125fea4268
11 changed files with 249 additions and 83 deletions

View File

@@ -16,6 +16,12 @@ function post_family_tweaks__licheepi4a() {
cp -v "$SRC/packages/blobs/riscv64/thead/light_aon_fpga.bin" "$SDCARD/boot/light_aon_fpga.bin"
cp -v "$SRC/packages/blobs/riscv64/thead/light_c906_audio.bin" "$SDCARD/boot/light_c906_audio.bin"
cp -v "$SRC/packages/blobs/riscv64/thead/fw_dynamic.bin" "$SDCARD/boot/fw_dynamic.bin"
display_alert "Applying bt blobs"
cp -v "$SRC/packages/blobs/riscv64/thead/rtlbt/rtk-hciattach.service" "$SDCARD/etc/systemd/system/rtk-hciattach.service"
cp -v "$SRC/packages/blobs/riscv64/thead/rtlbt/rtk_hciattach" "$SDCARD/usr/local/bin/rtk_hciattach"
cp -v "$SRC/packages/blobs/riscv64/thead/rtlbt/rtl8723d_config" "$SDCARD/lib/firmware/rtlbt/rtl8723d_config"
cp -v "$SRC/packages/blobs/riscv64/thead/rtlbt/rtl8723d_fw" "$SDCARD/lib/firmware/rtlbt/rtl8723d_fw"
display_alert "Temp add HDMI audio output on Volume control"
mkdir -p $SDCARD/etc/pulse/

File diff suppressed because it is too large Load Diff

View File

@@ -32,7 +32,7 @@ case "${BRANCH}" in
edge)
KERNELSOURCE='https://github.com/revyos/th1520-linux-kernel'
KERNELBRANCH="tag:th1520-v6.7-rc1"
KERNELBRANCH="branch:th1520-v6.7-rc3"
declare -g KERNEL_MAJOR_MINOR="6.7"
KERNELPATCHDIR="thead-${BRANCH}"
LINUXCONFIG="linux-thead-${BRANCH}"

View File

@@ -0,0 +1,6 @@
source:
fw_dynamic.bin:
https://github.com/revyos/opensbi/tree/th1520-v1.3.1
thanks revy.

View File

@@ -0,0 +1,9 @@
source:
light_aon_fpga.bin:
https://github.com/revyos/th1520-boot-firmware/blob/master/addons/boot/light_aon_fpga.bin
light_c906_audio.bin:
https://github.com/revyos/th1520-boot-firmware/blob/master/addons/boot/light_c906_audio.bin
thanks revy.

View File

@@ -0,0 +1,8 @@
source:
rtk-hciattach.service:
https://github.com/revyos/mkimg-th1520/blob/main/addons/etc/systemd/system/rtk-hciattach.service
rtk_hciattach:
https://github.com/revyos/mkimg-th1520/blob/main/addons/lpi4a-bt/rootfs/usr/local/bin/rtk_hciattach
thanks revy.

View File

@@ -0,0 +1,8 @@
source:
rtl8723d_config:
https://github.com/wsyco/RTL8723DS_BT_Linux/raw/master/8723D/rtl8723d_config_1000000_noflow
rtl8723d_fw:
https://github.com/wsyco/RTL8723DS_BT_Linux/raw/master/8723D/rtl8723d_fw
thanks wsyco.

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Realtek H5 bluetooth support
[Service]
ExecStart=/usr/local/bin/rtk_hciattach -n -s 115200 /dev/ttyS4 rtk_h5
[Install]
WantedBy=multi-user.target

Binary file not shown.

Binary file not shown.

Binary file not shown.