diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2026-01-12 09:48:42 -0600 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-01-20 13:13:40 -0600 |
| commit | 85c3cc60bea8bae345c22eda82fc81d5cc9bcbc1 (patch) | |
| tree | 83ffe2e1dbd15c2848edb497c7930329fe3ecd3e | |
| parent | fc26d5dc11e24ba44afe8cbd9fa7639631b3d209 (diff) | |
| download | meta-ti-85c3cc60bea8bae345c22eda82fc81d5cc9bcbc1.tar.gz | |
u-boot: Adapt to upstream change to UBOOT_CONFIG flow
A recent change to the UBOOT_CONFIG flow in oe-core [1], introduced
support for UBOOT_FRAGMENTS. We need to stop using our internal
UBOOT_CONFIG_FRAGMENTS and start using the new UBOOT_FRAGMENTS.
[1] https://git.openembedded.org/openembedded-core/commit/?id=cd9e7304481b24b27df61c03ad73496d18e4d47c
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62pxx-evm.conf | 4 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc | 7 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 |
7 files changed, 6 insertions, 14 deletions
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf index e02e10ed..30c7ea7e 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | |||
| @@ -6,4 +6,4 @@ require conf/machine/include/k3r5.inc | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 9 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" |
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf index 44744c46..27cc7c40 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | |||
| @@ -6,4 +6,4 @@ require conf/machine/include/k3r5.inc | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62px_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "am62px_evm_r5_defconfig" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 9 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" |
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf b/meta-ti-bsp/conf/machine/am62pxx-evm.conf index fd5f269a..4bebe510 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf | |||
| @@ -25,9 +25,9 @@ FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb" | |||
| 25 | 25 | ||
| 26 | UBOOT_MACHINE = "am62px_evm_a53_defconfig" | 26 | UBOOT_MACHINE = "am62px_evm_a53_defconfig" |
| 27 | 27 | ||
| 28 | # UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build | 28 | # UBOOT_FRAGMENTS holds the list of u-boot config fragments which has to be build |
| 29 | # along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc | 29 | # along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc |
| 30 | # under meta-ti-bsp/recipes-bsp/u-boot/ for more details. | 30 | # under meta-ti-bsp/recipes-bsp/u-boot/ for more details. |
| 31 | # For AM62P tisdk-display-cluster image, splash screen is handled by SBL. | 31 | # For AM62P tisdk-display-cluster image, splash screen is handled by SBL. |
| 32 | # Hence, disable the A53 based splash screen using the am62x_evm_prune_splashscreen.config fragment present in ti-u-boot tree | 32 | # Hence, disable the A53 based splash screen using the am62x_evm_prune_splashscreen.config fragment present in ti-u-boot tree |
| 33 | UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62x_evm_prune_splashscreen.config', '', d)}" | 33 | UBOOT_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62x_evm_prune_splashscreen.config', '', d)}" |
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf index 1665f586..e8d7fd05 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | |||
| @@ -6,4 +6,4 @@ require conf/machine/include/k3r5.inc | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 9 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" |
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf index 8319ae19..8ae4af36 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | |||
| @@ -6,4 +6,4 @@ require conf/machine/include/k3r5.inc | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" | 7 | UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 9 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc deleted file mode 100644 index c7ce5047..00000000 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | do_configure:append () { | ||
| 2 | if [ -n "${UBOOT_CONFIG_FRAGMENTS}" ] && [ -n "${UBOOT_MACHINE}" ] | ||
| 3 | then | ||
| 4 | oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} ${UBOOT_CONFIG_FRAGMENTS} | ||
| 5 | oe_runmake -C ${S} O=${B} olddefconfig | ||
| 6 | fi | ||
| 7 | } | ||
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 9801ffbe..97a895b0 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
| @@ -7,7 +7,6 @@ do_compile:prepend () { | |||
| 7 | 7 | ||
| 8 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc | 8 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc |
| 9 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc | 9 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc |
| 10 | require u-boot-mergeconfig.inc | ||
| 11 | 10 | ||
| 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" | 11 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" |
| 13 | 12 | ||
