Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | TUNE_FEATURES = "aarch64" |
| 2 | |
| 3 | require conf/machine/include/arm/arch-armv8a.inc |
| 4 | |
| 5 | MACHINEOVERRIDES =. "tc:" |
| 6 | |
| 7 | # Das U-boot |
| 8 | UBOOT_MACHINE ?= "total_compute_defconfig" |
| 9 | PREFERRED_VERSION_u-boot ?= "2022.04" |
| 10 | UBOOT_RD_LOADADDRESS = "0x88000000" |
| 11 | UBOOT_RD_ENTRYPOINT = "0x88000000" |
| 12 | UBOOT_LOADADDRESS = "0x80080000" |
| 13 | UBOOT_ENTRYPOINT = "0x80080000" |
| 14 | # Below options will generate a key to sign the kernel Image and INITRAMFS_IMAGE |
| 15 | # according to the default parameters of kernel-fitimage.bbclass. If the user |
| 16 | # would prefer to use their own keys, disable the key generation using the |
| 17 | # FIT_GENERATE_KEYS parameter and specify the location of the keys using the |
| 18 | # below paramters. |
| 19 | UBOOT_SIGN_ENABLE = "1" |
| 20 | UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb" |
| 21 | UBOOT_SIGN_KEYNAME = "dev_key" |
| 22 | UBOOT_SIGN_KEYDIR = "${DEPLOY_DIR_IMAGE}/keys" |
| 23 | FIT_GENERATE_KEYS = "1" |
| 24 | |
| 25 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-arm64-ack" |
| 26 | PREFERRED_VERSION_linux-arm64-ack ?= "5.10" |
| 27 | |
| 28 | # OP-TEE |
| 29 | PREFERRED_VERSION_optee-os ?= "3.14%" |
| 30 | PREFERRED_VERSION_optee-client ?= "3.14%" |
| 31 | PREFERRED_VERSION_optee-test ?= "3.14%" |
| 32 | |
| 33 | # Cannot use the default zImage on arm64 |
| 34 | KERNEL_IMAGETYPE = "Image" |
| 35 | KERNEL_IMAGETYPES += "fitImage" |
| 36 | KERNEL_CLASSES = " kernel-fitimage " |
| 37 | |
| 38 | IMAGE_FSTYPES += "cpio.gz" |
| 39 | INITRAMFS_IMAGE ?= "core-image-minimal" |
| 40 | |
| 41 | SERIAL_CONSOLES = "115200;ttyAMA0" |