blob: fdc411981a0d2992f123bba4f25ba1332c15778f [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
Brad Bishop04508dc2019-07-21 18:11:28 -04006PREFERRED_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"
9
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
Brad Bishopa7983732019-08-15 22:07:12 -040032DEFAULTTUNE_aspeed-g5 ?= "arm1176jzs"
Vernon Maueryb92147c2019-10-17 11:22:20 -070033DEFAULTTUNE_aspeed-g6 ?= "armv7ahf-vfpv4d16"
Brad Bishopa7983732019-08-15 22:07:12 -040034
35UBOOT_ENTRYPOINT_aspeed-g4 ?= "0x40001000"
36UBOOT_ENTRYPOINT_aspeed-g5 ?= "0x80001000"
37UBOOT_ENTRYPOINT_aspeed-g6 ?= "0x80001000"
38UBOOT_LOADADDRESS_aspeed-g4 ?= "0x40001000"
39UBOOT_LOADADDRESS_aspeed-g5 ?= "0x80001000"
Vernon Maueryd84a52b2019-09-10 12:10:58 -070040UBOOT_LOADADDRESS_aspeed-g6 ?= "0x80001000"