Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cfb1ba17 authored by Robert Nelson's avatar Robert Nelson
Browse files

etnaviv: enable for am57xx for 2d acceleration


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent af28e52a
No related merge requests found
...@@ -150,6 +150,7 @@ repo_rcnee_pkg_list=" \ ...@@ -150,6 +150,7 @@ repo_rcnee_pkg_list=" \
rcn-ee-archive-keyring \ rcn-ee-archive-keyring \
rcnee-access-point \ rcnee-access-point \
tiomapconf \ tiomapconf \
xserver-xorg-video-armada-etnaviv \
xserver-xorg-video-omap \ xserver-xorg-video-omap \
" "
......
...@@ -190,6 +190,7 @@ repo_rcnee_pkg_list=" \ ...@@ -190,6 +190,7 @@ repo_rcnee_pkg_list=" \
tiomapconf \ tiomapconf \
upm \ upm \
vpdma-dra7xx-installer \ vpdma-dra7xx-installer \
xserver-xorg-video-armada-etnaviv \
xserver-xorg-video-omap \ xserver-xorg-video-omap \
" "
......
...@@ -29,5 +29,5 @@ conf_kernel="ti" ...@@ -29,5 +29,5 @@ conf_kernel="ti"
usbnet_mem= usbnet_mem=
dtb= dtb=
SERIAL="ttyO2" SERIAL="ttyO2"
drm="omapdrm" drm="etnaviv"
drm_device_identifier="HDMI-A-1" drm_device_identifier="HDMI-A-1"
...@@ -1477,6 +1477,21 @@ populate_rootfs () { ...@@ -1477,6 +1477,21 @@ populate_rootfs () {
fi fi
fi fi
if [ "x${drm}" = "xetnaviv" ] ; then
wfile="/etc/X11/xorg.conf"
if [ -f ${TEMPDIR}/disk${wfile} ] ; then
if [ -f ${TEMPDIR}/disk/usr/lib/xorg/modules/drivers/armada_drv.so ] then
sudo sed -i -e 's:modesetting:armada:g' ${TEMPDIR}/disk${wfile}
sudo sed -i -e 's:fbdev:armada:g' ${TEMPDIR}/disk${wfile}
else
sudo sed -i -e 's:modesetting:omap:g' ${TEMPDIR}/disk${wfile}
sudo sed -i -e 's:fbdev:omap:g' ${TEMPDIR}/disk${wfile}
fi
sudo sed -i -e 's:#HWcursor_false::g' ${TEMPDIR}/disk${wfile}
sudo sed -i -e 's:16:24:g' ${TEMPDIR}/disk${wfile}
fi
fi
if [ "${usbnet_mem}" ] ; then if [ "${usbnet_mem}" ] ; then
echo "vm.min_free_kbytes = ${usbnet_mem}" >> ${TEMPDIR}/disk/etc/sysctl.conf echo "vm.min_free_kbytes = ${usbnet_mem}" >> ${TEMPDIR}/disk/etc/sysctl.conf
fi fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment