Using the new UBOOT_CONFIG flow, enable a mode where additional uboot
configurations can be built along side the main config.  In this case,
turning on USBDFU for a board for testing purposes.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf   | 8 ++++++++
 meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf   | 9 +++++++++
 meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf    | 8 ++++++++
 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 8 ++++++++
 4 files changed, 33 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf 
b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
index 30c7ea7e..fb2fa7cf 100644
--- a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
@@ -5,5 +5,13 @@
 require conf/machine/include/k3r5.inc
 
 UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
+UBOOT_MACHINE:tie-test-builds = ""
+
+UBOOT_CONFIG = ""
+UBOOT_CONFIG:tie-test-builds = "usbdfu main"
+UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig"
+UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
 
 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 27cc7c40..bf82849a 100644
--- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
@@ -5,5 +5,14 @@
 require conf/machine/include/k3r5.inc
 
 UBOOT_MACHINE = "am62px_evm_r5_defconfig"
+UBOOT_MACHINE:tie-test-builds = ""
+
+UBOOT_CONFIG = ""
+UBOOT_CONFIG:tie-test-builds = "usbdfu main"
+
+UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig"
+UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
 
 UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf 
b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
index e8d7fd05..9c8147e8 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
@@ -5,5 +5,13 @@
 require conf/machine/include/k3r5.inc
 
 UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+UBOOT_MACHINE:tie-test-builds = ""
+
+UBOOT_CONFIG = ""
+UBOOT_CONFIG:tie-test-builds = "usbdfu main"
+UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig"
+UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
 
 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 8ae4af36..c65c624c 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
@@ -5,5 +5,13 @@
 require conf/machine/include/k3r5.inc
 
 UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
+UBOOT_MACHINE:tie-test-builds = ""
+
+UBOOT_CONFIG = ""
+UBOOT_CONFIG:tie-test-builds = "usbdfu main"
+UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig"
+UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
 
 UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19435): 
https://lists.yoctoproject.org/g/meta-ti/message/19435
Mute This Topic: https://lists.yoctoproject.org/mt/117388812/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to