Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # Configuration for Arm N1SDP development board |
| 2 | |
| 3 | #@TYPE: Machine |
| 4 | #@NAME: N1SDP machine |
| 5 | #@DESCRIPTION: Machine configuration for N1SDP |
| 6 | |
| 7 | require conf/machine/include/arm/armv8-2a/tune-neoversen1.inc |
| 8 | |
| 9 | KERNEL_IMAGETYPE = "Image" |
| 10 | |
| 11 | IMAGE_FSTYPES += "wic wic.gz wic.bmap tar.bz2 ext4" |
| 12 | |
| 13 | SERIAL_CONSOLES = "115200;ttyAMA0" |
| 14 | |
| 15 | # Set default WKS |
| 16 | WKS_FILE ?= "n1sdp-efidisk.wks" |
| 17 | IMAGE_EFI_BOOT_FILES ?= "n1sdp-multi-chip.dtb n1sdp-single-chip.dtb" |
| 18 | WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}" |
| 19 | |
| 20 | # Use kernel provided by yocto |
| 21 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 22 | PREFERRED_VERSION_linux-yocto ?= "6.6%" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 23 | |
| 24 | # RTL8168E Gigabit Ethernet Controller is attached to the PCIe interface |
| 25 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168" |
| 26 | |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 27 | # TF-A |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 28 | EXTRA_IMAGEDEPENDS += "trusted-firmware-a" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 29 | TFA_PLATFORM = "n1sdp" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 30 | PREFERRED_VERSION_trusted-firmware-a ?= "2.9.%" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 31 | PREFERRED_VERSION_tf-a-tests ?= "2.10.%" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 32 | |
| 33 | # SCP |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 34 | EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware" |
| 35 | |
| 36 | #UEFI EDK2 firmware |
| 37 | EXTRA_IMAGEDEPENDS += "edk2-firmware" |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 38 | PREFERRED_VERSION_edk2-firmware ?= "202305" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 39 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 40 | #optee |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 41 | PREFERRED_VERSION_optee-os ?= "4.1.%" |
| 42 | PREFERRED_VERSION_optee-os-tadevkit ?= "4.1.%" |
| 43 | PREFERRED_VERSION_optee-test ?= "4.1.%" |
| 44 | PREFERRED_VERSION_optee-client ?= "4.1.%" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 45 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 46 | #grub-efi |
| 47 | EFI_PROVIDER ?= "grub-efi" |
| 48 | MACHINE_FEATURES += "efi" |
| 49 | |
| 50 | # SD-Card firmware |
| 51 | EXTRA_IMAGEDEPENDS += "sdcard-image-n1sdp" |