summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-11-04 22:46:11 +0000
committerRyan Eatmon <reatmon@ti.com>2022-11-23 16:08:24 -0600
commit252d345f1a8d19f9176f0cd59949633e9c68a357 (patch)
tree795e2d558619d98b84852bb3aa8143b355f58f07 /meta-ti-bsp/conf
parent23f5b48d8ffd26ca0486b35eee0ed4b961e819b2 (diff)
downloadmeta-ti-252d345f1a8d19f9176f0cd59949633e9c68a357.tar.gz
conf: machine: am64xx-hs-evm: Add extra machine to build GP SYSFW
Use multiconfig to generate a GP SYSFW image. This allows the HS SDK to be used on GP boards by simply switching out the SYSFW image: $ cd /mnt/sd-card/boot $ mv tiboot3-am64x-gp-evm.bin tiboot3.bin Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf')
-rw-r--r--meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf16
-rw-r--r--meta-ti-bsp/conf/machine/am64xx-hs-evm.conf6
-rw-r--r--meta-ti-bsp/conf/multiconfig/k3r5-gp.conf3
3 files changed, 25 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf
new file mode 100644
index 00000000..41c7027f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf
@@ -0,0 +1,16 @@
1#@TYPE: Machine
2#@NAME: AM64xx GP EVM (R5F)
3#@DESCRIPTION: Machine configuration for the TI AM64xx GP EVM (R5F core)
4
5# Booting GP requires different SYSFW, the rest is handled at runtime
6
7require conf/machine/am64xx-hs-evm-k3r5.conf
8SOC_FAMILY:append = ":k3r5-gp"
9
10SYSFW_SUFFIX = "gp"
11SYSFW_TIBOOT3_SYMLINK = ""
12
13SPL_BINARY = ""
14UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
15UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
16UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf
index 3ab9a49e..9f076099 100644
--- a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf
@@ -17,3 +17,9 @@ UBOOT_DTBO_OFFSET = "0x00010000"
17SPL_BINARY = "tispl.bin_HS" 17SPL_BINARY = "tispl.bin_HS"
18UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
19UBOOT_SYMLINK = "u-boot.img" 19UBOOT_SYMLINK = "u-boot.img"
20
21# Since default tiboot3.bin on AM64x is for HS, add a version for GP
22BBMULTICONFIG += "k3r5-gp"
23IMAGE_BOOT_FILES += " tiboot3-am64x-gp-evm.bin"
24do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
25do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
diff --git a/meta-ti-bsp/conf/multiconfig/k3r5-gp.conf b/meta-ti-bsp/conf/multiconfig/k3r5-gp.conf
new file mode 100644
index 00000000..80491e35
--- /dev/null
+++ b/meta-ti-bsp/conf/multiconfig/k3r5-gp.conf
@@ -0,0 +1,3 @@
1require k3r5.conf
2
3MACHINE:append = "-gp"