mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-24 17:46:43 +07:00
t527: Add gpu acceleration and gst hw decode
This commit is contained in:
2
external/config/boards/orangepi4a.conf
vendored
2
external/config/boards/orangepi4a.conf
vendored
@@ -7,5 +7,5 @@ MODULES="bcmdhd vin_v4l2"
|
||||
KERNEL_TARGET="current"
|
||||
DISTRIB_TYPE_CURRENT="bookworm jammy"
|
||||
BOOT_LOGO="desktop"
|
||||
REVISION="1.0.0"
|
||||
REVISION="1.0.2"
|
||||
SRC_EXTLINUX="yes"
|
||||
|
||||
@@ -24,6 +24,9 @@ gnome-system-monitor
|
||||
gnome-terminal
|
||||
gnome-session
|
||||
gnome-shell
|
||||
gstreamer1.0-packagekit
|
||||
gstreamer1.0-plugins-base-apps
|
||||
gstreamer1.0-pulseaudio
|
||||
inputattach
|
||||
libnotify-bin
|
||||
libpulsedsp
|
||||
|
||||
17
external/config/sources/families/sun55iw3.conf
vendored
17
external/config/sources/families/sun55iw3.conf
vendored
@@ -75,6 +75,23 @@ family_tweaks_s()
|
||||
SERIALCON="ttyAS0"
|
||||
fi
|
||||
|
||||
rsync -a --chown=root:root "${EXTER}"/packages/bsp/t527/* ${SDCARD}/
|
||||
|
||||
if [[ ${SELECTED_CONFIGURATION} == desktop ]]; then
|
||||
local packages_to_install=("mesa" "libcedarc" "gst-omx")
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install gstreamer1.0-x" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
for package in ${packages_to_install[@]}; do
|
||||
dpkg_install_debs_chroot $EXTER/cache/sources/t527_packages/$RELEASE/$package
|
||||
done
|
||||
|
||||
if [[ $RELEASE == jammy ]]; then
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install glmark2 glmark2-wayland" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
elif [[ $RELEASE == bookworm ]]; then
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install glmark2-x11 glmark2-wayland" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
install_wiringop
|
||||
}
|
||||
|
||||
|
||||
7
external/packages/bsp/t527/etc/X11/xorg.conf
vendored
Normal file
7
external/packages/bsp/t527/etc/X11/xorg.conf
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Section "Device"
|
||||
Identifier "Allwinner Graphics"
|
||||
Driver "modesetting"
|
||||
|
||||
Option "kmsdev" "/dev/dri/card0"
|
||||
Option "AccelMethod" "glamor"
|
||||
EndSection
|
||||
5
external/packages/bsp/t527/etc/udev/rules.d/99-t527-permissions.rules
vendored
Normal file
5
external/packages/bsp/t527/etc/udev/rules.d/99-t527-permissions.rules
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
KERNEL=="system", SUBSYSTEM=="dma_heap", GROUP="video", MODE="0660"
|
||||
KERNEL=="reserved", SUBSYSTEM=="dma_heap", GROUP="video", MODE="0660"
|
||||
KERNEL=="sunxi_soc_info", MODE="0666"
|
||||
KERNEL=="renderD128", SUBSYSTEM=="drm", MODE="0666"
|
||||
KERNEL=="cedar_dev", MODE="0666"
|
||||
Reference in New Issue
Block a user