blob: 98723ca77c15af0907226873ed2d30027e58a473 [file] [log] [blame]
Joel Stanley196489d2022-04-28 16:26:57 +09301DISTRO_NAME = "IBM eBMC (OpenBMC for IBM Enterprise Systems)"
2
Andrew Geissler32570712022-09-07 13:41:44 -04003KERNEL_DEVICETREE = \
4 "aspeed-bmc-ibm-rainier.dtb \
5 aspeed-bmc-ibm-rainier-4u.dtb \
6 aspeed-bmc-ibm-everest.dtb \
7 aspeed-bmc-ibm-bonnell.dtb"
Joel Stanley95f29182020-11-06 19:06:47 +10308UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig"
Joel Stanley0646d022022-06-07 10:36:05 +09309UBOOT_DEVICETREE = "ast2600-p10bmc"
Adriana Kobylakc5698002020-09-29 13:24:59 -050010SPL_BINARY = "spl/u-boot-spl.bin"
Brad Bishop975bf612019-09-16 13:53:14 -040011
Brandon Wyman1c672232019-10-24 18:08:13 -050012OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
13
Brad Bishop975bf612019-09-16 13:53:14 -040014require conf/machine/include/ast2600.inc
15require conf/machine/include/obmc-bsp-common.inc
16require conf/machine/include/openpower.inc
Brad Bishopa0064842020-09-23 10:09:13 -040017include conf/machine/include/ibm-power10-cpu.inc
Adriana Kobylaka9893152020-07-16 14:48:19 -050018require conf/distro/include/openpower-virtual-pnor.inc
Andrew Geissler6d8b8fe2021-10-19 15:40:27 +000019require conf/distro/include/openpower-hostfw-over-pldm.inc
Adriana Kobylaka9893152020-07-16 14:48:19 -050020require conf/distro/include/phosphor-mmc.inc
Andrew Geisslere008cb72021-02-01 13:49:27 -060021require conf/distro/include/ibm-mpreboot.inc
Patrick Williams12e8df82021-02-21 12:25:18 -060022require conf/distro/include/ibm-yaml.inc
Joseph Reynolds68e567f2021-02-24 17:20:01 -060023DISTRO_FEATURES += "ibm-service-account-policy"
Joel Stanley166a08f2022-01-14 14:41:14 +103024MACHINE_FEATURES += 'phal tpm2'
Brad Bishop975bf612019-09-16 13:53:14 -040025
26SERIAL_CONSOLES = "115200;ttyS4"
27
28MRW_XML = "witherspoon.xml"
29PHOSPHOR_MRW_LICENSE = "Apache-2.0"
30PHOSPHOR_MRW_LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Williamsbb99d222022-01-24 15:55:09 -060031PHOSPHOR_MRW_URI = "git://github.com/open-power/witherspoon-xml;branch=master;protocol=https"
Brad Bishop975bf612019-09-16 13:53:14 -040032PHOSPHOR_MRW_REV = "c622cb5a5dd3ebc2a4eef558d1b70740f914e6f7"
33
Adriana Kobylakb96c7502021-08-06 16:25:30 +000034VIRTUAL-RUNTIME_phosphor-hwmon-config:df-mrw = ""
Brad Bishop975bf612019-09-16 13:53:14 -040035
Adriana Kobylakb96c7502021-08-06 16:25:30 +000036PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config:df-mrw = \
Brad Bishop975bf612019-09-16 13:53:14 -040037 "phosphor-fan-control-fan-config"
Adriana Kobylakb96c7502021-08-06 16:25:30 +000038PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config:df-mrw = \
Brad Bishop975bf612019-09-16 13:53:14 -040039 "phosphor-fan-presence-config"
40
Santosh Puranik87d92e52019-10-11 12:54:52 -050041SKIP_BROKEN_MRW = "1"
Andrew Geissler55c57e82020-09-24 15:48:24 -050042
Adriana Kobylakb96c7502021-08-06 16:25:30 +000043IMAGE_FEATURES:remove = "obmc-ikvm"
Klaus Heinrich Kiwi228fadb2021-04-28 10:54:07 -030044
45UBOOT_SIGN_ENABLE = "1"
46SPL_SIGN_ENABLE = "1"
47
48FIT_HASH_ALG = "sha512"
49FIT_SIGN_ALG = "rsa4096"
50FIT_SIGN_NUMBITS = "4096"
51UBOOT_FITIMAGE_ENABLE = "1"
52UBOOT_FIT_HASH_ALG = "sha512"
53UBOOT_FIT_SIGN_ALG = "rsa4096"
54UBOOT_FIT_SIGN_NUMBITS = "4096"
55
56UBOOT_SIGN_KEYNAME = "rsa_oem_fitimage_key"
57SPL_SIGN_KEYNAME = "rsa_oem_fitimage_key"
58
59UBOOT_SIGN_KEYDIR = "${WORKDIR}"
60SPL_SIGN_KEYDIR = "${WORKDIR}"
Andrew Jefferyea205d22021-05-04 13:21:36 +093061
Andrew Jeffery69914612021-08-04 12:52:47 +093062SOCSEC_SIGN_ENABLE = "1"
63
Andrew Jefferyea205d22021-05-04 13:21:36 +093064DEBUG_TRIGGERS = "kcs2"
Adriana Kobylakb96c7502021-08-06 16:25:30 +000065PACKAGECONFIG:append:pn-debug-trigger = " triggers"
Andrew Jeffery14d942b2022-02-19 12:34:54 +103066
67PACKAGECONFIG:pn-opkg = "curl openssl ssl-curl"
Joel Stanley25cd59b2022-10-19 17:08:26 +103068
69# Add zImage to images directory for Qemu
70KERNEL_IMAGETYPES +=" zImage "
71
72# Produce a .qcow2 of the wic for Qemu
73IMAGE_FSTYPES +=" wic.qcow2 "
74
75QB_ROOTFS_OPT:p10bmc="-drive file=@ROOTFS@,if=sd,format=qcow2,index=2"
76QB_MACHINE:p10bmc="-machine rainier-bmc"
77QB_DTB:p10bmc="aspeed-bmc-ibm-rainier.dtb"
78QB_MEM:p10bmc="-m 1024"
79QB_DEFAULT_FSTYPE:p10bmc="wic.qcow2"
80QB_FSINFO = "wic:no-kernel-in-fs"
81QB_DEFAULT_KERNEL:p10bmc="zImage"
82QB_KERNEL_ROOT:p10bmc="PARTLABEL=rofs-a"