summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-02-16 18:04:13 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-02-22 14:43:59 +0100
commitb9b9c2a195a66622ab80f24b507acbe6acfcd937 (patch)
tree0ec82af4656c260b7d04dc514f91f4247e19f654 /conf
parentfb1479811929d0f787cab72b4741497efbaa5fa8 (diff)
u-boot-toradex-ti-staging: verdin-am62: build for our target and add dfu
Change from building the U-Boot am62x-sdk target to verdin-am62. Additionally build the R5 DFU SPL and deploy it. Note the u-boot-initial-env no longer gets deleted due to the use of UBOOT_CONFIG. Thus the deployment of u-boot-initial-env got simplified. Related-to: ELB-5045 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/verdin-am62-k3r5.conf4
-rw-r--r--conf/machine/verdin-am62.conf3
2 files changed, 5 insertions, 2 deletions
diff --git a/conf/machine/verdin-am62-k3r5.conf b/conf/machine/verdin-am62-k3r5.conf
index a471c85..29e3461 100644
--- a/conf/machine/verdin-am62-k3r5.conf
+++ b/conf/machine/verdin-am62-k3r5.conf
@@ -15,4 +15,6 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
SYSFW_PREFIX:k3r5 = "fs"
-UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+UBOOT_CONFIG ??= "dfu sd"
+UBOOT_CONFIG[dfu] = "verdin-am62_r5_usbdfu_defconfig,dfu,spl/u-boot-spl.bin"
+UBOOT_CONFIG[sd] = "verdin-am62_r5_defconfig,sdcard,spl/u-boot-spl.bin"
diff --git a/conf/machine/verdin-am62.conf b/conf/machine/verdin-am62.conf
index f1f1eeb..287cd46 100644
--- a/conf/machine/verdin-am62.conf
+++ b/conf/machine/verdin-am62.conf
@@ -35,7 +35,8 @@ KERNEL_IMAGETYPES = "Image Image.gz"
# overlays applied by generated overlays.txt
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT = ""
-UBOOT_MACHINE = "am62x_evm_a53_defconfig"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "verdin-am62_a53_defconfig,sdcard"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \