blob: ec03271a9e477915397c3715778a92216b5929a6 [file] [log] [blame]
Joel Stanley196489d2022-04-28 16:26:57 +09301DISTRO_NAME = "IBM eBMC (OpenBMC for IBM Enterprise Systems)"
2
Adriana Kobylak4254f1b2023-06-23 10:06:05 -05003# The first dtb listed is the one used by default on a BMC genesis boot.
4# Need bonnell to be the first one because it contains an eeprom that's bigger
5# than in the other systems. Otherwise the device driver would truncate the data
6# on that eeprom on a bonnell system.
Andrew Geissler32570712022-09-07 13:41:44 -04007KERNEL_DEVICETREE = \
Joel Stanley77b96cd2023-08-11 14:49:00 +09308 "aspeed/aspeed-bmc-ibm-bonnell.dtb \
9 aspeed/aspeed-bmc-ibm-rainier.dtb \
10 aspeed/aspeed-bmc-ibm-rainier-4u.dtb \
11 aspeed/aspeed-bmc-ibm-everest.dtb"
Joel Stanley95f29182020-11-06 19:06:47 +103012UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig"
Joel Stanley0646d022022-06-07 10:36:05 +093013UBOOT_DEVICETREE = "ast2600-p10bmc"
Adriana Kobylakc5698002020-09-29 13:24:59 -050014SPL_BINARY = "spl/u-boot-spl.bin"
Brad Bishop975bf612019-09-16 13:53:14 -040015
Brandon Wyman1c672232019-10-24 18:08:13 -050016OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
17
Patrick Williamse20e6922022-12-09 17:03:10 -060018require conf/distro/include/phosphor-mmc.inc
Brad Bishop975bf612019-09-16 13:53:14 -040019require conf/machine/include/ast2600.inc
20require conf/machine/include/obmc-bsp-common.inc
21require conf/machine/include/openpower.inc
Andrew Geissler7eea78e2023-05-15 11:27:01 -050022require conf/machine/include/p10.inc
Adriana Kobylaka9893152020-07-16 14:48:19 -050023require conf/distro/include/openpower-virtual-pnor.inc
Andrew Geissler6d8b8fe2021-10-19 15:40:27 +000024require conf/distro/include/openpower-hostfw-over-pldm.inc
Andrew Geisslere008cb72021-02-01 13:49:27 -060025require conf/distro/include/ibm-mpreboot.inc
Patrick Williams12e8df82021-02-21 12:25:18 -060026require conf/distro/include/ibm-yaml.inc
Andrew Geissler96952782023-04-13 09:44:39 -060027include conf/distro/include/extra-dev-debug-tools.inc
Patrick Williams34b6b242023-10-06 17:49:18 -050028DISTRO_FEATURES += "ibm-service-account-policy"
Patrick Williams1b0b9cf2023-12-27 10:54:53 -060029MACHINE_FEATURES += "phal tpm2"
Brad Bishop975bf612019-09-16 13:53:14 -040030
31SERIAL_CONSOLES = "115200;ttyS4"
32
33MRW_XML = "witherspoon.xml"
34PHOSPHOR_MRW_LICENSE = "Apache-2.0"
35PHOSPHOR_MRW_LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Williamsbb99d222022-01-24 15:55:09 -060036PHOSPHOR_MRW_URI = "git://github.com/open-power/witherspoon-xml;branch=master;protocol=https"
Brad Bishop975bf612019-09-16 13:53:14 -040037PHOSPHOR_MRW_REV = "c622cb5a5dd3ebc2a4eef558d1b70740f914e6f7"
38
Adriana Kobylakb96c7502021-08-06 16:25:30 +000039VIRTUAL-RUNTIME_phosphor-hwmon-config:df-mrw = ""
Brad Bishop975bf612019-09-16 13:53:14 -040040
Adriana Kobylakb96c7502021-08-06 16:25:30 +000041PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config:df-mrw = \
Brad Bishop975bf612019-09-16 13:53:14 -040042 "phosphor-fan-control-fan-config"
Adriana Kobylakb96c7502021-08-06 16:25:30 +000043PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config:df-mrw = \
Brad Bishop975bf612019-09-16 13:53:14 -040044 "phosphor-fan-presence-config"
45
Santosh Puranik87d92e52019-10-11 12:54:52 -050046SKIP_BROKEN_MRW = "1"
Andrew Geissler55c57e82020-09-24 15:48:24 -050047
Adriana Kobylakb96c7502021-08-06 16:25:30 +000048IMAGE_FEATURES:remove = "obmc-ikvm"
Klaus Heinrich Kiwi228fadb2021-04-28 10:54:07 -030049
50UBOOT_SIGN_ENABLE = "1"
51SPL_SIGN_ENABLE = "1"
52
53FIT_HASH_ALG = "sha512"
54FIT_SIGN_ALG = "rsa4096"
55FIT_SIGN_NUMBITS = "4096"
56UBOOT_FITIMAGE_ENABLE = "1"
57UBOOT_FIT_HASH_ALG = "sha512"
58UBOOT_FIT_SIGN_ALG = "rsa4096"
59UBOOT_FIT_SIGN_NUMBITS = "4096"
60
61UBOOT_SIGN_KEYNAME = "rsa_oem_fitimage_key"
62SPL_SIGN_KEYNAME = "rsa_oem_fitimage_key"
63
64UBOOT_SIGN_KEYDIR = "${WORKDIR}"
65SPL_SIGN_KEYDIR = "${WORKDIR}"
Andrew Jefferyea205d22021-05-04 13:21:36 +093066
Andrew Jeffery69914612021-08-04 12:52:47 +093067SOCSEC_SIGN_ENABLE = "1"
68
Andrew Jefferyea205d22021-05-04 13:21:36 +093069DEBUG_TRIGGERS = "kcs2"
Adriana Kobylakb96c7502021-08-06 16:25:30 +000070PACKAGECONFIG:append:pn-debug-trigger = " triggers"
Andrew Jeffery14d942b2022-02-19 12:34:54 +103071
72PACKAGECONFIG:pn-opkg = "curl openssl ssl-curl"
Joel Stanley25cd59b2022-10-19 17:08:26 +103073
74# Add zImage to images directory for Qemu
75KERNEL_IMAGETYPES +=" zImage "
76
77# Produce a .qcow2 of the wic for Qemu
78IMAGE_FSTYPES +=" wic.qcow2 "
79
80QB_ROOTFS_OPT:p10bmc="-drive file=@ROOTFS@,if=sd,format=qcow2,index=2"
81QB_MACHINE:p10bmc="-machine rainier-bmc"
Joel Stanley77b96cd2023-08-11 14:49:00 +093082QB_DTB:p10bmc="aspeed/aspeed-bmc-ibm-rainier.dtb"
Joel Stanley25cd59b2022-10-19 17:08:26 +103083QB_MEM:p10bmc="-m 1024"
84QB_DEFAULT_FSTYPE:p10bmc="wic.qcow2"
85QB_FSINFO = "wic:no-kernel-in-fs"
86QB_DEFAULT_KERNEL:p10bmc="zImage"
87QB_KERNEL_ROOT:p10bmc="PARTLABEL=rofs-a"
Andrew Jefferyae46d362023-02-09 11:10:59 +103088
89FLASH_SIZE = "16777216"