diff options
author | Andrew Davis <afd@ti.com> | 2022-11-04 22:46:19 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-11-23 16:08:24 -0600 |
commit | 44573918973a160e95298c76628c54de6944dbef (patch) | |
tree | 32da2c73514f3ad0ef042b9066d6db07a6862d1f | |
parent | be1ddf405d2967c69439cc06b8c07aa85f86a1be (diff) | |
download | meta-ti-44573918973a160e95298c76628c54de6944dbef.tar.gz |
conf: machine: am64xx-evm: Make HS-SE the default
The HS-SE AM64xx machine can now be run on GP devices and built without
needing the TI_SECURE_DEV_PKG for the same. AM64xx will only be available
in the HS-FS type going forward. Make the HS-SE the default and remove
the original GP machine.
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>
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf (renamed from meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf) | 6 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm-k3r5-hs-se.conf | 14 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf | 11 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm.conf | 6 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf | 12 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-hs-evm.conf | 25 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 5 | ||||
-rw-r--r-- | meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 2 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 |
10 files changed, 33 insertions, 53 deletions
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf index 41c7027f..50bf6a07 100644 --- a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5-gp.conf +++ b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf | |||
@@ -4,12 +4,16 @@ | |||
4 | 4 | ||
5 | # Booting GP requires different SYSFW, the rest is handled at runtime | 5 | # Booting GP requires different SYSFW, the rest is handled at runtime |
6 | 6 | ||
7 | require conf/machine/am64xx-hs-evm-k3r5.conf | 7 | require conf/machine/include/k3r5.inc |
8 | SOC_FAMILY:append = ":k3r5-gp" | 8 | SOC_FAMILY:append = ":k3r5-gp" |
9 | 9 | ||
10 | SYSFW_SOC = "am64x" | ||
11 | SYSFW_CONFIG = "evm" | ||
10 | SYSFW_SUFFIX = "gp" | 12 | SYSFW_SUFFIX = "gp" |
11 | SYSFW_TIBOOT3_SYMLINK = "" | 13 | SYSFW_TIBOOT3_SYMLINK = "" |
12 | 14 | ||
15 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | ||
16 | |||
13 | SPL_BINARY = "" | 17 | SPL_BINARY = "" |
14 | UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" | 18 | UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" |
15 | UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | 19 | UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" |
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5-hs-se.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5-hs-se.conf new file mode 100644 index 00000000..7e737b12 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5-hs-se.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx HS-SE EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx 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 = "am64x" | ||
11 | SYSFW_CONFIG = "evm" | ||
12 | SYSFW_SUFFIX = "hs" | ||
13 | |||
14 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf deleted file mode 100644 index afd36b72..00000000 --- a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am64x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | |||
11 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm.conf b/meta-ti-bsp/conf/machine/am64xx-evm.conf index 2cb7f55a..ef3e356d 100644 --- a/meta-ti-bsp/conf/machine/am64xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am64xx-evm.conf | |||
@@ -9,3 +9,9 @@ UBOOT_MACHINE = "am64x_evm_a53_defconfig" | |||
9 | SPL_BINARY = "tispl.bin_HS" | 9 | SPL_BINARY = "tispl.bin_HS" |
10 | UBOOT_BINARY = "u-boot.img_HS" | 10 | UBOOT_BINARY = "u-boot.img_HS" |
11 | UBOOT_SYMLINK = "u-boot.img" | 11 | UBOOT_SYMLINK = "u-boot.img" |
12 | |||
13 | # Since default tiboot3.bin on AM64x is for HS-SE, add a version for GP | ||
14 | BBMULTICONFIG += "k3r5-gp" | ||
15 | IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin" | ||
16 | do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | ||
17 | do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf deleted file mode 100644 index 95e68751..00000000 --- a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am64x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs" | ||
10 | SYSFW_SYMLINK = "" | ||
11 | |||
12 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf deleted file mode 100644 index 1149d4c7..00000000 --- a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM | ||
4 | |||
5 | require conf/machine/include/am64xx.inc | ||
6 | |||
7 | UBOOT_MACHINE = "am64x_evm_a53_defconfig" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
14 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
16 | |||
17 | SPL_BINARY = "tispl.bin_HS" | ||
18 | UBOOT_BINARY = "u-boot.img_HS" | ||
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/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc index 297d6007..00ee31b8 100644 --- a/meta-ti-bsp/conf/machine/include/am64xx.inc +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
@@ -14,8 +14,9 @@ KERNEL_DEVICETREE = " \ | |||
14 | ti/k3-am642-evm-nand.dtbo \ | 14 | ti/k3-am642-evm-nand.dtbo \ |
15 | " | 15 | " |
16 | 16 | ||
17 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 17 | BBMULTICONFIG = "k3r5-hs-se" |
18 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 18 | do_image_wic[mcdepends] = "mc::k3r5-hs-se:ti-sci-fw:do_deploy" |
19 | do_image_tar[mcdepends] = "mc::k3r5-hs-se:ti-sci-fw:do_deploy" | ||
19 | 20 | ||
20 | TFA_BOARD = "lite" | 21 | TFA_BOARD = "lite" |
21 | OPTEEMACHINE = "k3-am64x" | 22 | OPTEEMACHINE = "k3-am64x" |
diff --git a/meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf b/meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf new file mode 100644 index 00000000..7e3d7dae --- /dev/null +++ b/meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf | |||
@@ -0,0 +1,3 @@ | |||
1 | require k3r5.conf | ||
2 | |||
3 | MACHINE:append = "-hs-se" | ||
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 916d8773..41516e06 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | |||
@@ -30,7 +30,7 @@ do_compile:append:am65xx-hs-evm() { | |||
30 | tfa_sign_k3hs | 30 | tfa_sign_k3hs |
31 | } | 31 | } |
32 | 32 | ||
33 | do_compile:append:am64xx-hs-evm() { | 33 | do_compile:append:am64xx-evm() { |
34 | tfa_sign_k3hs | 34 | tfa_sign_k3hs |
35 | } | 35 | } |
36 | 36 | ||
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend index e268a542..e59a8e79 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | |||
@@ -64,7 +64,7 @@ do_compile:append:am65xx-hs-evm() { | |||
64 | optee_sign_k3hs | 64 | optee_sign_k3hs |
65 | } | 65 | } |
66 | 66 | ||
67 | do_compile:append:am64xx-hs-evm() { | 67 | do_compile:append:am64xx-evm() { |
68 | optee_sign_k3hs | 68 | optee_sign_k3hs |
69 | } | 69 | } |
70 | 70 | ||