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