Brad Bishop | ac72846 | 2018-03-24 01:42:56 -0400 | [diff] [blame] | 1 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-aspeed" |
Brad Bishop | 511b7cc | 2018-02-08 14:58:03 -0500 | [diff] [blame] | 2 | |
Joel Stanley | 743f9b4 | 2022-01-17 21:42:27 +1030 | [diff] [blame] | 3 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-aspeed-sdk" |
| 4 | PREFERRED_PROVIDER_u-boot ?= "u-boot-aspeed-sdk" |
| 5 | PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-aspeed-sdk" |
Brad Bishop | 04508dc | 2019-07-21 18:11:28 -0400 | [diff] [blame] | 6 | |
Brad Bishop | 3432de1 | 2019-07-25 14:03:56 -0400 | [diff] [blame] | 7 | # Build a FIT image and stuff core-image-minimal in it by default. |
| 8 | KERNEL_IMAGETYPE ?= "fitImage" |
| 9 | KERNEL_CLASSES ?= "kernel-fitimage" |
| 10 | INITRAMFS_IMAGE ?= "aspeed-image-initramfs" |
| 11 | INITRAMFS_FSTYPES ?= "cpio.xz" |
| 12 | |
Adriana Kobylak | 52b2330 | 2020-03-28 12:29:31 -0500 | [diff] [blame] | 13 | WKS_FILE ?= "emmc-aspeed.wks.in" |
Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 14 | WKS_FILE_DEPENDS ?= " \ |
Adriana Kobylak | 9ced8f1 | 2020-07-12 15:47:11 -0500 | [diff] [blame] | 15 | phosphor-hostfw-image \ |
Adriana Kobylak | 8d6b91c | 2020-07-08 13:47:10 -0500 | [diff] [blame] | 16 | virtual/bootloader \ |
| 17 | virtual/kernel \ |
| 18 | " |
Adriana Kobylak | 52b2330 | 2020-03-28 12:29:31 -0500 | [diff] [blame] | 19 | WKS_HOSTFW_SIZE ?= "5G" |
| 20 | IMAGE_BOOT_FILES ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE};fitImage" |
| 21 | |
Joel Stanley | b825f04 | 2019-10-14 12:05:19 +1030 | [diff] [blame] | 22 | MACHINE_EXTRA_RRECOMMENDS += "udev-aspeed-vuart udev-aspeed-mtd-partitions" |
Patrick Williams | 975aac9 | 2020-09-09 13:58:16 -0500 | [diff] [blame] | 23 | MACHINE_FEATURES += "hw-rng" |
Brad Bishop | 1e4fec7 | 2019-08-15 22:18:25 -0400 | [diff] [blame] | 24 | |
Brad Bishop | d942b7a | 2019-04-25 14:23:17 -0400 | [diff] [blame] | 25 | MACHINEOVERRIDES =. "aspeed:" |
Brad Bishop | cebd819 | 2019-08-08 15:32:29 -0400 | [diff] [blame] | 26 | |
| 27 | SERIAL_CONSOLES ?= "115200;ttyS4" |
Brad Bishop | 1329245 | 2019-08-08 15:28:01 -0400 | [diff] [blame] | 28 | |
Patrick Williams | b9799be | 2021-08-06 09:13:33 -0500 | [diff] [blame] | 29 | DEFAULTTUNE:aspeed-g5 ?= "arm1176jzs" |
| 30 | DEFAULTTUNE:aspeed-g6 ?= "armv7ahf-vfpv4d16" |
Brad Bishop | a798373 | 2019-08-15 22:07:12 -0400 | [diff] [blame] | 31 | |
Patrick Williams | b9799be | 2021-08-06 09:13:33 -0500 | [diff] [blame] | 32 | UBOOT_ENTRYPOINT:aspeed-g4 ?= "0x40001000" |
| 33 | UBOOT_ENTRYPOINT:aspeed-g5 ?= "0x80001000" |
| 34 | UBOOT_ENTRYPOINT:aspeed-g6 ?= "0x80001000" |
| 35 | UBOOT_LOADADDRESS:aspeed-g4 ?= "0x40001000" |
| 36 | UBOOT_LOADADDRESS:aspeed-g5 ?= "0x80001000" |
| 37 | UBOOT_LOADADDRESS:aspeed-g6 ?= "0x80001000" |