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