Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8067e833 authored by Nico Bollen's avatar Nico Bollen
Browse files

add options to disable audio and video

parent 78bbee25
Branches
No related merge requests found
......@@ -1251,8 +1251,16 @@ populate_rootfs () {
echo "###" >> ${wfile}
echo "###Disable auto loading of virtual capes (emmc/video/wireless/adc)" >> ${wfile}
echo "#disable_uboot_overlay_emmc=1" >> ${wfile}
echo "#disable_uboot_overlay_video=1" >> ${wfile}
echo "#disable_uboot_overlay_audio=1" >> ${wfile}
if [ "x${uboot_disable_video}" = "xenable" ] ; then
echo "disable_uboot_overlay_video=1" >> ${wfile}
else
echo "#disable_uboot_overlay_video=1" >> ${wfile}
fi
if [ "x${uboot_disable_audio}" = "xenable" ] ; then
echo "disable_uboot_overlay_audio=1" >> ${wfile}
else
echo "#disable_uboot_overlay_audio=1" >> ${wfile}
fi
echo "#disable_uboot_overlay_wireless=1" >> ${wfile}
echo "#disable_uboot_overlay_adc=1" >> ${wfile}
echo "###" >> ${wfile}
......@@ -2049,6 +2057,12 @@ while [ ! -z "$1" ] ; do
--enable-uboot-cape-overlays)
uboot_cape_overlays="enable"
;;
--enable-uboot-disable-video)
uboot_disable_video="enable"
;;
--enable-uboot-disable-audio)
uboot_disable_audio="enable"
;;
--enable-uboot-pru-rproc-44ti)
uboot_pru_rproc_44ti="enable"
;;
......
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