t527: Add gpu acceleration and gst hw decode

This commit is contained in:
baiywt
2024-11-26 20:50:57 +08:00
parent 23158a3ecc
commit 5f17bb4711
7 changed files with 42 additions and 3 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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
}