diff options
-rw-r--r-- | classes/imx-boot-container.bbclass | 12 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-imx_2024.04.bb | 8 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-fslc-imx_6.12.bb | 40 |
3 files changed, 31 insertions, 29 deletions
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/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-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" |