diff options
author | Chirag Shilwant <c-shilwant@ti.com> | 2023-03-20 04:12:03 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-03-20 16:45:07 -0500 |
commit | 12bb9e20cafbab6ef835313c380116090684601e (patch) | |
tree | 56bed443ef6d36e6d17caa72f88c69679e9ea310 /meta-ti-bsp/conf | |
parent | 55febdf04f102dfbfc5fee665e14395bcd5fde75 (diff) | |
download | meta-ti-12bb9e20cafbab6ef835313c380116090684601e.tar.gz |
machine: Add AM62x HS-SE evm configuration
Lets add the basic AM62x HS-SE configuration.
- Add machine conf for AM62x HS-SE.
- The wic images will boot on AM62x GP devices by default.
- To boot on AM62x HS-SE, simply switch out the SYSFW image:
$ cd /mnt/sd-card/boot
$ mv tiboot3-am62x-hs-evm.bin tiboot3.bin
- Add ti-sci-firmware overrides.
- Add support to sign ATF and OPTEE.
Signed-off-by: Chirag Shilwant <c-shilwant@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/am62xx-evm-k3r5-gp.conf (renamed from meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf) | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf | 21 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm.conf | 4 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62xx.inc | 8 |
4 files changed, 36 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf index 724a8d4a..d9867bc7 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf | |||
@@ -9,3 +9,6 @@ SYSFW_CONFIG = "evm" | |||
9 | SYSFW_SUFFIX = "gp" | 9 | SYSFW_SUFFIX = "gp" |
10 | 10 | ||
11 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" | 11 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" |
12 | |||
13 | UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" | ||
14 | UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf new file mode 100644 index 00000000..7bca513a --- /dev/null +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM62xx HS-SE EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM62xx HS-SE EVM (R5F core) | ||
4 | |||
5 | # Booting HS-SE requires different SYSFW, the rest is handled at runtime | ||
6 | |||
7 | require conf/machine/include/k3r5.inc | ||
8 | SOC_FAMILY:append = ":k3r5-hs-se" | ||
9 | |||
10 | SYSFW_SOC = "am62x" | ||
11 | SYSFW_CONFIG = "evm" | ||
12 | SYSFW_SUFFIX = "hs" | ||
13 | |||
14 | SYSFW_TIBOOT3_SYMLINK = "" | ||
15 | |||
16 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" | ||
17 | |||
18 | SPL_BINARY = "" | ||
19 | UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" | ||
20 | UBOOT_IMAGE = "u-boot-r5spl-hs-se-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
21 | UBOOT_SYMLINK = "u-boot-r5spl-hs-se.${UBOOT_SUFFIX}" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf index 73859d5f..96355411 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf | |||
@@ -12,3 +12,7 @@ KERNEL_DEVICETREE = " \ | |||
12 | " | 12 | " |
13 | 13 | ||
14 | UBOOT_MACHINE = "am62x_evm_a53_defconfig" | 14 | UBOOT_MACHINE = "am62x_evm_a53_defconfig" |
15 | |||
16 | SPL_BINARY = "tispl.bin_HS" | ||
17 | UBOOT_BINARY = "u-boot.img_HS" | ||
18 | UBOOT_SYMLINK = "u-boot.img" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index 98df24b2..53e48610 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
@@ -8,6 +8,14 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | |||
8 | 8 | ||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" |
10 | 10 | ||
11 | BBMULTICONFIG = "k3r5-gp" | ||
12 | do_image_wic[mcdepends] = "mc::k3r5-gp:ti-sci-fw:do_deploy" | ||
13 | |||
14 | # Since default tiboot3.bin on AM62x is for GP, add a version for HS-SE | ||
15 | BBMULTICONFIG += "k3r5-hs-se" | ||
16 | IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin" | ||
17 | do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy" | ||
18 | |||
11 | TFA_BOARD = "lite" | 19 | TFA_BOARD = "lite" |
12 | TFA_K3_SYSTEM_SUSPEND = "1" | 20 | TFA_K3_SYSTEM_SUSPEND = "1" |
13 | 21 | ||