blob: 948a090514c9417b6679fd4739bf8a587e13ef1c [file] [log] [blame]
Brad Bishop4c911772016-08-16 13:23:07 -04001OBMC_BMC_INSTANCES ?= "0"
Brad Bishop51ca97e2017-01-26 10:49:22 -05002OBMC_CHASSIS_INSTANCES ?= "0"
3OBMC_CHECKSTOP_INSTANCES ?= "0"
Brad Bishop4c911772016-08-16 13:23:07 -04004OBMC_FAN_INSTANCES ?= ""
Brad Bishop51ca97e2017-01-26 10:49:22 -05005OBMC_HOST_INSTANCES ?= "0"
6OBMC_POWER_BUTTON_INSTANCES ?= "0"
7OBMC_POWER_INSTANCES ?= "0"
8OBMC_RESET_BUTTON_INSTANCES ?= "0"
9OBMC_WATCHDOG_INSTANCES ?= "0"
Brad Bishopf2dd5522016-08-30 08:54:14 -040010
Brad Bishopdb32a7c2017-03-01 16:16:06 -050011# obmc-bmc-state-manager
12#
13# Provides an implementation of the xyz.openbmc_project.State.BMC
14# interface.
15VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc"
16
17# obmc-chassis-state-manager
18#
19# Provides an implementation of the xyz.openbmc_project.State.Chassis
20# interface.
21VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis"
22
23# obmc-host-state-manager
24#
25# Provides an implementation of the xyz.openbmc_project.State.Host
26# interface.
27VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host"
Brad Bishop4f12f722017-02-01 21:04:14 -050028
Michael Tritzb3b58992017-03-31 12:04:32 -050029# obmc-discover-system-state
30#
31# Provides an implementation of phosphor-discover-system-state, which, if the
32# host is powered off, will check the current power policy and, if necessary,
33# power the host back on.
34VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover"
35
Matthew Barthacd9fe42017-02-24 13:14:43 -060036# obmc-fan-presence
37#
38# Provides implementations of fan presence detection
39VIRTUAL-RUNTIME_obmc-fan-presence ?= "phosphor-fan-presence-tach"
40
Matt Spinler565e3292017-04-17 16:34:24 -050041# obmc-fan-control
42#
43# Provides implementations of fan control
44VIRTUAL-RUNTIME_obmc-fan-control ?= "phosphor-fan-control"
45
Brad Bishop4f12f722017-02-01 21:04:14 -050046# obmc-inventory-manager
47#
48# Provides an implementation of the xyz.openbmc_project.Inventory.Manager
49# interface.
50VIRTUAL-RUNTIME_obmc-inventory-manager ?= "phosphor-inventory-manager"
51
52# obmc-led-manager
53#
54# Provides an implementation of the xyz.openbmc_project.ledmanager interface.
Vishwanatha Subbannac5fd20a2021-03-26 06:11:29 -050055VIRTUAL-RUNTIME_obmc-leds-manager ?= "phosphor-led-manager"
Dhruvaraj Subhashchandran6a1b0fc2017-04-27 05:29:56 -050056
57# obmc-led-monitor
58#
59# Provides an implementation of the FRU fault monitor.
60VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor"
Brad Bishop4f12f722017-02-01 21:04:14 -050061
62# obmc-led-sysfs
63#
64# Provides an implementation of xyz.openbmc_project.Led.Physical for
65# Linux kernel LED subsystem LEDs.
66VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs"
67
Deepak Kodihallib74ceea2017-04-13 23:23:42 -050068# obmc-bmc-download-mgr
69#
70# Provides an implementation of the xyz.openbmc_project.Common.TFTP
71# interface.
72VIRTUAL-RUNTIME_obmc-bmc-download-mgr ?= "phosphor-software-manager-download-mgr"
73
Andrew Geisslera30470f2018-02-09 12:50:57 -080074# obmc-bmc-version
75#
76# Provides an implementation of the xyz.openbmc_project.Software.Version
77# interface.
78VIRTUAL-RUNTIME_obmc-bmc-version ?= "phosphor-software-manager-version"
79
Gunnar Millscfe00842017-05-15 15:40:58 -050080# obmc-bmc-updater
81#
82# Provides an implementation of the xyz.openbmc_project.Software.Activation
83# interface.
84VIRTUAL-RUNTIME_obmc-bmc-updater ?= "phosphor-software-manager-updater"
85
Brad Bishop4f12f722017-02-01 21:04:14 -050086# obmc-sensors-hwmon
87#
88# Provides an implementation of xyz.openbmc_project.Sensor.Value
89# for hwmon sensors.
90VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "phosphor-hwmon"
91
Jayanth Othayoth2a5d91e2017-05-31 06:25:55 -050092# obmc-dump-manager
93# Provide support for managing dump
94VIRTUAL-RUNTIME_obmc-dump-manager ?= "phosphor-debug-collector-manager"
95
96# obmc-dump-monitor
97# Provide support for monitoring BMC core dumps
98VIRTUAL-RUNTIME_obmc-dump-monitor ?= "phosphor-debug-collector-monitor"
Jayanth Othayoth9be81b12017-05-08 09:25:05 -050099
Brad Bishop3217b272017-02-22 20:50:13 -0500100# phosphor-hwmon-config
101#
102# The phosphor-hwmon package can have its configuration generated
103# automatically if the MRW feature is enabled.
Brad Bishop250a9842018-03-08 23:44:34 -0500104VIRTUAL-RUNTIME_phosphor-hwmon-config ?= ""
Brad Bishop3217b272017-02-22 20:50:13 -0500105
Ratan Guptad3c61642017-07-06 21:09:14 +0530106# obmc-network-manager
107#
108# Provide support for managing network
Patrick Venture0995aac2019-03-28 09:09:13 -0700109VIRTUAL-RUNTIME_obmc-network-manager ?= "phosphor-network"
Ratan Guptad3c61642017-07-06 21:09:14 +0530110
Patrick Venture98861c52018-02-20 12:19:56 -0800111# Configuration overrides for phosphor-ipmi-fru.
Brad Bishop3acb95c2017-01-28 11:53:03 -0500112#
113# The phosphor-ipmi-fru application is data-driven and requires an input
Patrick Venture98861c52018-02-20 12:19:56 -0800114# mapping of how the host firmware reports inventory via IPMI and the mapping
115# of that inventory metadata to DBus objects interfaces and properties.
116
117# The phosphor-ipmi-fru application is data-driven and requires an input
Brad Bishop3acb95c2017-01-28 11:53:03 -0500118# mapping of how the host firmware reports inventory via IPMI.
119# This virtual is a native recipe that provides that mapping by installing
120# configuration files in the format and native sysroot location expected by
121# the phosphor-ipmi-fru build process.
122PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native"
123
Brad Bishop0a544b52017-01-28 12:51:42 -0500124# The phosphor-ipmi-fru application is data-driven and requires an input
125# mapping of IPMI inventory metadata to DBus objects interfaces and properties.
126# This virtual is a native recipe that provides that mapping by installing
127# configuration files in the format and native sysroot location expected by
128# the phosphor-ipmi-fru build process in the native sysroot.
129PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500130 "phosphor-ipmi-fru-inventory-example-native"
Marri Devender Rao7b823182017-06-08 03:17:36 -0500131
Deepak Kodihalli48be0fd2017-02-20 04:55:20 -0600132PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500133 "phosphor-ipmi-fru-properties-native"
Brad Bishop0a544b52017-01-28 12:51:42 -0500134
Marri Devender Rao7b823182017-06-08 03:17:36 -0500135PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500136 "phosphor-ipmi-fru-read-inventory-example-native"
Marri Devender Rao7b823182017-06-08 03:17:36 -0500137
Patrick Venture98861c52018-02-20 12:19:56 -0800138# Configuration overrides for phosphor-host-ipmid.
139#
140# The phosphor-host-ipmid application is data-driven.
Vishwanatha Subbanna7f07e7d2017-02-11 22:10:23 +0530141
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530142# The phosphor-host-ipmid application is data-driven and requires an input
143# mapping of IPMI inventory sensor metadata to DBus objects interfaces and properties.
144# This virtual is a native recipe that provides that mapping by installing
145# configuration files in the format and native sysroot location expected by
146# the phosphor-host-ipmid build process in the native sysroot.
147PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500148 "phosphor-ipmi-sensor-inventory-native"
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530149
Patrick Venture0b2b1652018-01-18 18:01:29 -0800150# The phosphor-host-ipmid application is data-driven and requires an input
Patrick Venture98861c52018-02-20 12:19:56 -0800151# mapping of inventory object path to the sensor number and sensor metadata.
152# This virtual is a native recipe that provides that mapping by installing
153# configuration files in the format and native sysroot location expected by
154# the phosphor-host-ipmid build process in the native sysroot.
155PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500156 "phosphor-ipmi-inventory-sel-native"
Patrick Venture98861c52018-02-20 12:19:56 -0800157
158# Various other overrides.
159
160# The phosphor-led-manager application is data-driven and requires an input
161# yaml of LED group and members.
162# This virtual is a native recipe that provides that mapping by installing
163# configuration files in the format and native sysroot location expected by
164# the phosphor-led-manager build process in the native sysroot.
165PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500166 "phosphor-led-manager-config-example-native"
Patrick Venture98861c52018-02-20 12:19:56 -0800167
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -0500168# The phosphor-logging application has a data driven plugin that adds FRU
169# callout information to error logs, when applications generating error logs
170# add the requisite callout metadata to the systemd journal. The plugin requires
171# an input mapping of Linux sysfs devices to OpenBMC DBus objects.
172# This virtual is a native recipe that provides that mapping by installing
173# configuration files in the format and native sysroot location expected by
174# the phosphor-logging build process in the native sysroot.
175PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500176 "phosphor-logging-callouts-example-native"
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530177
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400178# The phosphor-fan-presence application is data driven and requires an input
179# YAML that maps fans to their tach sensors. This virtual is a recipe that
180# provides that mapping by installing configuration files in the format and
181# sysroot location expected by the phosphor-fan-presence build process in the
182# sysroot.
Matt Spinlerf7d548b2017-03-21 15:02:13 -0500183PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \
Brad Bishopc8b67b32019-05-13 23:12:55 -0400184 "phosphor-fan-presence-config"
Matt Spinlerf7d548b2017-03-21 15:02:13 -0500185
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400186# The phosphor-fan-control application is data driven and requires a YAML file
187# to define the fans in the system. This virtual is a recipe that provides
188# that definition by installing the YAML file in the format and sysroot
189# location expected by the phosphor-fan-control build process in the sysroot.
Matt Spinler565e3292017-04-17 16:34:24 -0500190PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \
Brad Bishopc8b67b32019-05-13 23:12:55 -0400191 "phosphor-fan-control-fan-config"
Matt Spinler565e3292017-04-17 16:34:24 -0500192
Vishwanatha Subbanna3de84052017-04-28 15:35:10 +0530193# The phosphor-gpio-monitor application is data-driven and requires an input.
194# The application then watches the passed in input event entry for the
195# change in polarity for the value matching user input. Once the required
196# condition is met, it calls into a systemd target file if one is mentioned
197# in input.
198PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor"
199
Vishwanatha Subbanna2d78dd02017-06-12 13:09:10 +0530200# The phosphor-watchdog application is data-driven and requires an input.
201# The application then starts a timer in disabled state. User of this timer
202# needs to first enable and then use it. This also provides a way for changing
203# the timeout if needed.
204PREFERRED_PROVIDER_virtual/obmc-watchdog ?= "phosphor-watchdog"
205
Vishwanatha Subbanna0ea6f632017-10-18 15:47:54 +0530206# obmc-user-mgmt
207#
208# Provides an implementation of xyz.openbmc_project.User.Manager catering
209# to user management
210VIRTUAL-RUNTIME_obmc-user-mgmt ?= "phosphor-user-manager"
211
Brad Bishop7e60f162017-01-12 21:25:04 -0500212OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project"
213OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project"
Brad Bishop01e6b172018-01-26 22:11:36 -0500214
215# VIRTUAL-RUNTIME_phosphor-ipmi-providers are the set of shared library
216# plugins for the host-ipmid application. By default the IPMI FRU plugin
217# is enabled. Additionally the host-ipmid recipe uses
218# VIRTUAL-RUNTIME_phosphor-ipmi-providers to compute a list of potential
219# IPMI whitelist recipe dependencies. For example:
220#
221# VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
222#
223# Will add a build dependency to host-ipmid on the
224# phosphor-ipmi-fru-whitelist-native recipe.
225VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530226
Ed Tanousd47f9a02021-01-25 13:15:36 -0800227# Set security headers on builds
228require conf/distro/include/security_flags.inc
229
230# Disable security on croserver.
231# Remove if https://github.com/open-power/eCMD/pull/433 is ever merged
Patrick Williams12fc9392021-08-06 09:16:53 -0500232SECURITY_STRINGFORMAT:pn-croserver = ""
Ed Tanousd47f9a02021-01-25 13:15:36 -0800233# obmc-libobmc-intf doesn't compile with security flags enabled
Patrick Williams12fc9392021-08-06 09:16:53 -0500234SECURITY_CFLAGS:pn-obmc-libobmc-intf = ""
Ed Tanousd47f9a02021-01-25 13:15:36 -0800235
236# remove when https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/39984
237# is merged and rev bumped
Patrick Williams12fc9392021-08-06 09:16:53 -0500238SECURITY_CFLAGS:pn-pldm = ""
Ed Tanousd47f9a02021-01-25 13:15:36 -0800239
William A. Kennington III1a977b22021-05-13 02:33:12 -0700240# We generally want to enable LTO with meson
Patrick Williams12fc9392021-08-06 09:16:53 -0500241EXTRA_OEMESON:append:class-target = " -Db_lto=true"
William A. Kennington III1a977b22021-05-13 02:33:12 -0700242
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530243# Set the root password to '0penBmc'
Joseph Reynolds516363e2021-08-04 10:01:42 -0500244# Override this in your local.conf
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530245inherit extrausers
246
Joseph Reynolds356f9e12021-07-23 20:15:32 -0500247# This is the default password for the OpenBMC root user account (0penBmc)
248# salted and hashed with SHA512 suitable for /etc/shadow or `usermod -p`.
249DEFAULT_OPENBMC_PASSWORD = "'\$6\$UGMqyqdG\$GqTb3tXPFx9AJlzTw/8X5RoW2Z.100dT.acuk8AFJfNQYr.ZRL8itMIgLqsdq46RNHgiv78XayOSl.IbR4DFU.'"
250
Patrick Williams12fc9392021-08-06 09:16:53 -0500251EXTRA_USERS_PARAMS:pn-obmc-phosphor-image = " \
Joseph Reynolds356f9e12021-07-23 20:15:32 -0500252 usermod -p ${DEFAULT_OPENBMC_PASSWORD} root; \
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530253 "