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" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 9 | UBOOT_RD_LOADADDRESS = "0x88000000" |
| 10 | UBOOT_RD_ENTRYPOINT = "0x88000000" |
| 11 | UBOOT_LOADADDRESS = "0x80080000" |
| 12 | UBOOT_ENTRYPOINT = "0x80080000" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame^] | 13 | # Below options will generate a key to sign the kernel Image and INITRAMFS_IMAGE |
| 14 | # according to the default parameters of kernel-fitimage.bbclass. If the user |
| 15 | # would prefer to use their own keys, disable the key generation using the |
| 16 | # FIT_GENERATE_KEYS parameter and specify the location of the keys using the |
| 17 | # below paramters. |
| 18 | UBOOT_SIGN_ENABLE = "1" |
| 19 | UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb" |
| 20 | UBOOT_SIGN_KEYNAME = "dev_key" |
| 21 | UBOOT_SIGN_KEYDIR = "${DEPLOY_DIR_IMAGE}/keys" |
| 22 | FIT_GENERATE_KEYS = "1" |
| 23 | FIT_SIGN_INDIVIDUAL = "1" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 24 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame^] | 25 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 26 | |
| 27 | # OP-TEE |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 28 | PREFERRED_VERSION_optee-os ?= "3.18%" |
| 29 | PREFERRED_VERSION_optee-client ?= "3.18%" |
| 30 | PREFERRED_VERSION_optee-test ?= "3.18%" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 31 | |
| 32 | # Cannot use the default zImage on arm64 |
| 33 | KERNEL_IMAGETYPE = "Image" |
| 34 | KERNEL_IMAGETYPES += "fitImage" |
| 35 | KERNEL_CLASSES = " kernel-fitimage " |
| 36 | |
| 37 | IMAGE_FSTYPES += "cpio.gz" |
| 38 | INITRAMFS_IMAGE ?= "core-image-minimal" |
| 39 | |
| 40 | SERIAL_CONSOLES = "115200;ttyAMA0" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 41 | |
| 42 | EXTRA_IMAGEDEPENDS += "trusted-firmware-a optee-os" |
| 43 | # FIXME - there is signed image dependency/race with testimage. |
| 44 | # This should be fixed in oe-core |
| 45 | TESTIMAGEDEPENDS:append = " virtual/kernel:do_deploy" |