diff options
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/k3.inc')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index e3da9e12..ec9a8944 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -3,20 +3,14 @@ | |||
3 | require conf/machine/include/ti-soc.inc | 3 | require conf/machine/include/ti-soc.inc |
4 | SOC_FAMILY:append = ":k3" | 4 | SOC_FAMILY:append = ":k3" |
5 | 5 | ||
6 | require conf/machine/include/arm/arch-arm64.inc | 6 | DEFAULTTUNE ?= "aarch64" |
7 | require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc | ||
7 | 8 | ||
8 | BBMULTICONFIG += "k3r5" | 9 | require conf/machine/include/ti-bsp.inc |
9 | |||
10 | # Increase this everytime you change something in the kernel | ||
11 | MACHINE_KERNEL_PR = "r0" | ||
12 | |||
13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
15 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
16 | 10 | ||
17 | KERNEL_IMAGETYPE = "Image" | 11 | KERNEL_IMAGETYPE = "Image" |
18 | KERNEL_IMAGETYPES = "Image fitImage" | 12 | KERNEL_IMAGETYPES = "Image fitImage" |
19 | KERNEL_CLASSES += "kernel-fitimage" | 13 | KERNEL_CLASSES += "kernel-fitimage-deprecated" |
20 | 14 | ||
21 | UBOOT_ARCH = "arm" | 15 | UBOOT_ARCH = "arm" |
22 | UBOOT_ENTRYPOINT = "0x81000000" | 16 | UBOOT_ENTRYPOINT = "0x81000000" |
@@ -31,10 +25,6 @@ SPL_BINARY = "tispl.bin" | |||
31 | SPL_BINARYNAME = "tispl.bin" | 25 | SPL_BINARYNAME = "tispl.bin" |
32 | UBOOT_SUFFIX = "img" | 26 | UBOOT_SUFFIX = "img" |
33 | 27 | ||
34 | UBOOT_SIGN_ENABLE = "1" | ||
35 | UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb" | ||
36 | UBOOT_SIGN_KEYNAME ?= "custMpk" | ||
37 | UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys" | ||
38 | FIT_HASH_ALG ?= "sha512" | 28 | FIT_HASH_ALG ?= "sha512" |
39 | FIT_SIGN_ALG ?= "rsa4096" | 29 | FIT_SIGN_ALG ?= "rsa4096" |
40 | 30 | ||
@@ -49,7 +39,7 @@ TFA_PLATFORM = "k3" | |||
49 | UBI_VOLNAME = "rootfs" | 39 | UBI_VOLNAME = "rootfs" |
50 | 40 | ||
51 | # List common SoC features, may need to add touchscreen for specific machines | 41 | # List common SoC features, may need to add touchscreen for specific machines |
52 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci" | 42 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm" |
53 | 43 | ||
54 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 44 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
55 | 45 | ||
@@ -62,6 +52,10 @@ MACHINE_FEATURES += "efi" | |||
62 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" | 52 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" |
63 | 53 | ||
64 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
65 | do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||
66 | 55 | ||
67 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | 56 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" |
57 | |||
58 | FALCON_INCLUDE = "" | ||
59 | FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc" | ||
60 | |||
61 | require ${FALCON_INCLUDE} | ||