Index: recipes-bsp/u-boot/files/add-uboot-touch-support-variable.patch =================================================================== diff -u --- recipes-bsp/u-boot/files/add-uboot-touch-support-variable.patch (revision 0) +++ recipes-bsp/u-boot/files/add-uboot-touch-support-variable.patch (revision 29c85a39101d923000c246b92a276a8b9d1d9e89) @@ -0,0 +1,16 @@ +diff --git a/install_linux_fw_uuu.sh b/install_linux_fw_uuu.sh +index 91efb7b..9e45222 100755 +--- a/install_linux_fw_uuu.sh ++++ b/install_linux_fw_uuu.sh +@@ -327,6 +327,11 @@ if [ "${DUALBOOT}" != true ]; then + uuu fb: ucmd setenv boot_recovery yes + uuu fb: ucmd setenv recovery_command wipe_update + fi ++ ++# Enable the enable the touchscreen support ++uuu fb: ucmd setenv overlays _ov_board_lvds_ccimx8m-dvk.dtbo ++ ++# Save the U-Boot environment variables + uuu fb: ucmd saveenv + + # Reset the bootcount Index: recipes-bsp/u-boot/u-boot-dey_%.bbappend =================================================================== diff -u --- recipes-bsp/u-boot/u-boot-dey_%.bbappend (revision 0) +++ recipes-bsp/u-boot/u-boot-dey_%.bbappend (revision 29c85a39101d923000c246b92a276a8b9d1d9e89) @@ -0,0 +1,15 @@ + + +GRAPHICAL_BACKEND = "fb" + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" +SRC_URI += "file://add-uboot-touch-support-variable.patch" +do_patch[noexec] = "1" +do_deploy[postfuncs] += "add_uboot_touch_support_variable_patch" + +add_uboot_touch_support_variable_patch() { + bbplain " ---------- Leahi: Touch Support patch" + cd ${WORKDIR} + patch -p1 -N --forward < add-uboot-touch-support-variable.patch \ + || bbplain " ---------- Leahi: Touch Support patch already applied" +}