1OVERRIDES .= ":vegman"
2KMACHINE = "aspeed"
3KERNEL_DEVICETREE = "aspeed/${KMACHINE}-bmc-${MACHINE}.dtb"
4UBOOT_MACHINE = "evb-ast2500_defconfig"
5UBOOT_DEVICETREE = "ast2500-evb"
6
7require conf/machine/include/ast2500.inc
8include conf/machine/include/vegman-bsp.inc
9require ${@bb.utils.contains('BSP_TYPE', 'vegman', '', 'conf/machine/include/obmc-bsp-common.inc', d)}
10
11SERIAL_CONSOLES = "115200;ttyS3 115200;ttyS4"
12FLASH_SIZE = "65536"
13
14IMAGE_FEATURES += "allow-root-login"
15
16MACHINE_FEATURES += " \
17    obmc-chassis-state-mgmt \
18    obmc-host-ipmi \
19    obmc-host-state-mgmt \
20    obmc-phosphor-chassis-mgmt \
21    obmc-phosphor-fan-mgmt \
22    obmc-phosphor-flash-mgmt \
23"
24
25VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
26VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
27VIRTUAL-RUNTIME_obmc-discover-system-state ?= "x86-power-control"
28VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
29
30PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-yadro-apps"
31PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-yadro-apps"
32PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-yadro-apps"
33PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-yadro-apps"
34PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
35
36PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "vegman-led-manager-config-native"
37
38PREFERRED_PROVIDER_virtual/bootloader = "u-boot-aspeed-sdk"
39PREFERRED_PROVIDER_u-boot = "u-boot-aspeed-sdk"
40PREFERRED_PROVIDER_u-boot-fw-utils = "u-boot-fw-utils-aspeed-sdk"
41