Support RK3588 Orange Pi 5 Plus

This commit is contained in:
orangepi-xunlong
2023-04-10 09:20:03 +08:00
parent 4b897b01ff
commit 9d1ca3ddaa
154 changed files with 627 additions and 5230 deletions

View File

@@ -97,8 +97,8 @@ prepare_board() {
rockpro64|renegade-elite|pinebook-pro|station-p1)
BOARDFAMILY=rk3399
;;
orangepi5|orangepi5b)
echo host > /sys/kernel/debug/usb/fc000000.usb/mode
orangepi5|orangepi5b|orangepi5plus|orangepitab)
[[ $BOARD =~ orangepi5|orangepi5b ]] && echo host > /sys/kernel/debug/usb/fc000000.usb/mode
if [[ -c /dev/mpp_service ]]; then
chmod 666 /dev/mpp_service
@@ -116,7 +116,8 @@ prepare_board() {
done
bt_status=$(cat /proc/device-tree/wireless-bluetooth/status)
if [[ ${bt_status} == "okay" ]]; then
wifi_chip=$(cat /proc/device-tree/wireless-wlan/wifi_chip_type)
if [[ ${wifi_chip} == "ap6275p" && ${bt_status} == "okay" ]]; then
rfkill unblock all
brcm_patchram_plus --bd_addr_rand --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 \
--baudrate 1500000 --patchram /lib/firmware/ap6275p/BCM4362A2.hcd /dev/ttyS9 &