Update for Orange Pi 5 ubuntu22.04 v1.0.2

This commit is contained in:
orangepi-xunlong
2022-12-09 14:16:22 +08:00
parent 69dd359f20
commit 22c084dd44
15 changed files with 494 additions and 109 deletions

View File

@@ -110,12 +110,10 @@ prepare_board() {
chown root.video /dev/video-*
fi
if [[ ${DISTRIBUTION_CODENAME} == "bullseye" ]]; then
for p in $(modetest|grep "^Planes:" -A 9999|grep -o "^[0-9]*");
do
modetest -M rockchip -aw $p:ASYNC_COMMIT:1 &>/dev/null
done
fi
for p in $(modetest|grep "^Planes:" -A 9999|grep -o "^[0-9]*");
do
modetest -M rockchip -aw $p:ASYNC_COMMIT:1 &>/dev/null
done
bt_status=$(cat /proc/device-tree/wireless-bluetooth/status)
if [[ ${bt_status} == "okay" ]]; then

BIN
external/packages/bsp/mali_csffw.bin vendored Executable file

Binary file not shown.

View File

@@ -15,3 +15,5 @@ EOF
chmod +x ~/.vnc/xstartup
vncserver
sync

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export DISPLAY=:0.0
#export GST_DEBUG=*:5
#export GST_DEBUG_FILE=/tmp/2.txt
# xv vo
mpv --hwdec=rkmpp --vd-lavc-software-fallback=no --vo=xv /usr/local/test.mp4

View File

@@ -1,3 +1,3 @@
#!/bin/bash
echo 0x100 > /sys/module/rk_vcodec/parameters/mpp_dev_debug
sudo bash -c "echo 0x100 > /sys/module/rk_vcodec/parameters/mpp_dev_debug"