Add orange pi 4/4b support

This commit is contained in:
leeboby
2021-02-05 14:55:31 +08:00
parent cc92154127
commit daf1061335
14 changed files with 10730 additions and 2249 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
# Set "performance" GPU devfreq governor, "simple_ondemand" works bad in recent kernels
devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/governor = performance

View File

@@ -0,0 +1,2 @@
KERNEL=="mali*", MODE="0660", GROUP="video"

View File

@@ -0,0 +1,3 @@
KERNEL=="vpu_service", MODE="0660", GROUP="video"
KERNEL=="rkvdec", MODE="0660", GROUP="video"
KERNEL=="rga", MODE="0660", GROUP="video"

Binary file not shown.

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Bluetooth Rockpi
After=bluetooth.target
[Service]
Type=exec
ExecStartPre=/usr/sbin/rfkill unblock all
ExecStart=/usr/bin/brcm_patchram_plus_rk3399 -d --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 --baudrate 1500000 --patchram /lib/firmware/brcm/BCM4345C5.hcd /dev/ttyS0
TimeoutSec=0
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target