blob: a47ebef8aa4f6e2904e89a92926e73b13d61ead1 [file] [log] [blame]
Thang Q. Nguyen93407872020-12-10 08:49:53 +00001KMACHINE = "aspeed"
2KERNEL_DEVICETREE = "${KMACHINE}-bmc-ampere-${MACHINE}.dtb"
3UBOOT_MACHINE = "ast_g5_phy_config"
4
5require conf/machine/include/ast2500.inc
6require conf/machine/include/obmc-bsp-common.inc
7require conf/distro/include/phosphor-isolation.inc
Thang Q. Nguyen8115d652021-10-16 04:04:20 +00008require conf/distro/include/phosphor-aspeed-spi-master-mode.inc
Thang Q. Nguyen93407872020-12-10 08:49:53 +00009
Thang Q. Nguyen79c1ddc2021-06-07 02:37:41 +000010# Reformat SPI flash layout to 64MB
11FLASH_SIZE = "65536"
12FLASH_UBOOT_OFFSET = "0"
13FLASH_KERNEL_OFFSET = "1024"
14FLASH_ROFS_OFFSET = "10240"
15FLASH_RWFS_OFFSET = "43008"
16
Chanh Nguyenb0da1bf2021-03-23 11:50:26 +070017OBMC_POWER_SUPPLY_INSTANCES = "0 1"
18
Thang Q. Nguyen25254b72021-01-07 07:16:50 +000019OBMC_MACHINE_FEATURES += "\
20 obmc-phosphor-chassis-mgmt \
21 obmc-phosphor-flash-mgmt \
22 obmc-chassis-state-mgmt \
Thang Q. Nguyenca3e1d92021-08-12 10:21:36 +000023 obmc-host-state-mgmt \
Thang Q. Nguyen25254b72021-01-07 07:16:50 +000024 obmc-bmc-state-mgmt \
25 "
26
Thang Q. Nguyen93407872020-12-10 08:49:53 +000027VOLATILE_LOG_DIR = "no"
Thang Q. Nguyenac0d2b82020-12-24 02:22:46 +000028
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000029OBMC_IMAGE_EXTRA_INSTALL:append = "\
ThuBaNguyenfb214782021-07-08 14:20:43 +070030 mtjade-utils \
Thang Q. Nguyenac0d2b82020-12-24 02:22:46 +000031 ampere-usbnet \
Thang Q. Nguyen25254b72021-01-07 07:16:50 +000032 ampere-flash-utils \
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +000033 ampere-mac-update \
ThuBaNguyen33109172021-07-02 15:39:57 +070034 mtjade-gpio-config \
Thang Q. Nguyen1c0f8e42021-08-06 02:26:25 +000035 mtd-utils \
Thang Q. Nguyen7d0f84a2021-09-23 06:47:52 +000036 ampere-platform-init \
Hieu Huynhf3911cd2021-09-24 02:44:10 +000037 ampere-ipmi-oem \
Thang Q. Nguyenac0d2b82020-12-24 02:22:46 +000038 "
Thang Q. Nguyen25254b72021-01-07 07:16:50 +000039
40PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-ampere-apps"
41PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-ampere-apps"
42PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-ampere-apps"
43PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native"
Chanh Nguyen0ca40f72021-02-25 15:32:29 +070044PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "mtjade-led-manager-config-native"