diff options
42 files changed, 89 insertions, 177 deletions
diff --git a/classes/fsl-vivante-kernel-driver-handler.bbclass b/classes/fsl-vivante-kernel-driver-handler.bbclass index c226b0ab7..3477454a7 100644 --- a/classes/fsl-vivante-kernel-driver-handler.bbclass +++ b/classes/fsl-vivante-kernel-driver-handler.bbclass | |||
| @@ -45,6 +45,7 @@ python fsl_vivante_kernel_driver_handler () { | |||
| 45 | e.data.appendVar('RREPLACES:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') | 45 | e.data.appendVar('RREPLACES:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') |
| 46 | e.data.appendVar('RCONFLICTS:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') | 46 | e.data.appendVar('RCONFLICTS:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') |
| 47 | } | 47 | } |
| 48 | fsl_vivante_kernel_driver_handler[doc] = "Let the kernel base package provide kernel-module-imx-gpu-viv when the Vivante driver is built into the kernel instead of as a module" | ||
| 48 | 49 | ||
| 49 | addhandler fsl_vivante_kernel_driver_handler | 50 | addhandler fsl_vivante_kernel_driver_handler |
| 50 | fsl_vivante_kernel_driver_handler[eventmask] = "bb.event.RecipePreFinalise" | 51 | fsl_vivante_kernel_driver_handler[eventmask] = "bb.event.RecipePreFinalise" |
diff --git a/classes/image_populate_mfgtool.bbclass b/classes/image_populate_mfgtool.bbclass index b8bf9e3cc..43f5fd704 100644 --- a/classes/image_populate_mfgtool.bbclass +++ b/classes/image_populate_mfgtool.bbclass | |||
| @@ -102,6 +102,7 @@ python do_populate_mfgtool() { | |||
| 102 | # Generate MFGTOOL bundle. | 102 | # Generate MFGTOOL bundle. |
| 103 | bb.build.exec_func('generate_mfgtool_bundle', d) | 103 | bb.build.exec_func('generate_mfgtool_bundle', d) |
| 104 | } | 104 | } |
| 105 | do_populate_mfgtool[doc] = "Fetch the scripts listed in MFGTOOLCONFIG and generate the manufacturing tool bundle from them" | ||
| 105 | 106 | ||
| 106 | generate_mfgtool_bundle() { | 107 | generate_mfgtool_bundle() { |
| 107 | bbnote "Processing uuu files ..." | 108 | bbnote "Processing uuu files ..." |
| @@ -137,3 +138,4 @@ generate_mfgtool_bundle() { | |||
| 137 | ln -fs mfgtool-bundle-${PN}-${MACHINE}.tar.gz \ | 138 | ln -fs mfgtool-bundle-${PN}-${MACHINE}.tar.gz \ |
| 138 | ${DEPLOY_DIR_IMAGE}/mfgtool-bundle-${PN}.tar.gz | 139 | ${DEPLOY_DIR_IMAGE}/mfgtool-bundle-${PN}.tar.gz |
| 139 | } | 140 | } |
| 141 | generate_mfgtool_bundle[doc] = "Expand the .uuu.in templates for the machine and deploy the resulting uuu scripts, uuu binaries and extra files" | ||
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 65b6a5dbd..f7f7a32c5 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
| @@ -17,6 +17,7 @@ IMAGE_CMD:uboot-mxsboot-sdcard() { | |||
| 17 | ln -sf ${IMAGE_NAME}.uboot-mxsboot-sdcard \ | 17 | ln -sf ${IMAGE_NAME}.uboot-mxsboot-sdcard \ |
| 18 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard | 18 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard |
| 19 | } | 19 | } |
| 20 | IMAGE_CMD:uboot-mxsboot-sdcard[doc] = "Wrap U-Boot in an mxs bootstream for SD card boot on the i.MX23 and i.MX28 families" | ||
| 20 | 21 | ||
| 21 | # U-Boot mxsboot generation for NAND | 22 | # U-Boot mxsboot generation for NAND |
| 22 | do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ | 23 | do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
| @@ -28,6 +29,7 @@ IMAGE_CMD:uboot-mxsboot-nand() { | |||
| 28 | ln -sf ${IMAGE_NAME}.uboot-mxsboot-nand \ | 29 | ln -sf ${IMAGE_NAME}.uboot-mxsboot-nand \ |
| 29 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-nand | 30 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-nand |
| 30 | } | 31 | } |
| 32 | IMAGE_CMD:uboot-mxsboot-nand[doc] = "Wrap U-Boot in an mxs bootstream for NAND boot on the i.MX23 and i.MX28 families" | ||
| 31 | 33 | ||
| 32 | # In case we are building for i.MX23 or i.MX28 we need to have the | 34 | # In case we are building for i.MX23 or i.MX28 we need to have the |
| 33 | # image stream built before the wic generation | 35 | # image stream built before the wic generation |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch index 82afd5c72..6b5d092c1 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch | |||
| @@ -5,7 +5,7 @@ Subject: [PATCH 1/4] MGS-6470 [#ccc] Modify host ptr alignment size in UMAT | |||
| 5 | 5 | ||
| 6 | change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64 | 6 | change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64 |
| 7 | 7 | ||
| 8 | Upstream-Status: Inappropriate [i.MX specific] | 8 | Upstream-Status: Inappropriate [embedded specific] |
| 9 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 9 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 10 | --- | 10 | --- |
| 11 | modules/core/src/ocl.cpp | 2 +- | 11 | modules/core/src/ocl.cpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch index 50240093c..c19e7d58e 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch | |||
| @@ -6,7 +6,7 @@ Subject: [PATCH 2/4] MGS-6470 [#ccc] Add configuration parameter to force | |||
| 6 | 6 | ||
| 7 | USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true` | 7 | USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true` |
| 8 | 8 | ||
| 9 | Upstream-Status: Inappropriate [i.MX specific] | 9 | Upstream-Status: Inappropriate [embedded specific] |
| 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 11 | --- | 11 | --- |
| 12 | modules/core/src/ocl.cpp | 4 +++- | 12 | modules/core/src/ocl.cpp | 4 +++- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch index 3b429b383..bd04a463f 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch | |||
| @@ -4,7 +4,7 @@ Date: Thu, 9 Dec 2021 15:25:42 +0800 | |||
| 4 | Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in | 4 | Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in |
| 5 | OpenCL by default. | 5 | OpenCL by default. |
| 6 | 6 | ||
| 7 | Upstream-Status: Inappropriate [i.MX specific] | 7 | Upstream-Status: Inappropriate [embedded specific] |
| 8 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 8 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 9 | --- | 9 | --- |
| 10 | modules/core/src/ocl.cpp | 2 +- | 10 | modules/core/src/ocl.cpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch index ebca4ce35..cc4e61f8b 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch | |||
| @@ -10,7 +10,7 @@ disabled the related ocl function in opencv_test_imgproc to avoid the following | |||
| 10 | 10 | ||
| 11 | error: syntax error at 'double4' | 11 | error: syntax error at 'double4' |
| 12 | 12 | ||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | 13 | Upstream-Status: Inappropriate [embedded specific] |
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> |
| 15 | --- | 15 | --- |
| 16 | modules/imgproc/src/imgwarp.cpp | 4 ++++ | 16 | modules/imgproc/src/imgwarp.cpp | 4 ++++ |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch index d742b9123..f2ac82375 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch | |||
| @@ -10,7 +10,7 @@ This feature requires at least OpenCL 2.0 or higher. By default, the C++ C langu | |||
| 10 | 10 | ||
| 11 | is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options. | 11 | is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options. |
| 12 | 12 | ||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | 13 | Upstream-Status: Inappropriate [embedded specific] |
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> |
| 15 | --- | 15 | --- |
| 16 | modules/video/src/dis_flow.cpp | 2 +- | 16 | modules/video/src/dis_flow.cpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb index d509ac53e..e10048095 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb | |||
| @@ -251,15 +251,22 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
| 251 | 251 | ||
| 252 | # Need to override opencv and contrib URL because they include PV | 252 | # Need to override opencv and contrib URL because they include PV |
| 253 | IMX_BASE_VERSION = "${@'.'.join((d.getVar('PV') or '').split('.')[:3])}" | 253 | IMX_BASE_VERSION = "${@'.'.join((d.getVar('PV') or '').split('.')[:3])}" |
| 254 | SRC_URI:remove = " \ | 254 | SRC_URI:remove = "\ |
| 255 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ | 255 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ |
| 256 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV}" | 256 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV}" |
| 257 | SRC_URI:prepend = " \ | 257 | SRC_URI:prepend = "\ |
| 258 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} \ | 258 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} \ |
| 259 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} " | 259 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} " |
| 260 | 260 | ||
| 261 | # i.MX patches | 261 | # i.MX patches |
| 262 | SRC_URI += " \ | 262 | # |
| 263 | # 0107 and 0108 carry no Signed-off-by. They came in from upstream review | ||
| 264 | # rather than from this layer, and a sign-off is a certification only their | ||
| 265 | # author can make, so there is nothing here for us to correct. Note this | ||
| 266 | # covers the whole block: a patch added below without a sign-off will not be | ||
| 267 | # reported either. | ||
| 268 | # nooelint: oelint.file.patchsignedoff | ||
| 269 | SRC_URI += "\ | ||
| 263 | file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \ | 270 | file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \ |
| 264 | file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \ | 271 | file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \ |
| 265 | file://0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch \ | 272 | file://0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch \ |
| @@ -308,7 +315,7 @@ do_install:append() { | |||
| 308 | install -d ${D}${datadir}/opencv4/samples/data | 315 | install -d ${D}${datadir}/opencv4/samples/data |
| 309 | cp -r ${S}/samples/data/* ${D}${datadir}/opencv4/samples/data | 316 | cp -r ${S}/samples/data/* ${D}${datadir}/opencv4/samples/data |
| 310 | install -d ${D}${datadir}/opencv4/samples/bin/ | 317 | install -d ${D}${datadir}/opencv4/samples/bin/ |
| 311 | cp -f bin/example_* ${D}${datadir}/opencv4/samples/bin/ | 318 | install -m 0755 bin/example_* ${D}${datadir}/opencv4/samples/bin/ |
| 312 | if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then | 319 | if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then |
| 313 | cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/ | 320 | cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/ |
| 314 | fi | 321 | fi |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc index b19227f58..f902715a2 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | # Shared i.MX support fragment, only ever included by qt4 bbappends. | 1 | # Shared i.MX support fragment, only ever included by qt4 bbappends. |
| 2 | # nooelint: oelint.vars.outofcontext | ||
| 3 | FILESEXTRAPATHS:prepend := "${THISDIR}/qt4:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/qt4:" |
| 4 | 3 | ||
| 5 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" | 4 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" |
diff --git a/oelint.constants.json b/oelint.constants.json index 1379f4eff..0c37d722a 100644 --- a/oelint.constants.json +++ b/oelint.constants.json | |||
| @@ -4,8 +4,7 @@ | |||
| 4 | "known": [ | 4 | "known": [ |
| 5 | "do_image_uboot_mxsboot_nand", | 5 | "do_image_uboot_mxsboot_nand", |
| 6 | "do_image_uboot_mxsboot_sdcard", | 6 | "do_image_uboot_mxsboot_sdcard", |
| 7 | "do_image_wic", | 7 | "do_image_wic" |
| 8 | "module_conf_moal" | ||
| 9 | ] | 8 | ] |
| 10 | }, | 9 | }, |
| 11 | "variables": { | 10 | "variables": { |
| @@ -122,6 +121,7 @@ | |||
| 122 | "LICENSE_FLAGS", | 121 | "LICENSE_FLAGS", |
| 123 | "MC_FLAVOUR", | 122 | "MC_FLAVOUR", |
| 124 | "MFGTOOL_FILESPATH", | 123 | "MFGTOOL_FILESPATH", |
| 124 | "module_conf_moal", | ||
| 125 | "NETWORK_TOOLS", | 125 | "NETWORK_TOOLS", |
| 126 | "ODP_BUILD_TYPE", | 126 | "ODP_BUILD_TYPE", |
| 127 | "OEI_CORE", | 127 | "OEI_CORE", |
| @@ -165,6 +165,7 @@ | |||
| 165 | "replacements": { | 165 | "replacements": { |
| 166 | "distros": [ | 166 | "distros": [ |
| 167 | "imx-nxp-bsp", | 167 | "imx-nxp-bsp", |
| 168 | "poky-agl", | ||
| 168 | "use-mainline-bsp", | 169 | "use-mainline-bsp", |
| 169 | "use-nxp-bsp" | 170 | "use-nxp-bsp" |
| 170 | ], | 171 | ], |
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb index 87569b4a3..e0219ca8d 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb | |||
| @@ -19,6 +19,7 @@ deploy_for_mx8() { | |||
| 19 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR} | 19 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR} |
| 20 | install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR} | 20 | install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR} |
| 21 | } | 21 | } |
| 22 | deploy_for_mx8[doc] = "Deploy the Cadence HDMI firmware used by the i.MX 8 boot container" | ||
| 22 | 23 | ||
| 23 | deploy_for_mx8m() { | 24 | deploy_for_mx8m() { |
| 24 | # Synopsys DDR | 25 | # Synopsys DDR |
| @@ -30,6 +31,7 @@ deploy_for_mx8m() { | |||
| 30 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_dp_imx8m.bin ${DEPLOYDIR} | 31 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_dp_imx8m.bin ${DEPLOYDIR} |
| 31 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR} | 32 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR} |
| 32 | } | 33 | } |
| 34 | deploy_for_mx8m[doc] = "Deploy the Synopsys DDR and Cadence DP/HDMI firmware used by the i.MX 8M boot container" | ||
| 33 | 35 | ||
| 34 | deploy_for_mx9() { | 36 | deploy_for_mx9() { |
| 35 | # Synopsys DDR | 37 | # Synopsys DDR |
| @@ -37,6 +39,7 @@ deploy_for_mx9() { | |||
| 37 | install -m 0644 ${S}/firmware/ddr/synopsys/${ddr_firmware} ${DEPLOYDIR} | 39 | install -m 0644 ${S}/firmware/ddr/synopsys/${ddr_firmware} ${DEPLOYDIR} |
| 38 | done | 40 | done |
| 39 | } | 41 | } |
| 42 | deploy_for_mx9[doc] = "Deploy the Synopsys DDR firmware used by the i.MX 9 boot container" | ||
| 40 | 43 | ||
| 41 | python () { | 44 | python () { |
| 42 | # Manually add the required functions as dependencies otherwise they won't be included in the | 45 | # Manually add the required functions as dependencies otherwise they won't be included in the |
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 59fe5854f..437fffdf6 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
| @@ -144,6 +144,7 @@ compile_mx8m() { | |||
| 144 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin | 144 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin |
| 145 | 145 | ||
| 146 | } | 146 | } |
| 147 | compile_mx8m[doc] = "Stage the DDR, HDMI/DP, SPL, ATF and U-Boot binaries for the i.MX 8M boot container" | ||
| 147 | 148 | ||
| 148 | compile_mx8() { | 149 | compile_mx8() { |
| 149 | bbnote 8QM boot binary build | 150 | bbnote 8QM boot binary build |
| @@ -156,6 +157,7 @@ compile_mx8() { | |||
| 156 | ${BOOT_STAGING}/u-boot-spl.bin | 157 | ${BOOT_STAGING}/u-boot-spl.bin |
| 157 | fi | 158 | fi |
| 158 | } | 159 | } |
| 160 | compile_mx8[doc] = "Stage the SCFW, ATF, SECO and U-Boot binaries for the i.MX 8QM boot container" | ||
| 159 | 161 | ||
| 160 | compile_mx8x() { | 162 | compile_mx8x() { |
| 161 | bbnote 8QX boot binary build | 163 | bbnote 8QX boot binary build |
| @@ -168,6 +170,7 @@ compile_mx8x() { | |||
| 168 | ${BOOT_STAGING}/u-boot-spl.bin | 170 | ${BOOT_STAGING}/u-boot-spl.bin |
| 169 | fi | 171 | fi |
| 170 | } | 172 | } |
| 173 | compile_mx8x[doc] = "Stage the SECO, SCFW, ATF and U-Boot binaries for the i.MX 8QX boot container" | ||
| 171 | 174 | ||
| 172 | compile_mx8ulp() { | 175 | compile_mx8ulp() { |
| 173 | bbnote 8ULP boot binary build | 176 | bbnote 8ULP boot binary build |
| @@ -180,11 +183,13 @@ compile_mx8ulp() { | |||
| 180 | ${BOOT_STAGING}/u-boot-spl.bin | 183 | ${BOOT_STAGING}/u-boot-spl.bin |
| 181 | fi | 184 | fi |
| 182 | } | 185 | } |
| 186 | compile_mx8ulp[doc] = "Stage the SECO, ATF, uPower and U-Boot binaries for the i.MX 8ULP boot container" | ||
| 183 | 187 | ||
| 184 | compile_mx91() { | 188 | compile_mx91() { |
| 185 | bbnote i.MX 91 boot binary build | 189 | bbnote i.MX 91 boot binary build |
| 186 | compile_mx93 | 190 | compile_mx93 |
| 187 | } | 191 | } |
| 192 | compile_mx91[doc] = "Stage the i.MX 91 boot container binaries, which are the same as for i.MX 93" | ||
| 188 | 193 | ||
| 189 | compile_mx93() { | 194 | compile_mx93() { |
| 190 | bbnote i.MX 93 boot binary build | 195 | bbnote i.MX 93 boot binary build |
| @@ -201,6 +206,7 @@ compile_mx93() { | |||
| 201 | ${BOOT_STAGING}/u-boot-spl.bin | 206 | ${BOOT_STAGING}/u-boot-spl.bin |
| 202 | fi | 207 | fi |
| 203 | } | 208 | } |
| 209 | compile_mx93[doc] = "Stage the DDR, SECO/ELE, ATF and U-Boot binaries for the i.MX 93 boot container" | ||
| 204 | 210 | ||
| 205 | compile_mx943() { | 211 | compile_mx943() { |
| 206 | bbnote i.MX 943 boot binary build | 212 | bbnote i.MX 943 boot binary build |
| @@ -210,6 +216,7 @@ compile_mx943() { | |||
| 210 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ | 216 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ |
| 211 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin | 217 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin |
| 212 | } | 218 | } |
| 219 | compile_mx943[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 943 boot container" | ||
| 213 | 220 | ||
| 214 | compile_mx95() { | 221 | compile_mx95() { |
| 215 | bbnote i.MX 95 boot binary build | 222 | bbnote i.MX 95 boot binary build |
| @@ -219,6 +226,7 @@ compile_mx95() { | |||
| 219 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ | 226 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ |
| 220 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin | 227 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin |
| 221 | } | 228 | } |
| 229 | compile_mx95[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 95 boot container" | ||
| 222 | 230 | ||
| 223 | do_compile() { | 231 | do_compile() { |
| 224 | # mkimage for i.MX8 | 232 | # mkimage for i.MX8 |
| @@ -337,6 +345,7 @@ deploy_mx8m() { | |||
| 337 | install -m 0755 ${BOOT_STAGING}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 345 | install -m 0755 ${BOOT_STAGING}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
| 338 | install -m 0755 ${BOOT_STAGING}/mkimage_fit_atf.sh ${DEPLOYDIR}/${BOOT_TOOLS} | 346 | install -m 0755 ${BOOT_STAGING}/mkimage_fit_atf.sh ${DEPLOYDIR}/${BOOT_TOOLS} |
| 339 | } | 347 | } |
| 348 | deploy_mx8m[doc] = "Deploy the i.MX 8M DDR and HDMI/DP firmware together with the mkimage helpers to the boot tools folder" | ||
| 340 | 349 | ||
| 341 | deploy_mx8() { | 350 | deploy_mx8() { |
| 342 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 351 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| @@ -347,6 +356,7 @@ deploy_mx8() { | |||
| 347 | ${DEPLOYDIR}/${BOOT_TOOLS} | 356 | ${DEPLOYDIR}/${BOOT_TOOLS} |
| 348 | fi | 357 | fi |
| 349 | } | 358 | } |
| 359 | deploy_mx8[doc] = "Deploy the i.MX 8QM SECO firmware, mkimage tool and SPL to the boot tools folder" | ||
| 350 | 360 | ||
| 351 | deploy_mx8x() { | 361 | deploy_mx8x() { |
| 352 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 362 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| @@ -357,6 +367,7 @@ deploy_mx8x() { | |||
| 357 | ${DEPLOYDIR}/${BOOT_TOOLS} | 367 | ${DEPLOYDIR}/${BOOT_TOOLS} |
| 358 | fi | 368 | fi |
| 359 | } | 369 | } |
| 370 | deploy_mx8x[doc] = "Deploy the i.MX 8QX SECO firmware, mkimage tool and SPL to the boot tools folder" | ||
| 360 | 371 | ||
| 361 | deploy_mx8ulp() { | 372 | deploy_mx8ulp() { |
| 362 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 373 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| @@ -367,10 +378,12 @@ deploy_mx8ulp() { | |||
| 367 | ${DEPLOYDIR}/${BOOT_TOOLS} | 378 | ${DEPLOYDIR}/${BOOT_TOOLS} |
| 368 | fi | 379 | fi |
| 369 | } | 380 | } |
| 381 | deploy_mx8ulp[doc] = "Deploy the i.MX 8ULP SECO firmware, mkimage tool and SPL to the boot tools folder" | ||
| 370 | 382 | ||
| 371 | deploy_mx91() { | 383 | deploy_mx91() { |
| 372 | deploy_mx93 | 384 | deploy_mx93 |
| 373 | } | 385 | } |
| 386 | deploy_mx91[doc] = "Deploy the i.MX 91 boot tools, which are the same as for i.MX 93" | ||
| 374 | 387 | ||
| 375 | deploy_mx93() { | 388 | deploy_mx93() { |
| 376 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 389 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| @@ -386,6 +399,7 @@ deploy_mx93() { | |||
| 386 | ${DEPLOYDIR}/${BOOT_TOOLS} | 399 | ${DEPLOYDIR}/${BOOT_TOOLS} |
| 387 | fi | 400 | fi |
| 388 | } | 401 | } |
| 402 | deploy_mx93[doc] = "Deploy the i.MX 93 DDR and SECO/ELE firmware, mkimage tool and SPL to the boot tools folder" | ||
| 389 | 403 | ||
| 390 | deploy_mx943() { | 404 | deploy_mx943() { |
| 391 | deploy_mx93 | 405 | deploy_mx93 |
| @@ -393,6 +407,7 @@ deploy_mx943() { | |||
| 393 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | 407 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ |
| 394 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin | 408 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin |
| 395 | } | 409 | } |
| 410 | deploy_mx943[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 943" | ||
| 396 | 411 | ||
| 397 | deploy_mx95() { | 412 | deploy_mx95() { |
| 398 | deploy_mx93 | 413 | deploy_mx93 |
| @@ -400,6 +415,7 @@ deploy_mx95() { | |||
| 400 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | 415 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ |
| 401 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin | 416 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin |
| 402 | } | 417 | } |
| 418 | deploy_mx95[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 95" | ||
| 403 | 419 | ||
| 404 | do_deploy() { | 420 | do_deploy() { |
| 405 | deploy_${SOC_FAMILY} | 421 | deploy_${SOC_FAMILY} |
diff --git a/recipes-bsp/u-boot/libubootenv_%.bbappend b/recipes-bsp/u-boot/libubootenv_%.bbappend index 619b510e1..d1cecf100 100644 --- a/recipes-bsp/u-boot/libubootenv_%.bbappend +++ b/recipes-bsp/u-boot/libubootenv_%.bbappend | |||
| @@ -38,6 +38,7 @@ def fixup_uboot_config_dependency(d): | |||
| 38 | python fixup_uboot_config_dependency_handler() { | 38 | python fixup_uboot_config_dependency_handler() { |
| 39 | fixup_uboot_config_dependency(d) | 39 | fixup_uboot_config_dependency(d) |
| 40 | } | 40 | } |
| 41 | fixup_uboot_config_dependency_handler[doc] = "Borrow UBOOT_MACHINE and UBOOT_CONFIG from IMX_DEFAULT_BOOTLOADER so libubootenv passes the uboot-config sanity check" | ||
| 41 | 42 | ||
| 42 | fixup_uboot_config_dependency_handler[eventmask] = "bb.event.RecipePreFinalise" | 43 | fixup_uboot_config_dependency_handler[eventmask] = "bb.event.RecipePreFinalise" |
| 43 | addhandler fixup_uboot_config_dependency_handler | 44 | addhandler fixup_uboot_config_dependency_handler |
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb index 681156041..b493efac7 100644 --- a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb +++ b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb | |||
| @@ -5,6 +5,7 @@ DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ | |||
| 5 | order to provide support for some backported features and fixes, or because it \ | 5 | order to provide support for some backported features and fixes, or because it \ |
| 6 | was submitted for revision and it takes some time to become part of a stable \ | 6 | was submitted for revision and it takes some time to become part of a stable \ |
| 7 | version, or because it is not applicable for upstreaming." | 7 | version, or because it is not applicable for upstreaming." |
| 8 | SECTION = "bootloaders" | ||
| 8 | 9 | ||
| 9 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 10 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 10 | 11 | ||
diff --git a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb index 31424c27a..53853ada6 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
| 6 | require u-boot-imx-common_${PV}.inc | 6 | require u-boot-imx-common_${PV}.inc |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/uboot-imx" | 7 | HOMEPAGE = "https://github.com/nxp-imx/uboot-imx" |
| 8 | SECTION = "bootloaders" | ||
| 8 | 9 | ||
| 9 | PROVIDES += "u-boot u-boot-mfgtool" | 10 | PROVIDES += "u-boot u-boot-mfgtool" |
| 10 | 11 | ||
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index 28b747c70..445e0c363 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -2,6 +2,7 @@ require recipes-bsp/u-boot/u-boot.inc | |||
| 2 | 2 | ||
| 3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" | 3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" |
| 4 | HOMEPAGE = "https://github.com/nxp-qoriq/u-boot" | 4 | HOMEPAGE = "https://github.com/nxp-qoriq/u-boot" |
| 5 | SECTION = "bootloaders" | ||
| 5 | 6 | ||
| 6 | LICENSE = "BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND LGPL-2.0-only AND LGPL-2.1-only" | 7 | LICENSE = "BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND LGPL-2.0-only AND LGPL-2.1-only" |
| 7 | LIC_FILES_CHKSUM = "\ | 8 | LIC_FILES_CHKSUM = "\ |
diff --git a/recipes-devtools/qemu/qemu-qoriq.inc b/recipes-devtools/qemu/qemu-qoriq.inc index 502262f27..c598d3ff1 100644 --- a/recipes-devtools/qemu/qemu-qoriq.inc +++ b/recipes-devtools/qemu/qemu-qoriq.inc | |||
| @@ -66,7 +66,7 @@ do_install_ptest() { | |||
| 66 | cp -rL ${B}/tests ${D}${PTEST_PATH} | 66 | cp -rL ${B}/tests ${D}${PTEST_PATH} |
| 67 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} | 67 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} |
| 68 | 68 | ||
| 69 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests | 69 | install -m 0644 ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests |
| 70 | # Don't check the file genreated by configure | 70 | # Don't check the file genreated by configure |
| 71 | sed -i -e '/wildcard config-host.mak/d' \ | 71 | sed -i -e '/wildcard config-host.mak/d' \ |
| 72 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include | 72 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include |
| @@ -146,6 +146,7 @@ make_qemu_wrapper() { | |||
| 146 | GTK_THEME=Adwaita | 146 | GTK_THEME=Adwaita |
| 147 | done | 147 | done |
| 148 | } | 148 | } |
| 149 | make_qemu_wrapper[doc] = "Wrap the installed qemu-system-* binaries so they find the gdk-pixbuf loaders, fontconfig and GTK theme at runtime" | ||
| 149 | 150 | ||
| 150 | # Disable kvm/virgl/mesa on targets that do not support it | 151 | # Disable kvm/virgl/mesa on targets that do not support it |
| 151 | PACKAGECONFIG:remove:darwin = "kvm virglrenderer glx gtk+" | 152 | PACKAGECONFIG:remove:darwin = "kvm virglrenderer glx gtk+" |
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.2.bb b/recipes-devtools/qemu/qemu-qoriq_4.2.bb index 874b77e07..481407769 100644 --- a/recipes-devtools/qemu/qemu-qoriq_4.2.bb +++ b/recipes-devtools/qemu/qemu-qoriq_4.2.bb | |||
| @@ -41,7 +41,7 @@ do_install_ptest() { | |||
| 41 | cp -rL ${B}/tests ${D}${PTEST_PATH} | 41 | cp -rL ${B}/tests ${D}${PTEST_PATH} |
| 42 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} | 42 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} |
| 43 | 43 | ||
| 44 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests | 44 | install -m 0644 ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests |
| 45 | # Don't check the file genreated by configure | 45 | # Don't check the file genreated by configure |
| 46 | sed -i -e '/wildcard config-host.mak/d' \ | 46 | sed -i -e '/wildcard config-host.mak/d' \ |
| 47 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include | 47 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include |
diff --git a/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch b/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch deleted file mode 100644 index c1e3eaa25..000000000 --- a/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch +++ /dev/null | |||
| @@ -1,113 +0,0 @@ | |||
| 1 | From 2be7793ca658015470fe0d60c0c973e12ce68d73 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 06:49:58 -0700 | ||
| 4 | Subject: [PATCH 1/2] YOCIMX-9281-1: Fix gcc15 errors | ||
| 5 | |||
| 6 | Fix several instances of the following errors: | ||
| 7 | |||
| 8 | ``` | ||
| 9 | | inmates/lib/include/inmate_common.h:87:16: error: cannot use keyword 'true' as enumeration constant | ||
| 10 | | 87 | typedef enum { true = 1, false = 0 } bool; | ||
| 11 | | | ^~~~ | ||
| 12 | ``` | ||
| 13 | |||
| 14 | ``` | ||
| 15 | | In file included from configs/arm64/hikey.c:16: | ||
| 16 | | include/jailhouse/cell-config.h:318:41: error: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Werror=unterminated-string-initialization] | ||
| 17 | | 318 | #define JAILHOUSE_SYSTEM_SIGNATURE "JHSYS" | ||
| 18 | | | ^~~~~~~ | ||
| 19 | | configs/arm64/hikey.c:26:30: note: in expansion of macro 'JAILHOUSE_SYSTEM_SIGNATURE' | ||
| 20 | | 26 | .signature = JAILHOUSE_SYSTEM_SIGNATURE, | ||
| 21 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 22 | ``` | ||
| 23 | |||
| 24 | Upstream-Status: Backport [Pending] | ||
| 25 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 26 | Signed-off-by: Peng Fan <peng.fan@nxp.com> | ||
| 27 | --- | ||
| 28 | hypervisor/include/jailhouse/header.h | 2 +- | ||
| 29 | hypervisor/include/jailhouse/types.h | 2 ++ | ||
| 30 | include/jailhouse/cell-config.h | 4 ++-- | ||
| 31 | include/jailhouse/hypercall.h | 2 +- | ||
| 32 | inmates/lib/include/inmate_common.h | 2 ++ | ||
| 33 | 5 files changed, 8 insertions(+), 4 deletions(-) | ||
| 34 | |||
| 35 | diff --git a/hypervisor/include/jailhouse/header.h b/hypervisor/include/jailhouse/header.h | ||
| 36 | index 518bc5cb..324eb94b 100644 | ||
| 37 | --- a/hypervisor/include/jailhouse/header.h | ||
| 38 | +++ b/hypervisor/include/jailhouse/header.h | ||
| 39 | @@ -55,7 +55,7 @@ struct jailhouse_header { | ||
| 40 | /** Signature "JAILHOUS" used for basic validity check of the | ||
| 41 | * hypervisor image. | ||
| 42 | * @note Filled at build time. */ | ||
| 43 | - char signature[8]; | ||
| 44 | + char signature[8] __attribute__ ((nonstring)); | ||
| 45 | /** Size of hypervisor core. | ||
| 46 | * It starts with the hypervisor's header and ends after its bss | ||
| 47 | * section. Rounded up to page boundary. | ||
| 48 | diff --git a/hypervisor/include/jailhouse/types.h b/hypervisor/include/jailhouse/types.h | ||
| 49 | index 6d78ad6d..f79d7428 100644 | ||
| 50 | --- a/hypervisor/include/jailhouse/types.h | ||
| 51 | +++ b/hypervisor/include/jailhouse/types.h | ||
| 52 | @@ -19,7 +19,9 @@ | ||
| 53 | |||
| 54 | #ifndef __ASSEMBLY__ | ||
| 55 | |||
| 56 | +#if __GNUC__ < 15 | ||
| 57 | typedef enum { true = 1, false = 0 } bool; | ||
| 58 | +#endif | ||
| 59 | |||
| 60 | /** Describes a CPU set. */ | ||
| 61 | struct cpu_set { | ||
| 62 | diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h | ||
| 63 | index 17d59306..affce1c2 100644 | ||
| 64 | --- a/include/jailhouse/cell-config.h | ||
| 65 | +++ b/include/jailhouse/cell-config.h | ||
| 66 | @@ -91,7 +91,7 @@ | ||
| 67 | * structure. | ||
| 68 | */ | ||
| 69 | struct jailhouse_cell_desc { | ||
| 70 | - char signature[5]; | ||
| 71 | + char signature[5] __attribute__ ((nonstring)); | ||
| 72 | __u8 architecture; | ||
| 73 | __u16 revision; | ||
| 74 | |||
| 75 | @@ -330,7 +330,7 @@ struct jailhouse_pio { | ||
| 76 | * General descriptor of the system. | ||
| 77 | */ | ||
| 78 | struct jailhouse_system { | ||
| 79 | - char signature[5]; | ||
| 80 | + char signature[5] __attribute__ ((nonstring)); | ||
| 81 | __u8 architecture; | ||
| 82 | __u16 revision; | ||
| 83 | |||
| 84 | diff --git a/include/jailhouse/hypercall.h b/include/jailhouse/hypercall.h | ||
| 85 | index 07574d3d..cf58a4c9 100644 | ||
| 86 | --- a/include/jailhouse/hypercall.h | ||
| 87 | +++ b/include/jailhouse/hypercall.h | ||
| 88 | @@ -107,7 +107,7 @@ | ||
| 89 | |||
| 90 | #define COMM_REGION_GENERIC_HEADER \ | ||
| 91 | /** Communication region magic JHCOMM */ \ | ||
| 92 | - char signature[6]; \ | ||
| 93 | + char signature[6] __attribute__ ((nonstring)); \ | ||
| 94 | /** Communication region ABI revision */ \ | ||
| 95 | __u16 revision; \ | ||
| 96 | /** Cell state, initialized by hypervisor, updated by cell. */ \ | ||
| 97 | diff --git a/inmates/lib/include/inmate_common.h b/inmates/lib/include/inmate_common.h | ||
| 98 | index 1c20a0af..43cd7a20 100644 | ||
| 99 | --- a/inmates/lib/include/inmate_common.h | ||
| 100 | +++ b/inmates/lib/include/inmate_common.h | ||
| 101 | @@ -84,7 +84,9 @@ typedef u32 __u32; | ||
| 102 | typedef s64 __s64; | ||
| 103 | typedef u64 __u64; | ||
| 104 | |||
| 105 | +#if __GNUC__ < 15 | ||
| 106 | typedef enum { true = 1, false = 0 } bool; | ||
| 107 | +#endif | ||
| 108 | |||
| 109 | #include <jailhouse/hypercall.h> | ||
| 110 | |||
| 111 | -- | ||
| 112 | 2.34.1 | ||
| 113 | |||
diff --git a/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch b/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch deleted file mode 100644 index 4c8fefa36..000000000 --- a/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 98f6f8dc23d6b3d4fe5b15045ccb3d3ef36747be Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peng Fan <peng.fan@nxp.com> | ||
| 3 | Date: Mon, 25 Aug 2025 09:48:05 +0800 | ||
| 4 | Subject: [PATCH 2/2] YOCIMX-9281-2: hypervisor: arm64: fix strh usage | ||
| 5 | |||
| 6 | hypervisor/arch/arm64/entry.S:555: Error: immediate offset out of range | ||
| 7 | |||
| 8 | Per ARM spec: | ||
| 9 | STRH (immediate) | ||
| 10 | <pimm> Is the optional positive immediate byte offset, a multiple of 2 in | ||
| 11 | the range 0 to 8190, defaulting to 0 and encoded in the "imm12" field | ||
| 12 | as <pimm>/2. | ||
| 13 | |||
| 14 | So align sdei_event to 2 bytes aligned. | ||
| 15 | |||
| 16 | Upstream-Status: Pending | ||
| 17 | Signed-off-by: Peng Fan <peng.fan@nxp.com> | ||
| 18 | --- | ||
| 19 | hypervisor/arch/arm64/include/asm/percpu_fields.h | 2 +- | ||
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 21 | |||
| 22 | diff --git a/hypervisor/arch/arm64/include/asm/percpu_fields.h b/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 23 | index 32f42a53..844a9417 100644 | ||
| 24 | --- a/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 25 | +++ b/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 26 | @@ -18,4 +18,4 @@ | ||
| 27 | bool suspended; \ | ||
| 28 | bool suspending; \ | ||
| 29 | bool resuming; \ | ||
| 30 | - bool sdei_event; | ||
| 31 | + bool sdei_event __attribute__((aligned(2))); | ||
| 32 | -- | ||
| 33 | 2.34.1 | ||
| 34 | |||
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb index f2e1e989c..9c63cbaba 100644 --- a/recipes-extended/jailhouse/jailhouse-imx_git.bb +++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb | |||
| @@ -15,24 +15,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ | |||
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | DEPENDS = "\ | 17 | DEPENDS = "\ |
| 18 | dtc-native \ | ||
| 18 | make-native \ | 19 | make-native \ |
| 19 | python3-mako-native \ | ||
| 20 | python3-mako \ | 20 | python3-mako \ |
| 21 | dtc-native \ | 21 | python3-mako-native \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | PROVIDES = "jailhouse" | 24 | PROVIDES = "jailhouse" |
| 25 | 25 | ||
| 26 | PV = "2023.03+git${SRCPV}" | 26 | PV = "2023.03+git${SRCPV}" |
| 27 | 27 | ||
| 28 | SRCBRANCH = "lf-6.12.20_2.0.0" | 28 | SRCBRANCH = "lf-6.18.20_2.0.0" |
| 29 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" | 29 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" |
| 30 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ | 30 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ |
| 31 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ | 31 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ |
| 32 | file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \ | ||
| 33 | file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \ | ||
| 34 | " | 32 | " |
| 35 | SRCREV = "399d65450e9a377b4aaff4b0627619174e1c8c46" | 33 | SRCREV = "8d6d397f7f88f4bd0d9f99933a13163266d09099" |
| 36 | 34 | ||
| 37 | inherit module bash-completion deploy setuptools3 | 35 | inherit module bash-completion deploy setuptools3 |
| 38 | 36 | ||
| @@ -88,7 +86,7 @@ do_install:append() { | |||
| 88 | install ${B}/inmates/tools/${JH_ARCH}/linux-loader.bin ${D}${INMATES_DIR}/tools/${JH_ARCH} | 86 | install ${B}/inmates/tools/${JH_ARCH}/linux-loader.bin ${D}${INMATES_DIR}/tools/${JH_ARCH} |
| 89 | } | 87 | } |
| 90 | 88 | ||
| 91 | PACKAGE_BEFORE_PN = "pyjailhouse" | 89 | PACKAGE_BEFORE_PN += "pyjailhouse" |
| 92 | 90 | ||
| 93 | FILES:${PN} += "${nonarch_base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR}" | 91 | FILES:${PN} += "${nonarch_base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR}" |
| 94 | # Remove libdir/* appended by setuptools3-base.bbclass for module split to work correctly | 92 | # Remove libdir/* appended by setuptools3-base.bbclass for module split to work correctly |
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb index db87ae985..45ca5ae11 100644 --- a/recipes-extended/testfloat/testfloat_2a.bb +++ b/recipes-extended/testfloat/testfloat_2a.bb | |||
| @@ -29,6 +29,7 @@ do_unpack2(){ | |||
| 29 | echo -e "\nERROR: command dos2unix or fromdos not found\n" && return 1 | 29 | echo -e "\nERROR: command dos2unix or fromdos not found\n" && return 1 |
| 30 | fi | 30 | fi |
| 31 | } | 31 | } |
| 32 | do_unpack2[doc] = "Move the SoftFloat sources into ${S} and convert the shipped DOS line endings" | ||
| 32 | addtask do_unpack2 after do_unpack before do_patch | 33 | addtask do_unpack2 after do_unpack before do_patch |
| 33 | 34 | ||
| 34 | do_compile(){ | 35 | do_compile(){ |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index ef6f16d26..c31eca5d3 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -234,7 +234,7 @@ do_install () { | |||
| 234 | fi | 234 | fi |
| 235 | if [ "${BACKEND}" = "wayland" ] && [ "${IS_MX8}" != "1" ]; then | 235 | if [ "${BACKEND}" = "wayland" ] && [ "${IS_MX8}" != "1" ]; then |
| 236 | # Special case for libVDK on Wayland backend, deliver fb library as well. | 236 | # Special case for libVDK on Wayland backend, deliver fb library as well. |
| 237 | cp ${S}/gpu-core/usr/lib/fb/libVDK.so.1.2.0 ${D}${libdir}/libVDK-fb.so.1.2.0 | 237 | install -m 0644 ${S}/gpu-core/usr/lib/fb/libVDK.so.1.2.0 ${D}${libdir}/libVDK-fb.so.1.2.0 |
| 238 | fi | 238 | fi |
| 239 | 239 | ||
| 240 | if [ -z "${PACKAGES_OPENCL}" ]; then | 240 | if [ -z "${PACKAGES_OPENCL}" ]; then |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb index 5a6ba030a..37db9098a 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb | |||
| @@ -18,7 +18,7 @@ do_install:prepend() { | |||
| 18 | do_install:append() { | 18 | do_install:append() { |
| 19 | if [ "${IS_MX8}" = "1" ]; then | 19 | if [ "${IS_MX8}" = "1" ]; then |
| 20 | if [ ! -z "${PACKAGES_VULKAN}" ]; then | 20 | if [ ! -z "${PACKAGES_VULKAN}" ]; then |
| 21 | mkdir -p ${D}${datadir}/vulkan/icd.d | 21 | install -d ${D}${datadir}/vulkan/icd.d |
| 22 | mv ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json ${D}${datadir}/vulkan/icd.d/verisilicon_icd.json | 22 | mv ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json ${D}${datadir}/vulkan/icd.d/verisilicon_icd.json |
| 23 | fi | 23 | fi |
| 24 | fi | 24 | fi |
diff --git a/recipes-graphics/wayland/weston-10.0.5.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston-10.0.5.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch index 59f2a4b67..921b778b0 100644 --- a/recipes-graphics/wayland/weston-10.0.5.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch +++ b/recipes-graphics/wayland/weston-10.0.5.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch | |||
| @@ -20,7 +20,7 @@ Thus the build fails with: | |||
| 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found | 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found |
| 21 | wayland-scanner with Yocto toolchain") fixes the issue. | 21 | wayland-scanner with Yocto toolchain") fixes the issue. |
| 22 | 22 | ||
| 23 | Upstream-Status: Inappropriate [Cross-compile Specific] | 23 | Upstream-Status: Inappropriate [oe-specific] |
| 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> |
| 25 | --- | 25 | --- |
| 26 | protocol/meson.build | 2 +- | 26 | protocol/meson.build | 2 +- |
diff --git a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch index 4d2a333a3..25b649a8c 100644 --- a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch +++ b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch | |||
| @@ -20,7 +20,7 @@ Thus the build fails with: | |||
| 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found | 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found |
| 21 | wayland-scanner with Yocto toolchain") fixes the issue. | 21 | wayland-scanner with Yocto toolchain") fixes the issue. |
| 22 | 22 | ||
| 23 | Upstream-Status: Inappropriate [Cross-compile specific] | 23 | Upstream-Status: Inappropriate [oe-specific] |
| 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> |
| 25 | --- | 25 | --- |
| 26 | protocol/meson.build | 2 +- | 26 | protocol/meson.build | 2 +- |
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb index 9e1d5b471..b9956ce33 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb | |||
| @@ -23,7 +23,8 @@ do_install(){ | |||
| 23 | install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} | 23 | install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} |
| 24 | install -d ${D}${bindir} | 24 | install -d ${D}${bindir} |
| 25 | install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ | 25 | install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ |
| 26 | cp -f ${S}/bin/ar_* ${D}${bindir}/ | 26 | install -m 0755 ${S}/bin/ar_*_tool ${D}${bindir}/ |
| 27 | install -m 0644 ${S}/bin/ar_*_cfg ${D}${bindir}/ | ||
| 27 | } | 28 | } |
| 28 | 29 | ||
| 29 | FILES:${PN} += "${bindir}/" | 30 | FILES:${PN} += "${bindir}/" |
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.18.bb b/recipes-kernel/linux/linux-fslc-imx_6.18.bb index ca917f22a..0aef04565 100644 --- a/recipes-kernel/linux/linux-fslc-imx_6.18.bb +++ b/recipes-kernel/linux/linux-fslc-imx_6.18.bb | |||
| @@ -9,6 +9,7 @@ DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. | |||
| 9 | It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ | 9 | It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ |
| 10 | Latest stable Kernel patchlevel is applied and maintained by Community." | 10 | Latest stable Kernel patchlevel is applied and maintained by Community." |
| 11 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | 11 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" |
| 12 | SECTION = "kernel" | ||
| 12 | 13 | ||
| 13 | ############################################################################### | 14 | ############################################################################### |
| 14 | # This recipe (and corresponding kernel repository and branch) receives updates | 15 | # This recipe (and corresponding kernel repository and branch) receives updates |
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.1.bb b/recipes-kernel/linux/linux-fslc-lts_6.1.bb index e490755e7..da1613558 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.1.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.1.bb | |||
| @@ -10,6 +10,7 @@ DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in ord | |||
| 10 | and will not become part of a LTS version, or because it is not applicable for \ | 10 | and will not become part of a LTS version, or because it is not applicable for \ |
| 11 | upstreaming in any form." | 11 | upstreaming in any form." |
| 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" |
| 13 | SECTION = "kernel" | ||
| 13 | 14 | ||
| 14 | require linux-imx.inc | 15 | require linux-imx.inc |
| 15 | 16 | ||
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.6.bb b/recipes-kernel/linux/linux-fslc-lts_6.6.bb index a4d15e0cc..9ca1611ac 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.6.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.6.bb | |||
| @@ -10,6 +10,7 @@ DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in ord | |||
| 10 | and will not become part of a LTS version, or because it is not applicable for \ | 10 | and will not become part of a LTS version, or because it is not applicable for \ |
| 11 | upstreaming in any form." | 11 | upstreaming in any form." |
| 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" |
| 13 | SECTION = "kernel" | ||
| 13 | 14 | ||
| 14 | require linux-imx.inc | 15 | require linux-imx.inc |
| 15 | 16 | ||
diff --git a/recipes-kernel/linux/linux-imx-headers_6.18.bb b/recipes-kernel/linux/linux-imx-headers_6.18.bb index cb05aa2a8..eabc42ecf 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.18.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.18.bb | |||
| @@ -5,6 +5,7 @@ SUMMARY = "Installs i.MX-specific kernel headers" | |||
| 5 | DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \ | 5 | DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \ |
| 6 | New headers are installed in ${includedir}/imx." | 6 | New headers are installed in ${includedir}/imx." |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" |
| 8 | SECTION = "devel" | ||
| 8 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 10 | 11 | ||
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index d704e2921..f0f8b5ba2 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc | |||
| @@ -60,5 +60,6 @@ python kernel_devicetree_32bit_compatibility_update() { | |||
| 60 | bb.warn("Updating KERNEL_DEVICETREE, removing sub-folders for older kernel. Use -D for more details. Set KERNEL_DEVICETREE_32BIT_COMPATIBILITY_UPDATE = \"0\" to disable.") | 60 | bb.warn("Updating KERNEL_DEVICETREE, removing sub-folders for older kernel. Use -D for more details. Set KERNEL_DEVICETREE_32BIT_COMPATIBILITY_UPDATE = \"0\" to disable.") |
| 61 | d.setVar('KERNEL_DEVICETREE', output) | 61 | d.setVar('KERNEL_DEVICETREE', output) |
| 62 | } | 62 | } |
| 63 | kernel_devicetree_32bit_compatibility_update[doc] = "Strip device tree sub-folders from KERNEL_DEVICETREE for older 32-bit kernels that keep the dtb files flat" | ||
| 63 | addhandler kernel_devicetree_32bit_compatibility_update | 64 | addhandler kernel_devicetree_32bit_compatibility_update |
| 64 | kernel_devicetree_32bit_compatibility_update[eventmask] = "bb.event.RecipeParsed" | 65 | kernel_devicetree_32bit_compatibility_update[eventmask] = "bb.event.RecipeParsed" |
diff --git a/recipes-kernel/linux/linux-imx_6.18.bb b/recipes-kernel/linux/linux-imx_6.18.bb index 769ef7677..ee2018ff2 100644 --- a/recipes-kernel/linux/linux-imx_6.18.bb +++ b/recipes-kernel/linux/linux-imx_6.18.bb | |||
| @@ -10,6 +10,7 @@ SUMMARY = "Linux Kernel provided and supported by NXP" | |||
| 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ |
| 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." |
| 12 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | 12 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" |
| 13 | SECTION = "kernel" | ||
| 13 | 14 | ||
| 14 | require recipes-kernel/linux/linux-imx.inc | 15 | require recipes-kernel/linux/linux-imx.inc |
| 15 | 16 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch index 38282e478..1455ea626 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch | |||
| @@ -7,7 +7,7 @@ Subject: [PATCH] MMFMWK-9590 gstcuda: disable gir build for cuda plugin | |||
| 7 | This is a workaround to only disable cuda gir build to avoid totally | 7 | This is a workaround to only disable cuda gir build to avoid totally |
| 8 | disable bad library gir build. mesa-rvgpu-emu patch break cuda gir build | 8 | disable bad library gir build. mesa-rvgpu-emu patch break cuda gir build |
| 9 | 9 | ||
| 10 | Upstream-Status: Inappropriate [i.MX specific] | 10 | Upstream-Status: Inappropriate [embedded specific] |
| 11 | --- | 11 | --- |
| 12 | gst-libs/gst/cuda/meson.build | 2 +- | 12 | gst-libs/gst/cuda/meson.build | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.1.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.1.imx.bb index c978097aa..288445961 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.1.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.1.imx.bb | |||
| @@ -185,6 +185,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug | |||
| 185 | " | 185 | " |
| 186 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 186 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
| 187 | 187 | ||
| 188 | # The cuda gir patch carries no Signed-off-by. It is an NXP-internal change | ||
| 189 | # that arrived here without one, and a sign-off is a certification only its | ||
| 190 | # author can make, so there is nothing here for us to correct. | ||
| 191 | # nooelint: oelint.file.patchsignedoff | ||
| 188 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" | 192 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" |
| 189 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" | 193 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" |
| 190 | 194 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch index 3f709d84f..11e72613b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch | |||
| @@ -8,7 +8,7 @@ This is a workaround to only display gl gir build to avoid totally | |||
| 8 | disable base library gir build. mesa-rvgpu-emu patch break gl gir | 8 | disable base library gir build. mesa-rvgpu-emu patch break gl gir |
| 9 | build | 9 | build |
| 10 | 10 | ||
| 11 | Upstream-Status: Inappropriate [i.MX specific] | 11 | Upstream-Status: Inappropriate [embedded specific] |
| 12 | --- | 12 | --- |
| 13 | gst-libs/gst/gl/meson.build | 10 +++++----- | 13 | gst-libs/gst/gl/meson.build | 10 +++++----- |
| 14 | 1 file changed, 5 insertions(+), 5 deletions(-) | 14 | 1 file changed, 5 insertions(+), 5 deletions(-) |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.1.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.1.imx.bb index 5c61a823c..be9a2d39b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.1.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.1.imx.bb | |||
| @@ -115,6 +115,10 @@ SRC_URI:remove = "\ | |||
| 115 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" | 115 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" |
| 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " | 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " |
| 117 | 117 | ||
| 118 | # The gl gir patch carries no Signed-off-by. It is an NXP-internal change | ||
| 119 | # that arrived here without one, and a sign-off is a certification only its | ||
| 120 | # author can make, so there is nothing here for us to correct. | ||
| 121 | # nooelint: oelint.file.patchsignedoff | ||
| 118 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" | 122 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" |
| 119 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" | 123 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" |
| 120 | 124 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch index 9a1d206b6..1a8b9a1d7 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch | |||
| @@ -7,7 +7,7 @@ Subject: [PATCH] YOCIMX-9113 rtsp examples: install test-launch and test-uri | |||
| 7 | gstreamer community has no plan to install these binary as test tool | 7 | gstreamer community has no plan to install these binary as test tool |
| 8 | https://discourse.gstreamer.org/t/gst-rtsp-server-examples-are-not-installed-by-default/4806 | 8 | https://discourse.gstreamer.org/t/gst-rtsp-server-examples-are-not-installed-by-default/4806 |
| 9 | 9 | ||
| 10 | Upstream-Status: Inappropriate [i.MX specific] | 10 | Upstream-Status: Inappropriate [embedded specific] |
| 11 | 11 | ||
| 12 | Signed-off-by: Haihua Hu <jared.hu@nxp.com> | 12 | Signed-off-by: Haihua Hu <jared.hu@nxp.com> |
| 13 | --- | 13 | --- |
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb index 0ddc30d49..a11d221e4 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | # Copyright 2023-2026 NXP | 1 | # Copyright 2023-2026 NXP |
| 2 | SUMMARY = "i.MX multimedia OpenCL converter library" | 2 | SUMMARY = "i.MX multimedia OpenCL converter library" |
| 3 | DESCRIPTION = "NXP Multimedia opencl converter lib" | 3 | DESCRIPTION = "OpenCL-accelerated image conversion library used by the NXP \ |
| 4 | i.MX multimedia stack. It offloads pixel format and colour \ | ||
| 5 | space conversion to the GPU through an OpenCL implementation \ | ||
| 6 | provided by virtual/libopencl1, and is supported on the i.MX 8 \ | ||
| 7 | and i.MX 95 families that ship a GPU." | ||
| 4 | HOMEPAGE = "https://www.nxp.com/" | 8 | HOMEPAGE = "https://www.nxp.com/" |
| 5 | SECTION = "multimedia" | 9 | SECTION = "multimedia" |
| 6 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
diff --git a/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb b/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb index 1c70fb6e4..2c3628639 100644 --- a/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb +++ b/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb | |||
| @@ -31,6 +31,7 @@ python __set_insane_skip() { | |||
| 31 | for p in d.getVar('PACKAGES').split(): | 31 | for p in d.getVar('PACKAGES').split(): |
| 32 | d.setVar("INSANE_SKIP:%s" % p, "ldflags dev-so textrel buildpaths") | 32 | d.setVar("INSANE_SKIP:%s" % p, "ldflags dev-so textrel buildpaths") |
| 33 | } | 33 | } |
| 34 | __set_insane_skip[doc] = "Skip QA checks that cannot be satisfied by the prebuilt parser binaries" | ||
| 34 | 35 | ||
| 35 | do_package_qa[prefuncs] += "__set_insane_skip" | 36 | do_package_qa[prefuncs] += "__set_insane_skip" |
| 36 | 37 | ||
diff --git a/recipes-security/smw/smw_5.3.bb b/recipes-security/smw/smw_5.3.bb index b7313ac11..3454e0865 100644 --- a/recipes-security/smw/smw_5.3.bb +++ b/recipes-security/smw/smw_5.3.bb | |||
| @@ -20,6 +20,10 @@ DEPENDS = "\ | |||
| 20 | 20 | ||
| 21 | SRC_URI = "${SMW_LIB_SRC};branch=${SRCBRANCH_smw};name=smw \ | 21 | SRC_URI = "${SMW_LIB_SRC};branch=${SRCBRANCH_smw};name=smw \ |
| 22 | ${PSA_LIB_SRC};branch=${SRCBRANCH_psa};name=psa;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/${PSA_ARCH_TESTS_SRC_PATH}" | 22 | ${PSA_LIB_SRC};branch=${SRCBRANCH_psa};name=psa;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/${PSA_ARCH_TESTS_SRC_PATH}" |
| 23 | # The qualifiers fix carries no Signed-off-by, and no From: header either, so | ||
| 24 | # there is no author to recover one from. A sign-off is a certification the | ||
| 25 | # signer makes, so inventing one here would be wrong. | ||
| 26 | # nooelint: oelint.file.patchsignedoff | ||
| 23 | SRC_URI += "file://0001-Fixed-discarded-qualifiers-error.patch" | 27 | SRC_URI += "file://0001-Fixed-discarded-qualifiers-error.patch" |
| 24 | SMW_LIB_SRC ?= "git://github.com/nxp-imx/imx-smw.git;protocol=https" | 28 | SMW_LIB_SRC ?= "git://github.com/nxp-imx/imx-smw.git;protocol=https" |
| 25 | PSA_LIB_SRC ?= "git://github.com/ARM-software/psa-arch-tests.git;protocol=https" | 29 | PSA_LIB_SRC ?= "git://github.com/ARM-software/psa-arch-tests.git;protocol=https" |
