blob: ee38c56c1977c508c37f266c5c0ff715aca5702c [file] [log] [blame]
Brad Bishop0e04b2e2019-05-13 13:45:49 -04001PHOSPHOR_FAN_CONFIG_USE_NATIVE_SYSROOT ?= "1"
2PHOSPHOR_FAN_CONFIG_RECIPE_SUFFIX = "${@bb.utils.contains('PHOSPHOR_FAN_CONFIG_USE_NATIVE_SYSROOT', '1', '-native', '', d)}"
Brad Bishop4c911772016-08-16 13:23:07 -04003OBMC_BMC_INSTANCES ?= "0"
Brad Bishop51ca97e2017-01-26 10:49:22 -05004OBMC_CHASSIS_INSTANCES ?= "0"
5OBMC_CHECKSTOP_INSTANCES ?= "0"
Brad Bishop4c911772016-08-16 13:23:07 -04006OBMC_FAN_INSTANCES ?= ""
Brad Bishop51ca97e2017-01-26 10:49:22 -05007OBMC_HOST_INSTANCES ?= "0"
8OBMC_POWER_BUTTON_INSTANCES ?= "0"
9OBMC_POWER_INSTANCES ?= "0"
10OBMC_RESET_BUTTON_INSTANCES ?= "0"
11OBMC_WATCHDOG_INSTANCES ?= "0"
Brad Bishopf2dd5522016-08-30 08:54:14 -040012
Brad Bishop345f6962016-09-06 23:27:27 -040013PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt ?= "obmc-phosphor-chassisd"
14PREFERRED_PROVIDER_virtual/obmc-fan-mgmt ?= "obmc-phosphor-fand"
15PREFERRED_PROVIDER_virtual/obmc-flash-mgmt ?= "obmc-phosphor-flashd"
Brad Bishop51ca97e2017-01-26 10:49:22 -050016PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-hw-example"
Brad Bishopdb32a7c2017-03-01 16:16:06 -050017
18# obmc-bmc-state-manager
19#
20# Provides an implementation of the xyz.openbmc_project.State.BMC
21# interface.
22VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc"
23
24# obmc-chassis-state-manager
25#
26# Provides an implementation of the xyz.openbmc_project.State.Chassis
27# interface.
28VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis"
29
30# obmc-host-state-manager
31#
32# Provides an implementation of the xyz.openbmc_project.State.Host
33# interface.
34VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host"
Brad Bishop4f12f722017-02-01 21:04:14 -050035
Michael Tritzb3b58992017-03-31 12:04:32 -050036# obmc-discover-system-state
37#
38# Provides an implementation of phosphor-discover-system-state, which, if the
39# host is powered off, will check the current power policy and, if necessary,
40# power the host back on.
41VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover"
42
Matthew Barthacd9fe42017-02-24 13:14:43 -060043# obmc-fan-presence
44#
45# Provides implementations of fan presence detection
46VIRTUAL-RUNTIME_obmc-fan-presence ?= "phosphor-fan-presence-tach"
47
Matt Spinler565e3292017-04-17 16:34:24 -050048# obmc-fan-control
49#
50# Provides implementations of fan control
51VIRTUAL-RUNTIME_obmc-fan-control ?= "phosphor-fan-control"
52
Brad Bishop4f12f722017-02-01 21:04:14 -050053# obmc-inventory-manager
54#
55# Provides an implementation of the xyz.openbmc_project.Inventory.Manager
56# interface.
57VIRTUAL-RUNTIME_obmc-inventory-manager ?= "phosphor-inventory-manager"
58
59# obmc-led-manager
60#
61# Provides an implementation of the xyz.openbmc_project.ledmanager interface.
Dhruvaraj Subhashchandran6a1b0fc2017-04-27 05:29:56 -050062VIRTUAL-RUNTIME_obmc-leds-manager ?= "phosphor-led-manager-ledmanager"
63
64# obmc-led-monitor
65#
66# Provides an implementation of the FRU fault monitor.
67VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor"
Brad Bishop4f12f722017-02-01 21:04:14 -050068
69# obmc-led-sysfs
70#
71# Provides an implementation of xyz.openbmc_project.Led.Physical for
72# Linux kernel LED subsystem LEDs.
73VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs"
74
Deepak Kodihallib74ceea2017-04-13 23:23:42 -050075# obmc-bmc-download-mgr
76#
77# Provides an implementation of the xyz.openbmc_project.Common.TFTP
78# interface.
79VIRTUAL-RUNTIME_obmc-bmc-download-mgr ?= "phosphor-software-manager-download-mgr"
80
Andrew Geisslera30470f2018-02-09 12:50:57 -080081# obmc-bmc-version
82#
83# Provides an implementation of the xyz.openbmc_project.Software.Version
84# interface.
85VIRTUAL-RUNTIME_obmc-bmc-version ?= "phosphor-software-manager-version"
86
Gunnar Millscfe00842017-05-15 15:40:58 -050087# obmc-bmc-updater
88#
89# Provides an implementation of the xyz.openbmc_project.Software.Activation
90# interface.
91VIRTUAL-RUNTIME_obmc-bmc-updater ?= "phosphor-software-manager-updater"
92
Brad Bishop4f12f722017-02-01 21:04:14 -050093# obmc-sensors-hwmon
94#
95# Provides an implementation of xyz.openbmc_project.Sensor.Value
96# for hwmon sensors.
97VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "phosphor-hwmon"
98
Jayanth Othayoth2a5d91e2017-05-31 06:25:55 -050099# obmc-dump-manager
100# Provide support for managing dump
101VIRTUAL-RUNTIME_obmc-dump-manager ?= "phosphor-debug-collector-manager"
102
103# obmc-dump-monitor
104# Provide support for monitoring BMC core dumps
105VIRTUAL-RUNTIME_obmc-dump-monitor ?= "phosphor-debug-collector-monitor"
Jayanth Othayoth9be81b12017-05-08 09:25:05 -0500106
Patrick Venture05b64af2019-05-13 08:35:21 -0700107PREFERRED_PROVIDER_virtual/obmc-system-mgmt ??= "obmc-phosphor-sysd"
Brad Bishop7e60f162017-01-12 21:25:04 -0500108
Brad Bishop3217b272017-02-22 20:50:13 -0500109# phosphor-hwmon-config
110#
111# The phosphor-hwmon package can have its configuration generated
112# automatically if the MRW feature is enabled.
Brad Bishop250a9842018-03-08 23:44:34 -0500113VIRTUAL-RUNTIME_phosphor-hwmon-config ?= ""
Brad Bishop3217b272017-02-22 20:50:13 -0500114
Andrew Geisslera36894f2018-02-05 12:02:35 -0800115# obmc-settings-mgmt
Deepak Kodihallifeb88672017-05-17 06:42:51 -0500116#
117# Provides a manager for user settings.
Andrew Geisslera36894f2018-02-05 12:02:35 -0800118VIRTUAL-RUNTIME_obmc-settings-mgmt ?= "phosphor-settings-manager"
Deepak Kodihallifeb88672017-05-17 06:42:51 -0500119
Ratan Guptad3c61642017-07-06 21:09:14 +0530120# obmc-network-manager
121#
122# Provide support for managing network
Patrick Venture0995aac2019-03-28 09:09:13 -0700123VIRTUAL-RUNTIME_obmc-network-manager ?= "phosphor-network"
Ratan Guptad3c61642017-07-06 21:09:14 +0530124
Patrick Venture98861c52018-02-20 12:19:56 -0800125# Configuration overrides for phosphor-ipmi-fru.
Brad Bishop3acb95c2017-01-28 11:53:03 -0500126#
127# The phosphor-ipmi-fru application is data-driven and requires an input
Patrick Venture98861c52018-02-20 12:19:56 -0800128# mapping of how the host firmware reports inventory via IPMI and the mapping
129# of that inventory metadata to DBus objects interfaces and properties.
130
131# The phosphor-ipmi-fru application is data-driven and requires an input
Brad Bishop3acb95c2017-01-28 11:53:03 -0500132# mapping of how the host firmware reports inventory via IPMI.
133# This virtual is a native recipe that provides that mapping by installing
134# configuration files in the format and native sysroot location expected by
135# the phosphor-ipmi-fru build process.
136PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native"
137
Brad Bishop0a544b52017-01-28 12:51:42 -0500138# The phosphor-ipmi-fru application is data-driven and requires an input
139# mapping of IPMI inventory metadata to DBus objects interfaces and properties.
140# This virtual is a native recipe that provides that mapping by installing
141# configuration files in the format and native sysroot location expected by
142# the phosphor-ipmi-fru build process in the native sysroot.
143PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500144 "phosphor-ipmi-fru-inventory-example-native"
Marri Devender Rao7b823182017-06-08 03:17:36 -0500145
Deepak Kodihalli48be0fd2017-02-20 04:55:20 -0600146PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500147 "phosphor-ipmi-fru-properties-native"
Brad Bishop0a544b52017-01-28 12:51:42 -0500148
Marri Devender Rao7b823182017-06-08 03:17:36 -0500149PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500150 "phosphor-ipmi-fru-read-inventory-example-native"
Marri Devender Rao7b823182017-06-08 03:17:36 -0500151
Patrick Venture98861c52018-02-20 12:19:56 -0800152# Configuration overrides for phosphor-host-ipmid.
153#
154# The phosphor-host-ipmid application is data-driven.
Vishwanatha Subbanna7f07e7d2017-02-11 22:10:23 +0530155
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530156# The phosphor-host-ipmid application is data-driven and requires an input
157# mapping of IPMI inventory sensor metadata to DBus objects interfaces and properties.
158# This virtual is a native recipe that provides that mapping by installing
159# configuration files in the format and native sysroot location expected by
160# the phosphor-host-ipmid build process in the native sysroot.
161PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500162 "phosphor-ipmi-sensor-inventory-native"
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530163
Patrick Venture0b2b1652018-01-18 18:01:29 -0800164# The phosphor-host-ipmid application is data-driven and requires an input
Jaghathiswari Rankappagounder Natarajan16fff3d2019-02-07 12:19:57 -0800165# yaml of entity association record metadata.
166# This virtual is a native recipe that provides that mapping by installing
167# configuration files in the format and native sysroot location expected by
168# the phosphor-host-ipmid build process in the native sysroot.
169PREFERRED_PROVIDER_virtual/phosphor-ipmi-entity-config ?= "phosphor-ipmi-entity-inventory-native"
170
171# The phosphor-host-ipmid application is data-driven and requires an input
Patrick Venture98861c52018-02-20 12:19:56 -0800172# mapping of inventory object path to the sensor number and sensor metadata.
173# This virtual is a native recipe that provides that mapping by installing
174# configuration files in the format and native sysroot location expected by
175# the phosphor-host-ipmid build process in the native sysroot.
176PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500177 "phosphor-ipmi-inventory-sel-native"
Patrick Venture98861c52018-02-20 12:19:56 -0800178
179# Various other overrides.
180
181# The phosphor-led-manager application is data-driven and requires an input
182# yaml of LED group and members.
183# This virtual is a native recipe that provides that mapping by installing
184# configuration files in the format and native sysroot location expected by
185# the phosphor-led-manager build process in the native sysroot.
186PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500187 "phosphor-led-manager-config-example-native"
Patrick Venture98861c52018-02-20 12:19:56 -0800188
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -0500189# The phosphor-logging application has a data driven plugin that adds FRU
190# callout information to error logs, when applications generating error logs
191# add the requisite callout metadata to the systemd journal. The plugin requires
192# an input mapping of Linux sysfs devices to OpenBMC DBus objects.
193# This virtual is a native recipe that provides that mapping by installing
194# configuration files in the format and native sysroot location expected by
195# the phosphor-logging build process in the native sysroot.
196PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \
Brad Bishop250a9842018-03-08 23:44:34 -0500197 "phosphor-logging-callouts-example-native"
Ratan Gupta3aa591f2017-03-06 17:05:11 +0530198
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400199# The phosphor-fan-presence application is data driven and requires an input
200# YAML that maps fans to their tach sensors. This virtual is a recipe that
201# provides that mapping by installing configuration files in the format and
202# sysroot location expected by the phosphor-fan-presence build process in the
203# sysroot.
Matt Spinlerf7d548b2017-03-21 15:02:13 -0500204PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400205 "phosphor-fan-presence-config${PHOSPHOR_FAN_CONFIG_RECIPE_SUFFIX}"
Matt Spinlerf7d548b2017-03-21 15:02:13 -0500206
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400207# The phosphor-fan-control application is data driven and requires a YAML file
208# to define the fans in the system. This virtual is a recipe that provides
209# that definition by installing the YAML file in the format and sysroot
210# location expected by the phosphor-fan-control build process in the sysroot.
Matt Spinler565e3292017-04-17 16:34:24 -0500211PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \
Brad Bishop0e04b2e2019-05-13 13:45:49 -0400212 "phosphor-fan-control-fan-config${PHOSPHOR_FAN_CONFIG_RECIPE_SUFFIX}"
Matt Spinler565e3292017-04-17 16:34:24 -0500213
Vishwanatha Subbanna3de84052017-04-28 15:35:10 +0530214# The phosphor-gpio-monitor application is data-driven and requires an input.
215# The application then watches the passed in input event entry for the
216# change in polarity for the value matching user input. Once the required
217# condition is met, it calls into a systemd target file if one is mentioned
218# in input.
219PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor"
220
Vishwanatha Subbanna2d78dd02017-06-12 13:09:10 +0530221# The phosphor-watchdog application is data-driven and requires an input.
222# The application then starts a timer in disabled state. User of this timer
223# needs to first enable and then use it. This also provides a way for changing
224# the timeout if needed.
225PREFERRED_PROVIDER_virtual/obmc-watchdog ?= "phosphor-watchdog"
226
Vishwanatha Subbanna0ea6f632017-10-18 15:47:54 +0530227# obmc-user-mgmt
228#
229# Provides an implementation of xyz.openbmc_project.User.Manager catering
230# to user management
231VIRTUAL-RUNTIME_obmc-user-mgmt ?= "phosphor-user-manager"
232
Brad Bishop7e60f162017-01-12 21:25:04 -0500233OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project"
234OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project"
Brad Bishop01e6b172018-01-26 22:11:36 -0500235
236# VIRTUAL-RUNTIME_phosphor-ipmi-providers are the set of shared library
237# plugins for the host-ipmid application. By default the IPMI FRU plugin
238# is enabled. Additionally the host-ipmid recipe uses
239# VIRTUAL-RUNTIME_phosphor-ipmi-providers to compute a list of potential
240# IPMI whitelist recipe dependencies. For example:
241#
242# VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
243#
244# Will add a build dependency to host-ipmid on the
245# phosphor-ipmi-fru-whitelist-native recipe.
246VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530247
248# Set the root password to '0penBmc'
249inherit extrausers
250
Richard Marian Thomaiyareac57e72018-12-14 10:35:05 +0530251EXTRA_USERS_PARAMS_pn-obmc-phosphor-image = " \
Richard Marian Thomaiyar4b5a9ef2018-12-12 21:30:30 +0530252 usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \
253 "