Joel Stanley | 196489d | 2022-04-28 16:26:57 +0930 | [diff] [blame] | 1 | DISTRO_NAME = "IBM eBMC (OpenBMC for IBM Enterprise Systems)" |
| 2 | |
Andrew Geissler | 3257071 | 2022-09-07 13:41:44 -0400 | [diff] [blame] | 3 | KERNEL_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 Stanley | 95f2918 | 2020-11-06 19:06:47 +1030 | [diff] [blame] | 8 | UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig" |
Joel Stanley | 0646d02 | 2022-06-07 10:36:05 +0930 | [diff] [blame] | 9 | UBOOT_DEVICETREE = "ast2600-p10bmc" |
Adriana Kobylak | c569800 | 2020-09-29 13:24:59 -0500 | [diff] [blame] | 10 | SPL_BINARY = "spl/u-boot-spl.bin" |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 11 | |
Brandon Wyman | 1c67223 | 2019-10-24 18:08:13 -0500 | [diff] [blame] | 12 | OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3" |
| 13 | |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 14 | require conf/machine/include/ast2600.inc |
| 15 | require conf/machine/include/obmc-bsp-common.inc |
| 16 | require conf/machine/include/openpower.inc |
Brad Bishop | a006484 | 2020-09-23 10:09:13 -0400 | [diff] [blame] | 17 | include conf/machine/include/ibm-power10-cpu.inc |
Adriana Kobylak | a989315 | 2020-07-16 14:48:19 -0500 | [diff] [blame] | 18 | require conf/distro/include/openpower-virtual-pnor.inc |
Andrew Geissler | 6d8b8fe | 2021-10-19 15:40:27 +0000 | [diff] [blame] | 19 | require conf/distro/include/openpower-hostfw-over-pldm.inc |
Adriana Kobylak | a989315 | 2020-07-16 14:48:19 -0500 | [diff] [blame] | 20 | require conf/distro/include/phosphor-mmc.inc |
Andrew Geissler | e008cb7 | 2021-02-01 13:49:27 -0600 | [diff] [blame] | 21 | require conf/distro/include/ibm-mpreboot.inc |
Patrick Williams | 12e8df8 | 2021-02-21 12:25:18 -0600 | [diff] [blame] | 22 | require conf/distro/include/ibm-yaml.inc |
Joseph Reynolds | 68e567f | 2021-02-24 17:20:01 -0600 | [diff] [blame] | 23 | DISTRO_FEATURES += "ibm-service-account-policy" |
Joel Stanley | 166a08f | 2022-01-14 14:41:14 +1030 | [diff] [blame] | 24 | MACHINE_FEATURES += 'phal tpm2' |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 25 | |
| 26 | SERIAL_CONSOLES = "115200;ttyS4" |
| 27 | |
| 28 | MRW_XML = "witherspoon.xml" |
| 29 | PHOSPHOR_MRW_LICENSE = "Apache-2.0" |
| 30 | PHOSPHOR_MRW_LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 31 | PHOSPHOR_MRW_URI = "git://github.com/open-power/witherspoon-xml;branch=master;protocol=https" |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 32 | PHOSPHOR_MRW_REV = "c622cb5a5dd3ebc2a4eef558d1b70740f914e6f7" |
| 33 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 34 | VIRTUAL-RUNTIME_phosphor-hwmon-config:df-mrw = "" |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 35 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 36 | PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config:df-mrw = \ |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 37 | "phosphor-fan-control-fan-config" |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 38 | PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config:df-mrw = \ |
Brad Bishop | 975bf61 | 2019-09-16 13:53:14 -0400 | [diff] [blame] | 39 | "phosphor-fan-presence-config" |
| 40 | |
Santosh Puranik | 87d92e5 | 2019-10-11 12:54:52 -0500 | [diff] [blame] | 41 | SKIP_BROKEN_MRW = "1" |
Andrew Geissler | 55c57e8 | 2020-09-24 15:48:24 -0500 | [diff] [blame] | 42 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 43 | IMAGE_FEATURES:remove = "obmc-ikvm" |
Klaus Heinrich Kiwi | 228fadb | 2021-04-28 10:54:07 -0300 | [diff] [blame] | 44 | |
| 45 | UBOOT_SIGN_ENABLE = "1" |
| 46 | SPL_SIGN_ENABLE = "1" |
| 47 | |
| 48 | FIT_HASH_ALG = "sha512" |
| 49 | FIT_SIGN_ALG = "rsa4096" |
| 50 | FIT_SIGN_NUMBITS = "4096" |
| 51 | UBOOT_FITIMAGE_ENABLE = "1" |
| 52 | UBOOT_FIT_HASH_ALG = "sha512" |
| 53 | UBOOT_FIT_SIGN_ALG = "rsa4096" |
| 54 | UBOOT_FIT_SIGN_NUMBITS = "4096" |
| 55 | |
| 56 | UBOOT_SIGN_KEYNAME = "rsa_oem_fitimage_key" |
| 57 | SPL_SIGN_KEYNAME = "rsa_oem_fitimage_key" |
| 58 | |
| 59 | UBOOT_SIGN_KEYDIR = "${WORKDIR}" |
| 60 | SPL_SIGN_KEYDIR = "${WORKDIR}" |
Andrew Jeffery | ea205d2 | 2021-05-04 13:21:36 +0930 | [diff] [blame] | 61 | |
Andrew Jeffery | 6991461 | 2021-08-04 12:52:47 +0930 | [diff] [blame] | 62 | SOCSEC_SIGN_ENABLE = "1" |
| 63 | |
Andrew Jeffery | ea205d2 | 2021-05-04 13:21:36 +0930 | [diff] [blame] | 64 | DEBUG_TRIGGERS = "kcs2" |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 65 | PACKAGECONFIG:append:pn-debug-trigger = " triggers" |
Andrew Jeffery | 14d942b | 2022-02-19 12:34:54 +1030 | [diff] [blame] | 66 | |
| 67 | PACKAGECONFIG:pn-opkg = "curl openssl ssl-curl" |
Joel Stanley | 25cd59b | 2022-10-19 17:08:26 +1030 | [diff] [blame^] | 68 | |
| 69 | # Add zImage to images directory for Qemu |
| 70 | KERNEL_IMAGETYPES +=" zImage " |
| 71 | |
| 72 | # Produce a .qcow2 of the wic for Qemu |
| 73 | IMAGE_FSTYPES +=" wic.qcow2 " |
| 74 | |
| 75 | QB_ROOTFS_OPT:p10bmc="-drive file=@ROOTFS@,if=sd,format=qcow2,index=2" |
| 76 | QB_MACHINE:p10bmc="-machine rainier-bmc" |
| 77 | QB_DTB:p10bmc="aspeed-bmc-ibm-rainier.dtb" |
| 78 | QB_MEM:p10bmc="-m 1024" |
| 79 | QB_DEFAULT_FSTYPE:p10bmc="wic.qcow2" |
| 80 | QB_FSINFO = "wic:no-kernel-in-fs" |
| 81 | QB_DEFAULT_KERNEL:p10bmc="zImage" |
| 82 | QB_KERNEL_ROOT:p10bmc="PARTLABEL=rofs-a" |