blob: fdc60fd4b4c403d0504381594c74a04b350fe214 [file] [log] [blame]
Brad Bishopac728462018-03-24 01:42:56 -04001PREFERRED_PROVIDER_virtual/kernel ?= "linux-aspeed"
Brad Bishop511b7cc2018-02-08 14:58:03 -05002
Joel Stanley743f9b42022-01-17 21:42:27 +10303PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-aspeed-sdk"
4PREFERRED_PROVIDER_u-boot ?= "u-boot-aspeed-sdk"
5PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-aspeed-sdk"
Brad Bishop04508dc2019-07-21 18:11:28 -04006
Brad Bishop3432de12019-07-25 14:03:56 -04007# Build a FIT image and stuff core-image-minimal in it by default.
8KERNEL_IMAGETYPE ?= "fitImage"
9KERNEL_CLASSES ?= "kernel-fitimage"
10INITRAMFS_IMAGE ?= "aspeed-image-initramfs"
11INITRAMFS_FSTYPES ?= "cpio.xz"
12
Adriana Kobylak52b23302020-03-28 12:29:31 -050013WKS_FILE ?= "emmc-aspeed.wks.in"
Adriana Kobylak8d6b91c2020-07-08 13:47:10 -050014WKS_FILE_DEPENDS ?= " \
Adriana Kobylak9ced8f12020-07-12 15:47:11 -050015 phosphor-hostfw-image \
Adriana Kobylak8d6b91c2020-07-08 13:47:10 -050016 virtual/bootloader \
17 virtual/kernel \
18"
Adriana Kobylak52b23302020-03-28 12:29:31 -050019WKS_HOSTFW_SIZE ?= "5G"
20IMAGE_BOOT_FILES ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE};fitImage"
21
Joel Stanleyb825f042019-10-14 12:05:19 +103022MACHINE_EXTRA_RRECOMMENDS += "udev-aspeed-vuart udev-aspeed-mtd-partitions"
Patrick Williams975aac92020-09-09 13:58:16 -050023MACHINE_FEATURES += "hw-rng"
Brad Bishop1e4fec72019-08-15 22:18:25 -040024
Brad Bishopd942b7a2019-04-25 14:23:17 -040025MACHINEOVERRIDES =. "aspeed:"
Brad Bishopcebd8192019-08-08 15:32:29 -040026
27SERIAL_CONSOLES ?= "115200;ttyS4"
Brad Bishop13292452019-08-08 15:28:01 -040028
Patrick Williamsb9799be2021-08-06 09:13:33 -050029DEFAULTTUNE:aspeed-g5 ?= "arm1176jzs"
30DEFAULTTUNE:aspeed-g6 ?= "armv7ahf-vfpv4d16"
Brad Bishopa7983732019-08-15 22:07:12 -040031
Patrick Williamsb9799be2021-08-06 09:13:33 -050032UBOOT_ENTRYPOINT:aspeed-g4 ?= "0x40001000"
33UBOOT_ENTRYPOINT:aspeed-g5 ?= "0x80001000"
34UBOOT_ENTRYPOINT:aspeed-g6 ?= "0x80001000"
35UBOOT_LOADADDRESS:aspeed-g4 ?= "0x40001000"
36UBOOT_LOADADDRESS:aspeed-g5 ?= "0x80001000"
37UBOOT_LOADADDRESS:aspeed-g6 ?= "0x80001000"