diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2023-08-09 08:58:17 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-08-31 12:55:38 +0000 |
commit | 71690402b52357d4a2bcb074bf169a9d84b81f6a (patch) | |
tree | 658878b764ae0b1a4196f61d8bb288829d4ff077 | |
parent | bd357480c60445012b0ab8b09ebec82184a3aa2d (diff) |
verdin-am62: build mainline u-boot with upstream distro
Latest master of U-Boot allows building for a Verdin AM62 SoM.
If using a upstream distro build the upstream u-boot-toradex
recipe.
Related-to: ELB-5331
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | conf/machine/verdin-am62-k3r5.conf | 7 | ||||
-rw-r--r-- | conf/machine/verdin-am62.conf | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/conf/machine/verdin-am62-k3r5.conf b/conf/machine/verdin-am62-k3r5.conf index ad5ab6d..0c24a57 100644 --- a/conf/machine/verdin-am62-k3r5.conf +++ b/conf/machine/verdin-am62-k3r5.conf @@ -9,12 +9,17 @@ require conf/machine/include/k3r5.inc PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-ti" PREFERRED_PROVIDER_u-boot = "u-boot-toradex-ti" +PREFERRED_PROVIDER_virtual/bootloader:upstream:use-head-next = "u-boot-toradex" +PREFERRED_PROVIDER_u-boot:upstream:use-head-next = "u-boot-toradex" SYSFW_SOC = "am62x" SYSFW_CONFIG = "verdin" SYSFW_SUFFIX = "gp" UBOOT_DFU_CONFIG = "dfu-gp" -UBOOT_CONFIG ??= "dfu-gp sd-gp" +# The DFU config does not (yet) exist in upstream. It is needed only +# if booting from DFU/USB. +UBOOT_DFU_CONFIG:upstream = "" +UBOOT_CONFIG ??= "${UBOOT_DFU_CONFIG} sd-gp" UBOOT_CONFIG[dfu-gp] = "verdin-am62_r5_usbdfu_defconfig,dfu,spl/u-boot-spl.bin" UBOOT_CONFIG[sd-gp] = "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 41dc30a..f17d202 100644 --- a/conf/machine/verdin-am62.conf +++ b/conf/machine/verdin-am62.conf @@ -29,6 +29,8 @@ PREFERRED_PROVIDER_virtual/gpudriver:upstream = "" PREFERRED_PROVIDER_virtual/dtb = "device-tree-overlays-ti" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-ti" PREFERRED_PROVIDER_u-boot = "u-boot-toradex-ti" +PREFERRED_PROVIDER_virtual/bootloader:upstream:use-head-next = "u-boot-toradex" +PREFERRED_PROVIDER_u-boot:upstream:use-head-next = "u-boot-toradex" KERNEL_DTB_PREFIX = "ti/" KERNEL_DEVICETREE = " \ |