blob: 628a73b1d8261c36f912a15b15a9cda29fb4f811 [file] [log] [blame]
Brad Bishopac728462018-03-24 01:42:56 -04001PREFERRED_PROVIDER_virtual/kernel ?= "linux-aspeed"
Brad Bishop80990772018-03-24 01:03:18 -04002PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-aspeed"
3PREFERRED_PROVIDER_u-boot ?= "u-boot-aspeed"
4PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-aspeed"
Brad Bishop511b7cc2018-02-08 14:58:03 -05005
Patrick Williamsb9799be2021-08-06 09:13:33 -05006PREFERRED_PROVIDER_virtual/bootloader:aspeed-g6 ?= "u-boot-aspeed-sdk"
7PREFERRED_PROVIDER_u-boot:aspeed-g6 ?= "u-boot-aspeed-sdk"
8PREFERRED_PROVIDER_u-boot-fw-utils:aspeed-g6 ?= "u-boot-fw-utils-aspeed-sdk"
Brad Bishop04508dc2019-07-21 18:11:28 -04009
Brad Bishop3432de12019-07-25 14:03:56 -040010# Build a FIT image and stuff core-image-minimal in it by default.
11KERNEL_IMAGETYPE ?= "fitImage"
12KERNEL_CLASSES ?= "kernel-fitimage"
13INITRAMFS_IMAGE ?= "aspeed-image-initramfs"
14INITRAMFS_FSTYPES ?= "cpio.xz"
15
Adriana Kobylak52b23302020-03-28 12:29:31 -050016WKS_FILE ?= "emmc-aspeed.wks.in"
Adriana Kobylak8d6b91c2020-07-08 13:47:10 -050017WKS_FILE_DEPENDS ?= " \
Adriana Kobylak9ced8f12020-07-12 15:47:11 -050018 phosphor-hostfw-image \
Adriana Kobylak8d6b91c2020-07-08 13:47:10 -050019 virtual/bootloader \
20 virtual/kernel \
21"
Adriana Kobylak52b23302020-03-28 12:29:31 -050022WKS_HOSTFW_SIZE ?= "5G"
23IMAGE_BOOT_FILES ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE};fitImage"
24
Joel Stanleyb825f042019-10-14 12:05:19 +103025MACHINE_EXTRA_RRECOMMENDS += "udev-aspeed-vuart udev-aspeed-mtd-partitions"
Patrick Williams975aac92020-09-09 13:58:16 -050026MACHINE_FEATURES += "hw-rng"
Brad Bishop1e4fec72019-08-15 22:18:25 -040027
Brad Bishopd942b7a2019-04-25 14:23:17 -040028MACHINEOVERRIDES =. "aspeed:"
Brad Bishopcebd8192019-08-08 15:32:29 -040029
30SERIAL_CONSOLES ?= "115200;ttyS4"
Brad Bishop13292452019-08-08 15:28:01 -040031
Patrick Williamsb9799be2021-08-06 09:13:33 -050032DEFAULTTUNE:aspeed-g5 ?= "arm1176jzs"
33DEFAULTTUNE:aspeed-g6 ?= "armv7ahf-vfpv4d16"
Brad Bishopa7983732019-08-15 22:07:12 -040034
Patrick Williamsb9799be2021-08-06 09:13:33 -050035UBOOT_ENTRYPOINT:aspeed-g4 ?= "0x40001000"
36UBOOT_ENTRYPOINT:aspeed-g5 ?= "0x80001000"
37UBOOT_ENTRYPOINT:aspeed-g6 ?= "0x80001000"
38UBOOT_LOADADDRESS:aspeed-g4 ?= "0x40001000"
39UBOOT_LOADADDRESS:aspeed-g5 ?= "0x80001000"
40UBOOT_LOADADDRESS:aspeed-g6 ?= "0x80001000"