diff options
| author | Andrew Davis <afd@ti.com> | 2022-08-05 16:33:42 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2022-08-06 19:07:44 -0500 |
| commit | d4bfd5ec91881ee0dd71a6942d4bdc825a2e9426 (patch) | |
| tree | cdd6a64e77c9ccaddb5a06eaa5925312e7740d74 /conf | |
| parent | 9917cb4abfdb6bdc547bac68940d6affb39d4411 (diff) | |
| download | meta-ti-d4bfd5ec91881ee0dd71a6942d4bdc825a2e9426.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>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/machine/am64xx-hs-evm-k3r5-gp.conf | 16 | ||||
| -rw-r--r-- | conf/machine/am64xx-hs-evm.conf | 6 | ||||
| -rw-r--r-- | conf/multiconfig/k3r5-gp.conf | 3 |
3 files changed, 25 insertions, 0 deletions
diff --git a/conf/machine/am64xx-hs-evm-k3r5-gp.conf b/conf/machine/am64xx-hs-evm-k3r5-gp.conf new file mode 100644 index 00000000..b255dca8 --- /dev/null +++ b/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 | |||
| 7 | require conf/machine/am64xx-hs-evm-k3r5.conf | ||
| 8 | SOC_FAMILY_append = ":k3r5-gp" | ||
| 9 | |||
| 10 | SYSFW_SUFFIX = "gp" | ||
| 11 | SYSFW_TIBOOT3_SYMLINK = "" | ||
| 12 | |||
| 13 | SPL_BINARY = "" | ||
| 14 | UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" | ||
| 15 | UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
| 16 | UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}" | ||
diff --git a/conf/machine/am64xx-hs-evm.conf b/conf/machine/am64xx-hs-evm.conf index 614eba4b..1149d4c7 100644 --- a/conf/machine/am64xx-hs-evm.conf +++ b/conf/machine/am64xx-hs-evm.conf | |||
| @@ -17,3 +17,9 @@ UBOOT_DTBO_OFFSET = "0x00010000" | |||
| 17 | SPL_BINARY = "tispl.bin_HS" | 17 | SPL_BINARY = "tispl.bin_HS" |
| 18 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
| 19 | UBOOT_SYMLINK = "u-boot.img" | 19 | UBOOT_SYMLINK = "u-boot.img" |
| 20 | |||
| 21 | # Since default tiboot3.bin on AM64x is for HS, add a version for GP | ||
| 22 | BBMULTICONFIG += "k3r5-gp" | ||
| 23 | IMAGE_BOOT_FILES += " tiboot3-am64x-gp-evm.bin" | ||
| 24 | do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | ||
| 25 | do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | ||
diff --git a/conf/multiconfig/k3r5-gp.conf b/conf/multiconfig/k3r5-gp.conf new file mode 100644 index 00000000..1d86dcc7 --- /dev/null +++ b/conf/multiconfig/k3r5-gp.conf | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | require k3r5.conf | ||
| 2 | |||
| 3 | MACHINE_append = "-gp" | ||
