diff options
13 files changed, 132 insertions, 39 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index d2a81521c..fd6c0cef7 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -8,7 +8,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | |||
| 8 | BBFILE_COLLECTIONS += "freescale-layer" | 8 | BBFILE_COLLECTIONS += "freescale-layer" |
| 9 | BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/" |
| 10 | BBFILE_PRIORITY_freescale-layer = "5" | 10 | BBFILE_PRIORITY_freescale-layer = "5" |
| 11 | LAYERSERIES_COMPAT_freescale-layer = "sumo thud" | 11 | LAYERSERIES_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 |
| 14 | LICENSE_PATH += "${LAYERDIR}/custom-licenses" | 14 | LICENSE_PATH += "${LAYERDIR}/custom-licenses" |
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 9b7cae974..44fed8b2e 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 45bd376c5..883b7eaf4 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb | |||
| @@ -29,21 +29,27 @@ LDFLAGS[unexport] = "1" | |||
| 29 | AS[unexport] = "1" | 29 | AS[unexport] = "1" |
| 30 | LD[unexport] = "1" | 30 | LD[unexport] = "1" |
| 31 | 31 | ||
| 32 | # set secure option | ||
| 33 | # fuseopt ?= "FUSE_PROV=1 FUSE_FILE=$(CONFIG_SEC_FUSE_FILE)" | ||
| 34 | |||
| 35 | BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" | 32 | BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" |
| 36 | BUILD_SECURE = "${@bb.utils.contains('COMBINED_FEATURES', 'secure', 'true', 'false', d)}" | 33 | BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}" |
| 37 | BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" | 34 | BUILD_OPTEE = "${@bb.utils.contains('DISTRO_FEATURES', 'optee', 'true', 'false', d)}" |
| 35 | BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}" | ||
| 38 | 36 | ||
| 39 | uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" | 37 | uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot" |
| 40 | uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" | 38 | uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa" |
| 41 | rcw ?= "" | 39 | rcw ?= "" |
| 42 | rcw_ls1012afrwy = "_default" | 40 | rcw_ls1012afrwy = "_default" |
| 43 | rcw_ls1012ardb = "_default" | 41 | rcw_ls1012ardb = "_default" |
| 44 | rcwsec ?= "" | 42 | rcwsec ?= "_sben" |
| 45 | rcwsec_ls1012afrwy = "_sben" | 43 | |
| 46 | rcwsec_ls1012ardb = "_sben" | 44 | chassistype ?= "ls2088_1088" |
| 45 | chassistype_ls1012ardb = "ls104x_1012" | ||
| 46 | chassistype_ls1012afrwy = "ls104x_1012" | ||
| 47 | chassistype_ls1043ardb = "ls104x_1012" | ||
| 48 | chassistype_ls1046ardb = "ls104x_1012" | ||
| 49 | |||
| 50 | ddrphyopt ?= "" | ||
| 51 | ddrphyopt_lx2160ardb = "fip_ddr_sec" | ||
| 52 | |||
| 47 | do_configure[noexec] = "1" | 53 | do_configure[noexec] = "1" |
| 48 | 54 | ||
| 49 | do_compile() { | 55 | do_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 | ||
| 112 | do_install() { | 135 | do_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 | ||
| 133 | do_deploy() { | 166 | do_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 | } |
| 153 | addtask deploy after do_install | 195 | addtask 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 53496b7b1..2127eae29 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 | ||
| 11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" | 11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" |
| 12 | 12 | ||
| 13 | SRCREV = "6e25ce6f3c8568b9618de6569794a29a05e1b7a4" | 13 | SRCREV = "d4eebd04278595fb7e1cc7c5725ec3a9e581be5e" |
| 14 | SRCBRANCH = "2018.11+fslc" | 14 | SRCBRANCH = "2019.04+fslc" |
| 15 | 15 | ||
| 16 | PV = "v2018.11+git${SRCPV}" | 16 | PV = "v2019.04+git${SRCPV}" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${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 a809a3f66..a809a3f66 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 9123b3314..9123b3314 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 5659e16c1..5659e16c1 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 8541ed7ca..9f183db92 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 |
| 18 | PACKAGECONFIG_append_use-mainline-bsp = " gallium" | 18 | PACKAGECONFIG_append_use-mainline-bsp = " gallium" |
| 19 | GALLIUMDRIVERS_append_use-mainline-bsp = ",etnaviv,imx" | 19 | GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4" |
| 20 | GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4" | ||
| 20 | 21 | ||
| 21 | BACKEND = \ | 22 | BACKEND = \ |
| 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 6985d61ed..16a7d2e4d 100644 --- a/recipes-kernel/linux/linux-fslc/defconfig +++ b/recipes-kernel/linux/linux-fslc/defconfig | |||
| @@ -38,6 +38,7 @@ CONFIG_SOC_IMX6SLL=y | |||
| 38 | CONFIG_SOC_IMX6SX=y | 38 | CONFIG_SOC_IMX6SX=y |
| 39 | CONFIG_SOC_IMX6UL=y | 39 | CONFIG_SOC_IMX6UL=y |
| 40 | CONFIG_SOC_IMX7D=y | 40 | CONFIG_SOC_IMX7D=y |
| 41 | CONFIG_SOC_IMX7ULP=y | ||
| 41 | CONFIG_SOC_VF610=y | 42 | CONFIG_SOC_VF610=y |
| 42 | CONFIG_PCI=y | 43 | CONFIG_PCI=y |
| 43 | CONFIG_PCI_MSI=y | 44 | CONFIG_PCI_MSI=y |
| @@ -81,6 +82,7 @@ CONFIG_NETFILTER=y | |||
| 81 | CONFIG_CAN=y | 82 | CONFIG_CAN=y |
| 82 | CONFIG_CAN_FLEXCAN=y | 83 | CONFIG_CAN_FLEXCAN=y |
| 83 | CONFIG_BT=y | 84 | CONFIG_BT=y |
| 85 | CONFIG_BT_BNEP=m | ||
| 84 | CONFIG_BT_HCIUART=y | 86 | CONFIG_BT_HCIUART=y |
| 85 | CONFIG_BT_HCIUART_LL=y | 87 | CONFIG_BT_HCIUART_LL=y |
| 86 | CONFIG_CFG80211=y | 88 | CONFIG_CFG80211=y |
| @@ -175,6 +177,7 @@ CONFIG_MOUSE_PS2_ELANTECH=y | |||
| 175 | CONFIG_INPUT_TOUCHSCREEN=y | 177 | CONFIG_INPUT_TOUCHSCREEN=y |
| 176 | CONFIG_TOUCHSCREEN_ADS7846=y | 178 | CONFIG_TOUCHSCREEN_ADS7846=y |
| 177 | CONFIG_TOUCHSCREEN_EGALAX=y | 179 | CONFIG_TOUCHSCREEN_EGALAX=y |
| 180 | CONFIG_TOUCHSCREEN_GOODIX=y | ||
| 178 | CONFIG_TOUCHSCREEN_MAX11801=y | 181 | CONFIG_TOUCHSCREEN_MAX11801=y |
| 179 | CONFIG_TOUCHSCREEN_IMX6UL_TSC=y | 182 | CONFIG_TOUCHSCREEN_IMX6UL_TSC=y |
| 180 | CONFIG_TOUCHSCREEN_EDT_FT5X06=y | 183 | CONFIG_TOUCHSCREEN_EDT_FT5X06=y |
| @@ -224,10 +227,12 @@ CONFIG_CPU_THERMAL=y | |||
| 224 | CONFIG_IMX_THERMAL=y | 227 | CONFIG_IMX_THERMAL=y |
| 225 | CONFIG_WATCHDOG=y | 228 | CONFIG_WATCHDOG=y |
| 226 | CONFIG_DA9062_WATCHDOG=y | 229 | CONFIG_DA9062_WATCHDOG=y |
| 230 | CONFIG_DA9063_WATCHDOG=m | ||
| 227 | CONFIG_RN5T618_WATCHDOG=y | 231 | CONFIG_RN5T618_WATCHDOG=y |
| 228 | CONFIG_IMX2_WDT=y | 232 | CONFIG_IMX2_WDT=y |
| 229 | CONFIG_MFD_DA9052_I2C=y | 233 | CONFIG_MFD_DA9052_I2C=y |
| 230 | CONFIG_MFD_DA9062=y | 234 | CONFIG_MFD_DA9062=y |
| 235 | CONFIG_MFD_DA9063=y | ||
| 231 | CONFIG_MFD_MC13XXX_SPI=y | 236 | CONFIG_MFD_MC13XXX_SPI=y |
| 232 | CONFIG_MFD_MC13XXX_I2C=y | 237 | CONFIG_MFD_MC13XXX_I2C=y |
| 233 | CONFIG_MFD_RN5T618=y | 238 | CONFIG_MFD_RN5T618=y |
| @@ -237,6 +242,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y | |||
| 237 | CONFIG_REGULATOR_ANATOP=y | 242 | CONFIG_REGULATOR_ANATOP=y |
| 238 | CONFIG_REGULATOR_DA9052=y | 243 | CONFIG_REGULATOR_DA9052=y |
| 239 | CONFIG_REGULATOR_DA9062=y | 244 | CONFIG_REGULATOR_DA9062=y |
| 245 | CONFIG_REGULATOR_DA9063=y | ||
| 240 | CONFIG_REGULATOR_GPIO=y | 246 | CONFIG_REGULATOR_GPIO=y |
| 241 | CONFIG_REGULATOR_MC13783=y | 247 | CONFIG_REGULATOR_MC13783=y |
| 242 | CONFIG_REGULATOR_MC13892=y | 248 | CONFIG_REGULATOR_MC13892=y |
| @@ -256,6 +262,7 @@ CONFIG_VIDEO_MUX=y | |||
| 256 | CONFIG_SOC_CAMERA=y | 262 | CONFIG_SOC_CAMERA=y |
| 257 | CONFIG_V4L_MEM2MEM_DRIVERS=y | 263 | CONFIG_V4L_MEM2MEM_DRIVERS=y |
| 258 | CONFIG_VIDEO_CODA=m | 264 | CONFIG_VIDEO_CODA=m |
| 265 | CONFIG_VIDEO_IMX_PXP=y | ||
| 259 | # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set | 266 | # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set |
| 260 | CONFIG_VIDEO_ADV7180=m | 267 | CONFIG_VIDEO_ADV7180=m |
| 261 | CONFIG_VIDEO_OV5640=m | 268 | CONFIG_VIDEO_OV5640=m |
| @@ -302,6 +309,7 @@ CONFIG_SND_SOC_WM8962=y | |||
| 302 | CONFIG_SND_SIMPLE_CARD=y | 309 | CONFIG_SND_SIMPLE_CARD=y |
| 303 | CONFIG_HID_MULTITOUCH=y | 310 | CONFIG_HID_MULTITOUCH=y |
| 304 | CONFIG_USB=y | 311 | CONFIG_USB=y |
| 312 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
| 305 | CONFIG_USB_EHCI_HCD=y | 313 | CONFIG_USB_EHCI_HCD=y |
| 306 | CONFIG_USB_EHCI_MXC=y | 314 | CONFIG_USB_EHCI_MXC=y |
| 307 | CONFIG_USB_STORAGE=y | 315 | CONFIG_USB_STORAGE=y |
| @@ -429,6 +437,7 @@ CONFIG_NLS_UTF8=y | |||
| 429 | CONFIG_SECURITYFS=y | 437 | CONFIG_SECURITYFS=y |
| 430 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | 438 | CONFIG_CRYPTO_DEV_FSL_CAAM=y |
| 431 | CONFIG_CRYPTO_DEV_SAHARA=y | 439 | CONFIG_CRYPTO_DEV_SAHARA=y |
| 440 | CONFIG_CRYPTO_DEV_MXS_DCP=y | ||
| 432 | CONFIG_CRC_CCITT=m | 441 | CONFIG_CRC_CCITT=m |
| 433 | CONFIG_CRC_T10DIF=y | 442 | CONFIG_CRC_T10DIF=y |
| 434 | CONFIG_CRC7=m | 443 | CONFIG_CRC7=m |
diff --git a/recipes-kernel/linux/linux-fslc_4.20.bb b/recipes-kernel/linux/linux-fslc_5.0.bb index d7bf4b7a3..b9c7efde6 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 | ||
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
| 13 | 13 | ||
| 14 | PV = "4.20+git${SRCPV}" | 14 | PV = "5.0.3+git${SRCPV}" |
| 15 | 15 | ||
| 16 | SRCBRANCH = "4.20.x+fslc" | 16 | SRCBRANCH = "5.0.x+fslc" |
| 17 | SRCREV = "bf414f71d71348bf549d320fa6518b04738dbaa1" | 17 | SRCREV = "20d8efe363508fc77934cfa69e16cdfcff025ebd" |
| 18 | 18 | ||
| 19 | COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)" | 19 | COMPATIBLE_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 000000000..4c9cba617 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-opencv-Fix-build-with-opencv-3.4.5.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | From 70661ec35ba7655b52f4043ee7362202bc632472 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Vincent Dehors <vincent.dehors@smile.fr> | ||
| 3 | Date: Mon, 4 Mar 2019 09:01:37 +0100 | ||
| 4 | Subject: [PATCH] opencv: Fix build with opencv >= 3.4.5 | ||
| 5 | |||
| 6 | Including C header imgproc_c.h leads to a compilation error : several | ||
| 7 | conflicting declartions for cvMoments(). Including the HPP fixes this error | ||
| 8 | as it is done in other CPP files in the same directory. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate, code ported to C++ in more recent version | ||
| 11 | Signed-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 | |||
| 17 | diff --git a/ext/opencv/gstgrabcut.cpp b/ext/opencv/gstgrabcut.cpp | ||
| 18 | index 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 | -- | ||
| 39 | 2.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 2e3f34690..9d7a1eedd 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 | ||
| 29 | SRCREV = "03e6ef6a371a0578a9629abde8e9c83e66f34b11" | 30 | SRCREV = "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 39860c862..971fded00 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 | |||
| 23 | PACKAGECONFIG ?= "" | 23 | PACKAGECONFIG ?= "" |
| 24 | PACKAGECONFIG_imxvpu = "vpu" | 24 | PACKAGECONFIG_imxvpu = "vpu" |
| 25 | 25 | ||
| 26 | # We need to ensure we don't have '-src' package overrided | ||
| 27 | PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src' | ||
| 28 | |||
| 26 | PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" | 29 | PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" |
| 27 | 30 | ||
| 28 | do_install_append() { | 31 | do_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 | ||
| 42 | python __set_insane_skip() { | 42 | python __set_insane_skip() { |
