blob: 58be25a0539853b2cafffba7e75a791b247edf07 [file] [log] [blame]
Brad Bishop6491f652016-08-16 13:23:07 -04001OBMC_BMC_INSTANCES ?= "0"
Brad Bishopb6e45122017-01-26 10:49:22 -05002OBMC_CHASSIS_INSTANCES ?= "0"
3OBMC_CHECKSTOP_INSTANCES ?= "0"
Brad Bishop6491f652016-08-16 13:23:07 -04004OBMC_FAN_INSTANCES ?= ""
Brad Bishopb6e45122017-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 Bishop52d43372016-08-30 08:54:14 -040010
Brad Bishop9bfcfcf2016-09-06 23:27:27 -040011PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt ?= "obmc-phosphor-chassisd"
12PREFERRED_PROVIDER_virtual/obmc-fan-mgmt ?= "obmc-phosphor-fand"
13PREFERRED_PROVIDER_virtual/obmc-flash-mgmt ?= "obmc-phosphor-flashd"
Brad Bishopb6e45122017-01-26 10:49:22 -050014PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-hw-example"
Brad Bishop46631702017-03-01 16:16:06 -050015
16# obmc-bmc-state-manager
17#
18# Provides an implementation of the xyz.openbmc_project.State.BMC
19# interface.
20VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc"
21
22# obmc-chassis-state-manager
23#
24# Provides an implementation of the xyz.openbmc_project.State.Chassis
25# interface.
26VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis"
27
28# obmc-host-state-manager
29#
30# Provides an implementation of the xyz.openbmc_project.State.Host
31# interface.
32VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host"
Brad Bishop45f8b572017-02-01 21:04:14 -050033
Michael Tritz1f792e02017-03-31 12:04:32 -050034# obmc-discover-system-state
35#
36# Provides an implementation of phosphor-discover-system-state, which, if the
37# host is powered off, will check the current power policy and, if necessary,
38# power the host back on.
39VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover"
40
Matthew Barth91460422017-02-24 13:14:43 -060041# obmc-fan-presence
42#
43# Provides implementations of fan presence detection
44VIRTUAL-RUNTIME_obmc-fan-presence ?= "phosphor-fan-presence-tach"
45
Matt Spinlerb89b9e72017-04-17 16:34:24 -050046# obmc-fan-control
47#
48# Provides implementations of fan control
49VIRTUAL-RUNTIME_obmc-fan-control ?= "phosphor-fan-control"
50
Brad Bishop45f8b572017-02-01 21:04:14 -050051# obmc-inventory-manager
52#
53# Provides an implementation of the xyz.openbmc_project.Inventory.Manager
54# interface.
55VIRTUAL-RUNTIME_obmc-inventory-manager ?= "phosphor-inventory-manager"
56
57# obmc-led-manager
58#
59# Provides an implementation of the xyz.openbmc_project.ledmanager interface.
Dhruvaraj Subhashchandrane1266ad2017-04-27 05:29:56 -050060VIRTUAL-RUNTIME_obmc-leds-manager ?= "phosphor-led-manager-ledmanager"
61
62# obmc-led-monitor
63#
64# Provides an implementation of the FRU fault monitor.
65VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor"
Brad Bishop45f8b572017-02-01 21:04:14 -050066
67# obmc-led-sysfs
68#
69# Provides an implementation of xyz.openbmc_project.Led.Physical for
70# Linux kernel LED subsystem LEDs.
71VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs"
72
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050073# obmc-bmc-download-mgr
74#
75# Provides an implementation of the xyz.openbmc_project.Common.TFTP
76# interface.
77VIRTUAL-RUNTIME_obmc-bmc-download-mgr ?= "phosphor-software-manager-download-mgr"
78
Andrew Geissler1f957522018-02-09 12:50:57 -080079# obmc-bmc-version
80#
81# Provides an implementation of the xyz.openbmc_project.Software.Version
82# interface.
83VIRTUAL-RUNTIME_obmc-bmc-version ?= "phosphor-software-manager-version"
84
Gunnar Mills30131f72017-05-15 15:40:58 -050085# obmc-bmc-updater
86#
87# Provides an implementation of the xyz.openbmc_project.Software.Activation
88# interface.
89VIRTUAL-RUNTIME_obmc-bmc-updater ?= "phosphor-software-manager-updater"
90
Brad Bishop45f8b572017-02-01 21:04:14 -050091# obmc-sensors-hwmon
92#
93# Provides an implementation of xyz.openbmc_project.Sensor.Value
94# for hwmon sensors.
95VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "phosphor-hwmon"
96
Jayanth Othayoth9d21d6c2017-05-31 06:25:55 -050097# obmc-dump-manager
98# Provide support for managing dump
99VIRTUAL-RUNTIME_obmc-dump-manager ?= "phosphor-debug-collector-manager"
100
101# obmc-dump-monitor
102# Provide support for monitoring BMC core dumps
103VIRTUAL-RUNTIME_obmc-dump-monitor ?= "phosphor-debug-collector-monitor"
Jayanth Othayoth9963d172017-05-08 09:25:05 -0500104
Patrick Venture9af5e642019-05-13 08:35:21 -0700105PREFERRED_PROVIDER_virtual/obmc-system-mgmt ??= "obmc-phosphor-sysd"
Brad Bishopd4d99d42017-01-12 21:25:04 -0500106
Brad Bishopfe7871c2017-02-22 20:50:13 -0500107# phosphor-hwmon-config
108#
109# The phosphor-hwmon package can have its configuration generated
110# automatically if the MRW feature is enabled.
Brad Bishopcbf14da2018-03-08 23:44:34 -0500111VIRTUAL-RUNTIME_phosphor-hwmon-config ?= ""
Brad Bishopfe7871c2017-02-22 20:50:13 -0500112
Ratan Guptab6de45c2017-07-06 21:09:14 +0530113# obmc-network-manager
114#
115# Provide support for managing network
Patrick Venture98fa9612019-03-28 09:09:13 -0700116VIRTUAL-RUNTIME_obmc-network-manager ?= "phosphor-network"
Ratan Guptab6de45c2017-07-06 21:09:14 +0530117
Patrick Venturee77838d2018-02-20 12:19:56 -0800118# Configuration overrides for phosphor-ipmi-fru.
Brad Bishopda5923e2017-01-28 11:53:03 -0500119#
120# The phosphor-ipmi-fru application is data-driven and requires an input
Patrick Venturee77838d2018-02-20 12:19:56 -0800121# mapping of how the host firmware reports inventory via IPMI and the mapping
122# of that inventory metadata to DBus objects interfaces and properties.
123
124# The phosphor-ipmi-fru application is data-driven and requires an input
Brad Bishopda5923e2017-01-28 11:53:03 -0500125# mapping of how the host firmware reports inventory via IPMI.
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.
129PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native"
130
Brad Bishop30f78552017-01-28 12:51:42 -0500131# The phosphor-ipmi-fru application is data-driven and requires an input
132# mapping of IPMI inventory metadata to DBus objects interfaces and properties.
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 in the native sysroot.
136PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500137 "phosphor-ipmi-fru-inventory-example-native"
Marri Devender Rao5add2342017-06-08 03:17:36 -0500138
Deepak Kodihalli5b183e02017-02-20 04:55:20 -0600139PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500140 "phosphor-ipmi-fru-properties-native"
Brad Bishop30f78552017-01-28 12:51:42 -0500141
Marri Devender Rao5add2342017-06-08 03:17:36 -0500142PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500143 "phosphor-ipmi-fru-read-inventory-example-native"
Marri Devender Rao5add2342017-06-08 03:17:36 -0500144
Patrick Venturee77838d2018-02-20 12:19:56 -0800145# Configuration overrides for phosphor-host-ipmid.
146#
147# The phosphor-host-ipmid application is data-driven.
Vishwanatha Subbanna8bec8252017-02-11 22:10:23 +0530148
Ratan Guptab92d0ec2017-03-06 17:05:11 +0530149# The phosphor-host-ipmid application is data-driven and requires an input
150# mapping of IPMI inventory sensor metadata to DBus objects interfaces and properties.
151# This virtual is a native recipe that provides that mapping by installing
152# configuration files in the format and native sysroot location expected by
153# the phosphor-host-ipmid build process in the native sysroot.
154PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500155 "phosphor-ipmi-sensor-inventory-native"
Ratan Guptab92d0ec2017-03-06 17:05:11 +0530156
Patrick Ventureafdf9842018-01-18 18:01:29 -0800157# The phosphor-host-ipmid application is data-driven and requires an input
Patrick Venturee77838d2018-02-20 12:19:56 -0800158# mapping of inventory object path to the sensor number and sensor metadata.
159# This virtual is a native recipe that provides that mapping by installing
160# configuration files in the format and native sysroot location expected by
161# the phosphor-host-ipmid build process in the native sysroot.
162PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500163 "phosphor-ipmi-inventory-sel-native"
Patrick Venturee77838d2018-02-20 12:19:56 -0800164
165# Various other overrides.
166
167# The phosphor-led-manager application is data-driven and requires an input
168# yaml of LED group and members.
169# This virtual is a native recipe that provides that mapping by installing
170# configuration files in the format and native sysroot location expected by
171# the phosphor-led-manager build process in the native sysroot.
172PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500173 "phosphor-led-manager-config-example-native"
Patrick Venturee77838d2018-02-20 12:19:56 -0800174
Deepak Kodihalli44b1c522017-03-16 06:32:12 -0500175# The phosphor-logging application has a data driven plugin that adds FRU
176# callout information to error logs, when applications generating error logs
177# add the requisite callout metadata to the systemd journal. The plugin requires
178# an input mapping of Linux sysfs devices to OpenBMC DBus objects.
179# This virtual is a native recipe that provides that mapping by installing
180# configuration files in the format and native sysroot location expected by
181# the phosphor-logging build process in the native sysroot.
182PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \
Brad Bishopcbf14da2018-03-08 23:44:34 -0500183 "phosphor-logging-callouts-example-native"
Ratan Guptab92d0ec2017-03-06 17:05:11 +0530184
Brad Bishop19ee51f2019-05-13 13:45:49 -0400185# The phosphor-fan-presence application is data driven and requires an input
186# YAML that maps fans to their tach sensors. This virtual is a recipe that
187# provides that mapping by installing configuration files in the format and
188# sysroot location expected by the phosphor-fan-presence build process in the
189# sysroot.
Matt Spinlerc943de32017-03-21 15:02:13 -0500190PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \
Brad Bishopf3b437c2019-05-13 23:12:55 -0400191 "phosphor-fan-presence-config"
Matt Spinlerc943de32017-03-21 15:02:13 -0500192
Brad Bishop19ee51f2019-05-13 13:45:49 -0400193# The phosphor-fan-control application is data driven and requires a YAML file
194# to define the fans in the system. This virtual is a recipe that provides
195# that definition by installing the YAML file in the format and sysroot
196# location expected by the phosphor-fan-control build process in the sysroot.
Matt Spinlerb89b9e72017-04-17 16:34:24 -0500197PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \
Brad Bishopf3b437c2019-05-13 23:12:55 -0400198 "phosphor-fan-control-fan-config"
Matt Spinlerb89b9e72017-04-17 16:34:24 -0500199
Vishwanatha Subbannab463f222017-04-28 15:35:10 +0530200# The phosphor-gpio-monitor application is data-driven and requires an input.
201# The application then watches the passed in input event entry for the
202# change in polarity for the value matching user input. Once the required
203# condition is met, it calls into a systemd target file if one is mentioned
204# in input.
205PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor"
206
Vishwanatha Subbanna55c545a2017-06-12 13:09:10 +0530207# The phosphor-watchdog application is data-driven and requires an input.
208# The application then starts a timer in disabled state. User of this timer
209# needs to first enable and then use it. This also provides a way for changing
210# the timeout if needed.
211PREFERRED_PROVIDER_virtual/obmc-watchdog ?= "phosphor-watchdog"
212
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +0530213# obmc-user-mgmt
214#
215# Provides an implementation of xyz.openbmc_project.User.Manager catering
216# to user management
217VIRTUAL-RUNTIME_obmc-user-mgmt ?= "phosphor-user-manager"
218
Brad Bishopd4d99d42017-01-12 21:25:04 -0500219OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project"
220OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project"
Brad Bishop7f2ade02018-01-26 22:11:36 -0500221
222# VIRTUAL-RUNTIME_phosphor-ipmi-providers are the set of shared library
223# plugins for the host-ipmid application. By default the IPMI FRU plugin
224# is enabled. Additionally the host-ipmid recipe uses
225# VIRTUAL-RUNTIME_phosphor-ipmi-providers to compute a list of potential
226# IPMI whitelist recipe dependencies. For example:
227#
228# VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
229#
230# Will add a build dependency to host-ipmid on the
231# phosphor-ipmi-fru-whitelist-native recipe.
232VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
Richard Marian Thomaiyarfd1f6962018-12-12 21:30:30 +0530233
234# Set the root password to '0penBmc'
235inherit extrausers
236
Richard Marian Thomaiyar2ce22322018-12-14 10:35:05 +0530237EXTRA_USERS_PARAMS_pn-obmc-phosphor-image = " \
Richard Marian Thomaiyarfd1f6962018-12-12 21:30:30 +0530238 usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \
239 "