summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/layer.conf2
-rw-r--r--conf/machine/include/imx-base.inc2
-rw-r--r--recipes-bsp/atf/atf_git.bb92
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-common_2019.04.inc (renamed from recipes-bsp/u-boot/u-boot-fslc-common_2018.11.inc)6
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-fw-utils_2019.04.bb (renamed from recipes-bsp/u-boot/u-boot-fslc-fw-utils_2018.11.bb)0
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.04.bb (renamed from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2018.11.bb)0
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc_2019.04.bb (renamed from recipes-bsp/u-boot/u-boot-fslc_2018.11.bb)0
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend3
-rw-r--r--recipes-kernel/linux/linux-fslc/defconfig9
-rw-r--r--recipes-kernel/linux/linux-fslc_5.0.bb (renamed from recipes-kernel/linux/linux-fslc_4.20.bb)6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-opencv-Fix-build-with-opencv-3.4.5.patch40
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb1
-rw-r--r--recipes-multimedia/imx-codec/imx-codec_4.4.2.bb10
13 files changed, 132 insertions, 39 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index d2a81521..fd6c0cef 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -8,7 +8,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
8BBFILE_COLLECTIONS += "freescale-layer" 8BBFILE_COLLECTIONS += "freescale-layer"
9BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/" 9BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/"
10BBFILE_PRIORITY_freescale-layer = "5" 10BBFILE_PRIORITY_freescale-layer = "5"
11LAYERSERIES_COMPAT_freescale-layer = "sumo thud" 11LAYERSERIES_COMPAT_freescale-layer = "sumo thud warrior"
12 12
13# Add the Freescale-specific licenses into the metadata 13# Add the Freescale-specific licenses into the metadata
14LICENSE_PATH += "${LAYERDIR}/custom-licenses" 14LICENSE_PATH += "${LAYERDIR}/custom-licenses"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 9b7cae97..44fed8b2 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -140,7 +140,7 @@ MACHINE_SOCARCH_FILTER_append_imxgpu = " \
140 virtual/libopenvg \ 140 virtual/libopenvg \
141 libdrm \ 141 libdrm \
142 cairo \ 142 cairo \
143 gstreamer1.0-plugins-bad \ 143 gstreamer1.0 \
144 libgal-imx \ 144 libgal-imx \
145 pango \ 145 pango \
146" 146"
diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb
index 45bd376c..883b7eaf 100644
--- a/recipes-bsp/atf/atf_git.bb
+++ b/recipes-bsp/atf/atf_git.bb
@@ -29,21 +29,27 @@ LDFLAGS[unexport] = "1"
29AS[unexport] = "1" 29AS[unexport] = "1"
30LD[unexport] = "1" 30LD[unexport] = "1"
31 31
32# set secure option
33# fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)"
34
35BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" 32BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc"
36BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', 'false', d)}" 33BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}"
37BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" 34BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', 'false', d)}"
35BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}"
38 36
39uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" 37uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot"
40uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" 38uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa"
41rcw ?= "" 39rcw ?= ""
42rcw_ls1012afrwy = "_default" 40rcw_ls1012afrwy = "_default"
43rcw_ls1012ardb = "_default" 41rcw_ls1012ardb = "_default"
44rcwsec ?= "" 42rcwsec ?= "_sben"
45rcwsec_ls1012afrwy = "_sben" 43
46rcwsec_ls1012ardb = "_sben" 44chassistype ?= "ls2088_1088"
45chassistype_ls1012ardb = "ls104x_1012"
46chassistype_ls1012afrwy = "ls104x_1012"
47chassistype_ls1043ardb = "ls104x_1012"
48chassistype_ls1046ardb = "ls104x_1012"
49
50ddrphyopt ?= ""
51ddrphyopt_lx2160ardb = "fip_ddr_sec"
52
47do_configure[noexec] = "1" 53do_configure[noexec] = "1"
48 54
49do_compile() { 55do_compile() {
@@ -51,14 +57,23 @@ do_compile() {
51 install -d ${S}/include/tools_share/openssl 57 install -d ${S}/include/tools_share/openssl
52 cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl 58 cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl
53 ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 59 ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024
60
61 if [ "${BUILD_FUSE}" = "true" ]; then
62 ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file
63 fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin"
64 fi
54 if [ "${BUILD_SECURE}" = "true" ]; then 65 if [ "${BUILD_SECURE}" = "true" ]; then
55 secureopt="TRUSTED_BOARD_BOOT=1 $ddrphyopt CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst" 66 secureopt="TRUSTED_BOARD_BOOT=1 ${ddrphyopt} CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst"
56 secext="_sec" 67 secext="_sec"
57 bl33="${uboot_boot_sec}" 68 bl33="${uboot_boot_sec}"
58 rcwsec="${rcwsec}" 69 if [ ${chassistype} = ls104x_1012 ]; then
70 rcwtemp="${rcwsec}"
71 else
72 rcwtemp="${rcw}"
73 fi
59 else 74 else
60 bl33="${uboot_boot}" 75 bl33="${uboot_boot}"
61 rcwsec="${rcw}" 76 rcwtemp="${rcw}"
62 fi 77 fi
63 78
64 if [ "${BUILD_OPTEE}" = "true" ]; then 79 if [ "${BUILD_OPTEE}" = "true" ]; then
@@ -70,39 +85,47 @@ do_compile() {
70 for d in ${BOOTTYPE}; do 85 for d in ${BOOTTYPE}; do
71 case $d in 86 case $d in
72 nor) 87 nor)
73 rcwimg="${RCWNOR}${rcwsec}.bin" 88 rcwimg="${RCWNOR}${rcwtemp}.bin"
74 uefiboot="${UEFI_NORBOOT}" 89 uefiboot="${UEFI_NORBOOT}"
75 ;; 90 ;;
76 nand) 91 nand)
77 rcwimg="${RCWNAND}${rcwsec}.bin" 92 rcwimg="${RCWNAND}${rcwtemp}.bin"
78 ;; 93 ;;
79 qspi) 94 qspi)
80 rcwimg="${RCWQSPI}${rcwsec}.bin" 95 rcwimg="${RCWQSPI}${rcwtemp}.bin"
81 ;; 96 ;;
82 sd) 97 sd)
83 rcwimg="${RCWSD}${rcwsec}.bin" 98 rcwimg="${RCWSD}${rcwtemp}.bin"
84 ;; 99 ;;
85 flexspi_nor) 100 flexspi_nor)
86 rcwimg="${RCWXSPI}${rcwsec}.bin" 101 rcwimg="${RCWXSPI}${rcwtemp}.bin"
87 uefiboot="${UEFI_XSPIBOOT}" 102 uefiboot="${UEFI_XSPIBOOT}"
88 ;; 103 ;;
89 esac 104 esac
90 105
91 if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg}" ]; then 106 if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg}" ]; then
107 oe_runmake V=1 -C ${S} realclean
108 oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt}
109 cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S}
110 cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S}
111 if [ "${BUILD_FUSE}" = "true" ]; then
112 cp -f ${S}/build/${PLATFORM}/release/fuse_fip.bin ${S}
113 fi
114
92 if [ ${MACHINE} = ls1012afrwy ]; then 115 if [ ${MACHINE} = ls1012afrwy ]; then
93 oe_runmake V=1 -C ${S} realclean 116 oe_runmake V=1 -C ${S} realclean
94 oe_runmake V=1 -C ${S} all fip pbl PLAT=ls1012afrwy_512mb BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} 117 oe_runmake V=1 -C ${S} all fip pbl PLAT=ls1012afrwy_512mb BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt}
95 cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi.pbl ${S}/bl2_${d}_512mb.pbl 118 cp -r ${S}/build/ls1012afrwy_512mb/release/bl2_qspi${secext}.pbl ${S}/bl2_${d}${secext}_512mb.pbl
96 cp -r ${S}/build/ls1012afrwy_512mb/release/fip.bin ${S}/fip_512mb.bin 119 cp -r ${S}/build/ls1012afrwy_512mb/release/fip.bin ${S}/fip_512mb.bin
120 if [ "${BUILD_FUSE}" = "true" ]; then
121 cp -r ${S}/build/ls1012afrwy_512mb/release/fuse_fip.bin ${S}/fuse_fip_512mb.bin
122 fi
97 fi 123 fi
98 if [ -n "${uefiboot}" ]; then 124 if [ -n "${uefiboot}" ]; then
99 oe_runmake V=1 -C ${S} realclean 125 oe_runmake V=1 -C ${S} realclean
100 oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${DEPLOY_DIR_IMAGE}/uefi/${PLATFORM}/${uefiboot} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} 126 oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${DEPLOY_DIR_IMAGE}/uefi/${PLATFORM}/${uefiboot} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt}
101 cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S}/fip_uefi.bin 127 cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S}/fip_uefi.bin
102 fi 128 fi
103 oe_runmake V=1 -C ${S} realclean
104 oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${PLATFORM}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt}
105 cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S}
106 fi 129 fi
107 rcwimg="" 130 rcwimg=""
108 uefiboot="" 131 uefiboot=""
@@ -111,13 +134,20 @@ do_compile() {
111 134
112do_install() { 135do_install() {
113 install -d ${D}/boot/atf 136 install -d ${D}/boot/atf
114 if [ "${BUILD_SECURE}" = "y" ]; then 137 cp -r ${S}/srk.pri ${D}/boot/atf
138 cp -r ${S}/srk.pub ${D}/boot/atf
139 if [ "${BUILD_SECURE}" = "true" ]; then
115 secext="_sec" 140 secext="_sec"
116 fi 141 fi
117 if [ -f "${S}/fip_uefi.bin" ]; then 142 if [ -f "${S}/fip_uefi.bin" ]; then
118 cp -r ${S}/fip_uefi.bin ${D}/boot/atf/fip_uefi.bin 143 cp -r ${S}/fip_uefi.bin ${D}/boot/atf/fip_uefi.bin
119 fi 144 fi
120 cp -r ${S}/build/${PLATFORM}/release/fip.bin ${D}/boot/atf/fip.bin 145 if [ -f "${S}/fuse_fip.bin" ]; then
146 cp -r ${S}/fuse_fip.bin ${D}/boot/atf/fuse_fip.bin
147 fi
148 if [ -f "${S}/fip.bin" ]; then
149 cp -r ${S}/fip.bin ${D}/boot/atf/fip.bin
150 fi
121 for d in ${BOOTTYPE}; do 151 for d in ${BOOTTYPE}; do
122 if [ -e ${S}/bl2_${d}${secext}.pbl ]; then 152 if [ -e ${S}/bl2_${d}${secext}.pbl ]; then
123 cp -r ${S}/bl2_${d}${secext}.pbl ${D}/boot/atf/bl2_${d}${secext}.pbl 153 cp -r ${S}/bl2_${d}${secext}.pbl ${D}/boot/atf/bl2_${d}${secext}.pbl
@@ -125,16 +155,25 @@ do_install() {
125 done 155 done
126 if [ ${MACHINE} = ls1012afrwy ]; then 156 if [ ${MACHINE} = ls1012afrwy ]; then
127 cp -r ${S}/fip_512mb.bin ${D}/boot/atf/fip_512mb.bin 157 cp -r ${S}/fip_512mb.bin ${D}/boot/atf/fip_512mb.bin
128 cp -r ${S}/bl2_qspi_512mb.pbl ${D}/boot/atf/fip_512mb.bin 158 cp -r ${S}/bl2_qspi${secext}_512mb.pbl ${D}/boot/atf/bl2_qspi${secext}_512mb.pbl
159 if [ -f "${S}/fuse_fip_512mb.bin" ]; then
160 cp -r ${S}/fuse_fip_512mb.bin ${D}/boot/atf/fuse_fip_512mb.bin
161 fi
129 fi 162 fi
130 chown -R root:root ${D} 163 chown -R root:root ${D}
131} 164}
132 165
133do_deploy() { 166do_deploy() {
134 install -d ${DEPLOYDIR}/atf 167 install -d ${DEPLOYDIR}/atf
135 if [ "${BUILD_SECURE}" = "y" ]; then 168 cp -r ${D}/boot/atf/srk.pri ${DEPLOYDIR}/atf
169 cp -r ${D}/boot/atf/srk.pub ${DEPLOYDIR}/atf
170 if [ "${BUILD_SECURE}" = "true" ]; then
136 secext="_sec" 171 secext="_sec"
137 fi 172 fi
173
174 if [ -f "${S}/fuse_fip.bin" ]; then
175 cp -r ${D}/boot/atf/fuse_fip.bin ${DEPLOYDIR}/atf/fuse_fip${secext}.bin
176 fi
138 177
139 if [ -e ${D}/boot/atf/fip_uefi.bin ]; then 178 if [ -e ${D}/boot/atf/fip_uefi.bin ]; then
140 cp -r ${D}/boot/atf/fip_uefi.bin ${DEPLOYDIR}/atf/fip_uefi.bin 179 cp -r ${D}/boot/atf/fip_uefi.bin ${DEPLOYDIR}/atf/fip_uefi.bin
@@ -146,8 +185,11 @@ do_deploy() {
146 fi 185 fi
147 done 186 done
148 if [ ${MACHINE} = ls1012afrwy ]; then 187 if [ ${MACHINE} = ls1012afrwy ]; then
149 cp -r ${S}/bl2_qspi_512mb.pbl ${DEPLOYDIR}/atf/ 188 cp -r ${S}/bl2_qspi${secext}_512mb.pbl ${DEPLOYDIR}/atf/
150 cp -r ${S}/fip_512mb.bin ${DEPLOYDIR}/atf/fip_uboot${secext}_512mb.bin 189 cp -r ${S}/fip_512mb.bin ${DEPLOYDIR}/atf/fip_uboot${secext}_512mb.bin
190 if [ -f "${S}/fuse_fip_512mb.bin" ]; then
191 cp -r ${S}/fuse_fip_512mb.bin ${D}/boot/atf/fuse_fip_512mb${secext}.bin
192 fi
151 fi 193 fi
152} 194}
153addtask deploy after do_install 195addtask deploy after do_install
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2018.11.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2019.04.inc
index 53496b7b..2127eae2 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-common_2018.11.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc-common_2019.04.inc
@@ -10,9 +10,9 @@ DEPENDS += "bison-native"
10 10
11SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" 11SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
12 12
13SRCREV = "6e25ce6f3c8568b9618de6569794a29a05e1b7a4" 13SRCREV = "d4eebd04278595fb7e1cc7c5725ec3a9e581be5e"
14SRCBRANCH = "2018.11+fslc" 14SRCBRANCH = "2019.04+fslc"
15 15
16PV = "v2018.11+git${SRCPV}" 16PV = "v2019.04+git${SRCPV}"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
diff --git a/recipes-bsp/u-boot/u-boot-fslc-fw-utils_2018.11.bb b/recipes-bsp/u-boot/u-boot-fslc-fw-utils_2019.04.bb
index a809a3f6..a809a3f6 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-fw-utils_2018.11.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-fw-utils_2019.04.bb
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2018.11.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.04.bb
index 9123b331..9123b331 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2018.11.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.04.bb
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2018.11.bb b/recipes-bsp/u-boot/u-boot-fslc_2019.04.bb
index 5659e16c..5659e16c 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2018.11.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2019.04.bb
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 8541ed7c..9f183db9 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -16,7 +16,8 @@ python () {
16 16
17# Enable Etnaviv support 17# Enable Etnaviv support
18PACKAGECONFIG_append_use-mainline-bsp = " gallium" 18PACKAGECONFIG_append_use-mainline-bsp = " gallium"
19GALLIUMDRIVERS_append_use-mainline-bsp = ",etnaviv,imx" 19GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4"
20GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4"
20 21
21BACKEND = \ 22BACKEND = \
22 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 23 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
diff --git a/recipes-kernel/linux/linux-fslc/defconfig b/recipes-kernel/linux/linux-fslc/defconfig
index 6985d61e..16a7d2e4 100644
--- a/recipes-kernel/linux/linux-fslc/defconfig
+++ b/recipes-kernel/linux/linux-fslc/defconfig
@@ -38,6 +38,7 @@ CONFIG_SOC_IMX6SLL=y
38CONFIG_SOC_IMX6SX=y 38CONFIG_SOC_IMX6SX=y
39CONFIG_SOC_IMX6UL=y 39CONFIG_SOC_IMX6UL=y
40CONFIG_SOC_IMX7D=y 40CONFIG_SOC_IMX7D=y
41CONFIG_SOC_IMX7ULP=y
41CONFIG_SOC_VF610=y 42CONFIG_SOC_VF610=y
42CONFIG_PCI=y 43CONFIG_PCI=y
43CONFIG_PCI_MSI=y 44CONFIG_PCI_MSI=y
@@ -81,6 +82,7 @@ CONFIG_NETFILTER=y
81CONFIG_CAN=y 82CONFIG_CAN=y
82CONFIG_CAN_FLEXCAN=y 83CONFIG_CAN_FLEXCAN=y
83CONFIG_BT=y 84CONFIG_BT=y
85CONFIG_BT_BNEP=m
84CONFIG_BT_HCIUART=y 86CONFIG_BT_HCIUART=y
85CONFIG_BT_HCIUART_LL=y 87CONFIG_BT_HCIUART_LL=y
86CONFIG_CFG80211=y 88CONFIG_CFG80211=y
@@ -175,6 +177,7 @@ CONFIG_MOUSE_PS2_ELANTECH=y
175CONFIG_INPUT_TOUCHSCREEN=y 177CONFIG_INPUT_TOUCHSCREEN=y
176CONFIG_TOUCHSCREEN_ADS7846=y 178CONFIG_TOUCHSCREEN_ADS7846=y
177CONFIG_TOUCHSCREEN_EGALAX=y 179CONFIG_TOUCHSCREEN_EGALAX=y
180CONFIG_TOUCHSCREEN_GOODIX=y
178CONFIG_TOUCHSCREEN_MAX11801=y 181CONFIG_TOUCHSCREEN_MAX11801=y
179CONFIG_TOUCHSCREEN_IMX6UL_TSC=y 182CONFIG_TOUCHSCREEN_IMX6UL_TSC=y
180CONFIG_TOUCHSCREEN_EDT_FT5X06=y 183CONFIG_TOUCHSCREEN_EDT_FT5X06=y
@@ -224,10 +227,12 @@ CONFIG_CPU_THERMAL=y
224CONFIG_IMX_THERMAL=y 227CONFIG_IMX_THERMAL=y
225CONFIG_WATCHDOG=y 228CONFIG_WATCHDOG=y
226CONFIG_DA9062_WATCHDOG=y 229CONFIG_DA9062_WATCHDOG=y
230CONFIG_DA9063_WATCHDOG=m
227CONFIG_RN5T618_WATCHDOG=y 231CONFIG_RN5T618_WATCHDOG=y
228CONFIG_IMX2_WDT=y 232CONFIG_IMX2_WDT=y
229CONFIG_MFD_DA9052_I2C=y 233CONFIG_MFD_DA9052_I2C=y
230CONFIG_MFD_DA9062=y 234CONFIG_MFD_DA9062=y
235CONFIG_MFD_DA9063=y
231CONFIG_MFD_MC13XXX_SPI=y 236CONFIG_MFD_MC13XXX_SPI=y
232CONFIG_MFD_MC13XXX_I2C=y 237CONFIG_MFD_MC13XXX_I2C=y
233CONFIG_MFD_RN5T618=y 238CONFIG_MFD_RN5T618=y
@@ -237,6 +242,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y
237CONFIG_REGULATOR_ANATOP=y 242CONFIG_REGULATOR_ANATOP=y
238CONFIG_REGULATOR_DA9052=y 243CONFIG_REGULATOR_DA9052=y
239CONFIG_REGULATOR_DA9062=y 244CONFIG_REGULATOR_DA9062=y
245CONFIG_REGULATOR_DA9063=y
240CONFIG_REGULATOR_GPIO=y 246CONFIG_REGULATOR_GPIO=y
241CONFIG_REGULATOR_MC13783=y 247CONFIG_REGULATOR_MC13783=y
242CONFIG_REGULATOR_MC13892=y 248CONFIG_REGULATOR_MC13892=y
@@ -256,6 +262,7 @@ CONFIG_VIDEO_MUX=y
256CONFIG_SOC_CAMERA=y 262CONFIG_SOC_CAMERA=y
257CONFIG_V4L_MEM2MEM_DRIVERS=y 263CONFIG_V4L_MEM2MEM_DRIVERS=y
258CONFIG_VIDEO_CODA=m 264CONFIG_VIDEO_CODA=m
265CONFIG_VIDEO_IMX_PXP=y
259# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set 266# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
260CONFIG_VIDEO_ADV7180=m 267CONFIG_VIDEO_ADV7180=m
261CONFIG_VIDEO_OV5640=m 268CONFIG_VIDEO_OV5640=m
@@ -302,6 +309,7 @@ CONFIG_SND_SOC_WM8962=y
302CONFIG_SND_SIMPLE_CARD=y 309CONFIG_SND_SIMPLE_CARD=y
303CONFIG_HID_MULTITOUCH=y 310CONFIG_HID_MULTITOUCH=y
304CONFIG_USB=y 311CONFIG_USB=y
312CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
305CONFIG_USB_EHCI_HCD=y 313CONFIG_USB_EHCI_HCD=y
306CONFIG_USB_EHCI_MXC=y 314CONFIG_USB_EHCI_MXC=y
307CONFIG_USB_STORAGE=y 315CONFIG_USB_STORAGE=y
@@ -429,6 +437,7 @@ CONFIG_NLS_UTF8=y
429CONFIG_SECURITYFS=y 437CONFIG_SECURITYFS=y
430CONFIG_CRYPTO_DEV_FSL_CAAM=y 438CONFIG_CRYPTO_DEV_FSL_CAAM=y
431CONFIG_CRYPTO_DEV_SAHARA=y 439CONFIG_CRYPTO_DEV_SAHARA=y
440CONFIG_CRYPTO_DEV_MXS_DCP=y
432CONFIG_CRC_CCITT=m 441CONFIG_CRC_CCITT=m
433CONFIG_CRC_T10DIF=y 442CONFIG_CRC_T10DIF=y
434CONFIG_CRC7=m 443CONFIG_CRC7=m
diff --git a/recipes-kernel/linux/linux-fslc_4.20.bb b/recipes-kernel/linux/linux-fslc_5.0.bb
index d7bf4b7a..b9c7efde 100644
--- a/recipes-kernel/linux/linux-fslc_4.20.bb
+++ b/recipes-kernel/linux/linux-fslc_5.0.bb
@@ -11,9 +11,9 @@ include linux-fslc.inc
11 11
12LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" 12LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
13 13
14PV = "4.20+git${SRCPV}" 14PV = "5.0.3+git${SRCPV}"
15 15
16SRCBRANCH = "4.20.x+fslc" 16SRCBRANCH = "5.0.x+fslc"
17SRCREV = "bf414f71d71348bf549d320fa6518b04738dbaa1" 17SRCREV = "20d8efe363508fc77934cfa69e16cdfcff025ebd"
18 18
19COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)" 19COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-opencv-Fix-build-with-opencv-3.4.5.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-opencv-Fix-build-with-opencv-3.4.5.patch
new file mode 100644
index 00000000..4c9cba61
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-opencv-Fix-build-with-opencv-3.4.5.patch
@@ -0,0 +1,40 @@
1From 70661ec35ba7655b52f4043ee7362202bc632472 Mon Sep 17 00:00:00 2001
2From: Vincent Dehors <vincent.dehors@smile.fr>
3Date: Mon, 4 Mar 2019 09:01:37 +0100
4Subject: [PATCH] opencv: Fix build with opencv >= 3.4.5
5
6Including C header imgproc_c.h leads to a compilation error : several
7conflicting declartions for cvMoments(). Including the HPP fixes this error
8as it is done in other CPP files in the same directory.
9
10Upstream-Status: Inappropriate, code ported to C++ in more recent version
11Signed-off-by: Vincent DEHORS <vincent.dehors@smile.fr>
12
13---
14 ext/opencv/gstgrabcut.cpp | 9 +++++----
15 1 file changed, 5 insertions(+), 4 deletions(-)
16
17diff --git a/ext/opencv/gstgrabcut.cpp b/ext/opencv/gstgrabcut.cpp
18index 4cbc706d5..65b508f20 100644
19--- a/ext/opencv/gstgrabcut.cpp
20+++ b/ext/opencv/gstgrabcut.cpp
21@@ -85,11 +85,12 @@
22 #endif
23
24 #include "gstgrabcut.h"
25-extern "C"
26-{
27+
28+#if (CV_MAJOR_VERSION >= 3)
29+#include <opencv2/imgproc.hpp>
30+#endif
31 #include <opencv2/imgproc/imgproc_c.h>
32-}
33-#include <opencv2/imgproc/imgproc.hpp>
34+
35 GST_DEBUG_CATEGORY_STATIC (gst_grabcut_debug);
36 #define GST_CAT_DEFAULT gst_grabcut_debug
37
38--
392.20.1
40
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
index 2e3f3469..9d7a1eed 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
@@ -24,6 +24,7 @@ SRC_URI = " \
24 file://configure-allow-to-disable-libssh2.patch \ 24 file://configure-allow-to-disable-libssh2.patch \
25 file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ 25 file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \
26 file://0001-opencv-fix-build-for-opencv-3-4-2.patch \ 26 file://0001-opencv-fix-build-for-opencv-3-4-2.patch \
27 file://0002-opencv-Fix-build-with-opencv-3.4.5.patch \
27" 28"
28 29
29SRCREV = "03e6ef6a371a0578a9629abde8e9c83e66f34b11" 30SRCREV = "03e6ef6a371a0578a9629abde8e9c83e66f34b11"
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.4.2.bb b/recipes-multimedia/imx-codec/imx-codec_4.4.2.bb
index 39860c86..971fded0 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.4.2.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.4.2.bb
@@ -23,20 +23,20 @@ EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8
23PACKAGECONFIG ?= "" 23PACKAGECONFIG ?= ""
24PACKAGECONFIG_imxvpu = "vpu" 24PACKAGECONFIG_imxvpu = "vpu"
25 25
26# We need to ensure we don't have '-src' package overrided
27PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src'
28
26PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" 29PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu"
27 30
28do_install_append() { 31do_install_append() {
29 # FIXME: This link points to nowhere
30 if [ -e ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so ]; then
31 rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
32 fi
33
34 # LTIB move the files around or gst-fsl-plugin won't find them 32 # LTIB move the files around or gst-fsl-plugin won't find them
35 for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do 33 for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do
36 mv $p ${D}${libdir} 34 mv $p ${D}${libdir}
37 done 35 done
38 rmdir ${D}${libdir}/imx-mm/video-codec 36 rmdir ${D}${libdir}/imx-mm/video-codec
39 37
38 # Fixup ownership of files
39 chown -R root:root ${D}
40} 40}
41 41
42python __set_insane_skip() { 42python __set_insane_skip() {