diff options
| -rw-r--r-- | LICENSE | 1 | ||||
| -rw-r--r-- | classes/imx-boot-container.bbclass | 12 | ||||
| -rw-r--r-- | conf/machine/include/imx-base.inc | 1 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-imx_2024.04.bb | 8 | ||||
| -rw-r--r-- | recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb | 31 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-fslc-imx_6.12.bb | 40 |
6 files changed, 64 insertions, 29 deletions
| @@ -60,6 +60,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 60 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" | 60 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" |
| 61 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 61 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 62 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 62 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 63 | ./recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | ||
| 63 | ./recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" | 64 | ./recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" |
| 64 | ./recipes-dpaa/eth-config/eth-config_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-or-later" | 65 | ./recipes-dpaa/eth-config/eth-config_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-or-later" |
| 65 | ./recipes-dpaa/flib/flib_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-only" | 66 | ./recipes-dpaa/flib/flib_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-only" |
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index c3a13a255..7c9f34927 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
| @@ -52,19 +52,20 @@ do_resolve_and_populate_binaries() { | |||
| 52 | for config in ${UBOOT_MACHINE}; do | 52 | for config in ${UBOOT_MACHINE}; do |
| 53 | i=$(expr $i + 1); | 53 | i=$(expr $i + 1); |
| 54 | for type in ${UBOOT_CONFIG}; do | 54 | for type in ${UBOOT_CONFIG}; do |
| 55 | builddir="${config}-${type}" | ||
| 55 | j=$(expr $j + 1); | 56 | j=$(expr $j + 1); |
| 56 | if [ $j -eq $i ]; then | 57 | if [ $j -eq $i ]; then |
| 57 | for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE}; do | 58 | for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE}; do |
| 58 | bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${config}/" | 59 | bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${builddir}/" |
| 59 | cp ${DEPLOY_DIR_IMAGE}/${firmware} ${B}/${config}/ | 60 | cp ${DEPLOY_DIR_IMAGE}/${firmware} ${B}/${builddir}/ |
| 60 | done | 61 | done |
| 61 | if [ -n "${ATF_MACHINE_NAME}" ]; then | 62 | if [ -n "${ATF_MACHINE_NAME}" ]; then |
| 62 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${config}/bl31.bin | 63 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${builddir}/bl31.bin |
| 63 | else | 64 | else |
| 64 | bberror "ATF binary is undefined, result binary would be unusable!" | 65 | bberror "ATF binary is undefined, result binary would be unusable!" |
| 65 | fi | 66 | fi |
| 66 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then | 67 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then |
| 67 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${config}/ | 68 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${builddir}/ |
| 68 | fi | 69 | fi |
| 69 | fi | 70 | fi |
| 70 | done | 71 | done |
| @@ -90,10 +91,11 @@ do_deploy:append() { | |||
| 90 | for config in ${UBOOT_MACHINE}; do | 91 | for config in ${UBOOT_MACHINE}; do |
| 91 | i=$(expr $i + 1); | 92 | i=$(expr $i + 1); |
| 92 | for type in ${UBOOT_CONFIG}; do | 93 | for type in ${UBOOT_CONFIG}; do |
| 94 | builddir="${config}-${type}" | ||
| 93 | j=$(expr $j + 1); | 95 | j=$(expr $j + 1); |
| 94 | if [ $j -eq $i ] | 96 | if [ $j -eq $i ] |
| 95 | then | 97 | then |
| 96 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} | 98 | install -m 0644 ${B}/${builddir}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} |
| 97 | # When there's more than one word in UBOOT_CONFIG, | 99 | # When there's more than one word in UBOOT_CONFIG, |
| 98 | # the first UBOOT_CONFIG listed will be the imx-boot binary | 100 | # the first UBOOT_CONFIG listed will be the imx-boot binary |
| 99 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then | 101 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 19584fa36..4e0b2f927 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -601,6 +601,7 @@ PREFERRED_VERSION_spirv-tools:imxvulkan ??= "1.3.275.0.imx" | |||
| 601 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.275.0.imx" | 601 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.275.0.imx" |
| 602 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.275.0.imx" | 602 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.275.0.imx" |
| 603 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.275.0.imx" | 603 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.275.0.imx" |
| 604 | PREFERRED_VERSION_vulkan-utility-libraries:imxvulkan ??= "1.3.275.0.imx" | ||
| 604 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.275.0.imx" | 605 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.275.0.imx" |
| 605 | 606 | ||
| 606 | # Use i.MX optee Version | 607 | # Use i.MX optee Version |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb index 695987801..27c3555f4 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb | |||
| @@ -23,11 +23,13 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 23 | for config in ${UBOOT_MACHINE}; do | 23 | for config in ${UBOOT_MACHINE}; do |
| 24 | i=$(expr $i + 1); | 24 | i=$(expr $i + 1); |
| 25 | for type in ${UBOOT_CONFIG}; do | 25 | for type in ${UBOOT_CONFIG}; do |
| 26 | builddir="${config}-${type}" | ||
| 26 | j=$(expr $j + 1); | 27 | j=$(expr $j + 1); |
| 27 | if [ $j -eq $i ] | 28 | if [ $j -eq $i ] |
| 28 | then | 29 | then |
| 30 | builddir="${config}-${type}" | ||
| 29 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 31 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| 30 | install -m 0644 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} | 32 | install -m 0644 ${B}/${builddir}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} |
| 31 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 33 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
| 32 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do | 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do |
| 33 | local type_key="${key_value%%:*}" | 35 | local type_key="${key_value%%:*}" |
| @@ -37,11 +39,11 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 37 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" | 39 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" |
| 38 | # There is only one ${dtb_name}, the first one. All the other are with the type appended | 40 | # There is only one ${dtb_name}, the first one. All the other are with the type appended |
| 39 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then | 41 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then |
| 40 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | 42 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} |
| 41 | else | 43 | else |
| 42 | bbwarn "Use custom wks.in for $dtb_name = $type" | 44 | bbwarn "Use custom wks.in for $dtb_name = $type" |
| 43 | fi | 45 | fi |
| 44 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | 46 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} |
| 45 | fi | 47 | fi |
| 46 | unset type_key | 48 | unset type_key |
| 47 | unset dtb_name | 49 | unset dtb_name |
diff --git a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb new file mode 100644 index 000000000..8ec4cbae9 --- /dev/null +++ b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Vulkan Utility Libraries" | ||
| 2 | DESCRIPTION = "Common libraries created to share code across various \ | ||
| 3 | Vulkan repositories, solving long standing issues for Vulkan SDK \ | ||
| 4 | developers and users." | ||
| 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
| 6 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" | ||
| 7 | SECTION = "libs" | ||
| 8 | |||
| 9 | LICENSE = "Apache-2.0" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=4ca2d6799091aaa98a8520f1b793939b" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Utility-Libraries.git;branch=main;protocol=https" | ||
| 13 | SRCREV = "4cfc176e3242b4dbdfd3f6c5680c5d8f2cb7db45" | ||
| 14 | |||
| 15 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
| 16 | |||
| 17 | DEPENDS = "vulkan-headers" | ||
| 18 | |||
| 19 | EXTRA_OECMAKE = "\ | ||
| 20 | -DBUILD_TESTS=OFF \ | ||
| 21 | " | ||
| 22 | |||
| 23 | inherit cmake features_check pkgconfig | ||
| 24 | |||
| 25 | # These recipes need to be updated in lockstep with each other: | ||
| 26 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
| 27 | # vulkan-validation-layers, spirv-headers, spirv-tools, | ||
| 28 | # vulkan-utility-libraries. | ||
| 29 | # The tags versions should always be sdk-x.y.z, as this is what | ||
| 30 | # upstream considers a release. | ||
| 31 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.12.bb b/recipes-kernel/linux/linux-fslc-imx_6.12.bb index ef87e8146..b3b0f190f 100644 --- a/recipes-kernel/linux/linux-fslc-imx_6.12.bb +++ b/recipes-kernel/linux/linux-fslc-imx_6.12.bb | |||
| @@ -42,24 +42,22 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
| 42 | # conflicts, prioritizing NXP BSP source code as the latest vendor updates. | 42 | # conflicts, prioritizing NXP BSP source code as the latest vendor updates. |
| 43 | # Additional commits may exist to better acommodate yocto builds. | 43 | # Additional commits may exist to better acommodate yocto builds. |
| 44 | # | 44 | # |
| 45 | # $ git log --oneline --no-merges v6.12.34.. ^mainline/linux-6.12.y ^NXP/lf-6.12.y | 45 | # $ git log --oneline --no-merges v6.12.49.. ^mainline/linux-6.12.y ^NXP/lf-6.12.y |
| 46 | # - 8d94e52076a1 Revert "firmware: arm_scmi: Fix i.MX build dependency" | 46 | # - bacd5504126bb imx8mp-olimex.dts: CSI GPIO pins |
| 47 | # - adefe4ecd9c6 Revert "PCI: imx6: Fix suspend/resume support on i.MX6QDL" | 47 | # - 3a7012e991c98 hwrng: optee: support generic crypto |
| 48 | # - 2837cecae149 imx8mp-olimex.dts: CSI GPIO pins | 48 | # - 6c0a3377748eb arm64: dts: imx8mq: drop cpu-idle-states |
| 49 | # - 29efe53139ac hwrng: optee: support generic crypto | 49 | # - 7db0692d9ff5e of: enable using OF_DYNAMIC without OF_UNITTEST |
| 50 | # - 7f80ce9b7c82 arm64: dts: imx8mq: drop cpu-idle-states | 50 | # - eff98b934385c gpu: drm: cadence: select hdmi helper |
| 51 | # - 5e3b6ecf85c4 of: enable using OF_DYNAMIC without OF_UNITTEST | 51 | # - be5e175e43d93 imx:dts:imx8mm-evkb: fix the pmic name to avoid duplicated label error |
| 52 | # - 1bd794e571f6 gpu: drm: cadence: select hdmi helper | 52 | # - 76e18f5a57b3e arm64: dts: imx8mm-evk-qca-wifi: enable support for bluetooth |
| 53 | # - d74361dc9bdc imx:dts:imx8mm-evkb: fix the pmic name to avoid duplicated label error | 53 | # - 06b99391f850c drm: of: Fix build without CONFIG_OF |
| 54 | # - 90900e871607 arm64: dts: imx8mm-evk-qca-wifi: enable support for bluetooth | 54 | # - 17ac89e381a9d i2c: imx: Remove unnecessary clock reconfiguration |
| 55 | # - 24ef2924dd5f drm: of: Fix build without CONFIG_OF | 55 | # - 6d157e81ccc53 drm/imx: lcdifv3: Fix videomode settings |
| 56 | # - a97fe216ede5 i2c: imx: Remove unnecessary clock reconfiguration | 56 | # - 0a355239e2df3 clk: imx: imx8qm: add more resources to whitelist |
| 57 | # - 93e7f87e7bc6 drm/imx: lcdifv3: Fix videomode settings | 57 | # - c5c4869899b1c arm64: dts: imx8: img: add #address-cells and #size-cells to I2C MIPI CSI nodes |
| 58 | # - ff2397021b0d clk: imx: imx8qm: add more resources to whitelist | 58 | # - 3159e7d086295 arm64: dts: imx8qm: add missing imx8-ss-cm40.dtsi include |
| 59 | # - e0fc64f7a2f8 arm64: dts: imx8: img: add #address-cells and #size-cells to I2C MIPI CSI nodes | 59 | # - ffea393034d48 arm64: imx_v8_defconfig: Enable CONFIG_GPIO_VF610 |
| 60 | # - 98b777bfa849 arm64: dts: imx8qm: add missing imx8-ss-cm40.dtsi include | 60 | # - a8762ad609202 imx8mp-olimex.dts: Olimex iMX8MP-SOM-EVB-IND |
| 61 | # - 2d0aefc287a7 arm64: imx_v8_defconfig: Enable CONFIG_GPIO_VF610 | ||
| 62 | # - 44aadbd00c61 imx8mp-olimex.dts: Olimex iMX8MP-SOM-EVB-IND | ||
| 63 | # | 61 | # |
| 64 | # NOTE to upgraders: | 62 | # NOTE to upgraders: |
| 65 | # This recipe should NOT collect individual patches, they should be applied to | 63 | # This recipe should NOT collect individual patches, they should be applied to |
| @@ -69,16 +67,16 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
| 69 | 67 | ||
| 70 | require linux-imx.inc | 68 | require linux-imx.inc |
| 71 | 69 | ||
| 72 | KBRANCH = "6.12-1.0.x-imx" | 70 | KBRANCH = "6.12-2.0.x-imx" |
| 73 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" | 71 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" |
| 74 | SRCREV = "c63da44a120c9ad720877a74f0c94e2d9b08cab1" | 72 | SRCREV = "77b58422ab0fa4480a0b89a5f1ebfb9d1a900aef" |
| 75 | 73 | ||
| 76 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | 74 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
| 77 | # required by kernel-yocto.bbclass. | 75 | # required by kernel-yocto.bbclass. |
| 78 | # | 76 | # |
| 79 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 77 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 80 | # should be updated once patchlevel is merged. | 78 | # should be updated once patchlevel is merged. |
| 81 | LINUX_VERSION = "6.12.34" | 79 | LINUX_VERSION = "6.12.49" |
| 82 | 80 | ||
| 83 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | 81 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" |
| 84 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | 82 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" |
