summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-nicole/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-11-01meta-nicole: admin-account: Move to local.confAlexander Filippov2-39/+0
This refixes of 905072f5c1d2f1e2bd99fb3346ee2978428b992b commit as pure build without sstate-cache is still broken. This commit moves the admin account creation from the standalone package to the bitbake config file. Change-Id: I6d4cfe41b1e6e2f5e707f4e942a8e4df93277e93 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-09-16meta-nicole: admin-account: Fix build as IPKAlexander Filippov1-3/+5
Switching to IPK usage breaks the building of this package. During the installation there are no required groups. This commit fixes the issue. Change-Id: Ibe80f3bf80e851005f637e47ca669e47035dba6d Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams3-4/+4
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-23meta-yadro: Yocto override syntax changeAndrei Kartashev22-43/+43
Convert with convert-overrides.py Sync local.conf.sample with: - poky/meta-poky/conf/local.conf.sample - meta-facebook/meta-tiogapass/conf/local.conf.sample Additional manual changes (not found by convert-overrides.py) in - meta-yadro/meta-nicole/recipes-kernel/linux/linux-aspeed_%.bbappend - meta-yadro/meta-nicole/recipes-phosphor/images/obmc-phosphor-image.bbappend - meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend Tested: image compiles. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I959669bad43ce09c0817b2a002e6db546fb98f7f
2021-07-21meta-nicole: settings: fix mailbox overrideAlexander Filippov1-1/+22
This commit fixes build by correcting default value of mailbox settings. Change-Id: I5df137ca7dc8f8008d49a0cd010c14691dc6754b Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-21meta-nicole: native class is not inherited lastAlexander Filippov4-4/+4
Moved "inherit native" statements to the last position to remove QA Issues. The message is: WARNING: QA Issue: {RECIPENAME}: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: {CLASSFILES} [native-last] Change-Id: Ib6d8f41c437ca62a8d4a9885ff670adb5ad69f8a Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-05-19meta-yadro: nicole: Remove autotools specific configWilliam A. Kennington III1-1/+1
We want to use packageconfig options instead of build system specific ones. Change-Id: I13002f3d1f62acb882ca713b038316397720bda0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-03-26ledmanager: Remove phosphor-led-manager-ledmanager packageVishwanatha Subbanna1-1/+1
phosphor-led-manager has 3 packages - phosphor-led-manager : Default - phosphor-led-manager-ledmanager : Packages phosphor-ledmanager - phosphor-ledmanager-faultmonitor : Packages phosphor-fru-fault-monitor Because of this, it was not possible to install files via Makefile and that always needed a corresponding update to FILES_{PN}-ledmanager. Removing phosphor-led-manager-ledmanager will eliminate this problem. Change-Id: I00ca4c34346a47f887872464b9050a46d8f5e8e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-23nicole: phosphor-hwmon: Add VBAT thresholdsAlexander Filippov1-0/+4
This brings the thresholds for the VBAT sensor. End-User-Impact: The VBAT sensor will now have thresholds. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I7a8fb0194900cb6f39ab09b6c3ad9f1ff65d23ee
2021-03-23nicole: phosphor-ipmi-host: add vbat sensorAlexander Filippov1-0/+21
This brings the VBAT sensor to the sensor's list shown by the `ipmitool sensor` command. End-User-Impact: The `ipmitool sensor` command will now contain the VBAT sensor. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I6465a2d6386bf6cd271763de678cae1ee086d6ee
2021-03-23Revert "meta-nicole: phosphor-hwmon: Fix VBAT gain"Alexander Filippov1-1/+1
This reverts commit 12f7c29b5365fc3d40665b4326b2f2c8c559ce67. The GAIN was too small due the bug in the phosphor-hwmon. It is no longer required as the bug has already fixed. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I54f565f777e4c0edb7368f70c999b08ce9c05b98
2021-02-03openpower-esel-parser: srcrev bump 8d25ae..5bf636Alexander Filippov1-1/+1
Alexander Filippov (1) Fix build with OpenBMC 2.10.0-dev Change-Id: Iee1968deb5c72c3559cbf629742af03bf29bfae2 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2020-11-17obmc-yadro-cli: bump version 1b0347f2..9457a085Alexander Filippov2-6/+10
Alexander Filippov (2): vegman: sensors: use lssensors bmc/datetime: add time synchronization method This also adds some used tools as runtime dependency. (From meta-yadro rev: e884b08867fed7ba959ae86f4ff676ff94262062) Change-Id: Ifc702728ab05346ed44d4e33bdb986692cc28afe Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-09meta-nicole: Configure admin accountArtem Senichev1-3/+1
Disables setting the primary group for admin account and removes its memberships from group 'operator' and 'user'. Sudo membership is not necessary anymore. Made for compatibility with User Management service. (From meta-yadro rev: 8435f349732c6a2460aa1b05f74cb65717c120b3) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ib4a7b94c352a15e8ad5487ed3cdefb35d976d0fb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: bmcweb: Disable mutual TSL authAlexander Filippov1-0/+3
The `bmcweb` by default has enabled the mutual TSL authentication support. But this feature requires the `phosphor-nslcd-authority-cert-config` installed. This package was removed with LDAP support and as a result the `bmcweb` is crashing now. Nicole does not require LDAP and TLS auth. This commit disables the TLS auth in the `bmcweb` and fixes the issue. (From meta-yadro rev: 98c4bccc9c649da1bbdba41253e0de667f9bc0a0) Change-Id: Ica0f5443dc79174d58a57a105595e8b6fbae1ff3 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: phosphor-hwmon: Fix VBAT gainAlexander Filippov1-1/+1
VBAT is measured in millivolts but should be shown in volts. This commit fixes the gain parameter. (From meta-yadro rev: 8b9a6e68150bb92990314743ba7b95166cf9d409) Change-Id: I508948907b5ffc8845bf1ce04c8a811f4632171f End-User-Impact: VBAT will now show in Volts. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: phosphor-ipmi-host: Fix sensorsAlexander Filippov1-4/+4
Since the commit 022da0dd the value type of sensors was changed from `int64_t` with scale to `double`. This brings the same replacement for `phosphor-ipmi-host`. (From meta-yadro rev: fe84801b413deef4185337a117098f62fca4dbc6) Change-Id: I3de00a101a0633658292131c5d255080ab24f64c End-User-Impact: `ipmitool sensor` will now show actual sensor's values. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-30meta-nicole: ipmi-config: Remove AUX fieldAlexander Amelkin1-2/+1
Remove the `aux` field from `dev_id.json` in order to enable parsing of the AUX info from the version string. (From meta-yadro rev: 10a64bde2de34a34bcd015bfb1f8d4183f51321f) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: I74fd12967b19d900f3cdffcd5163242a13efde0f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23nicole: Remove obsolete vlan-4004 package.Alexander Filippov7-93/+0
The functionality of this package was added as a part of `systemd-conf` package. This package is no longer required. (From meta-yadro rev: e5fb11c84f7455acff17efb79373e954afef1780) Change-Id: Iee5368e0bcc60ccdb745323937ec5506ce3c1c4d Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23nicole: Add predefined network settingsAlexander Filippov1-2/+0
This brings the default network settings for Tatlin as a part of `systemd-conf` package. These settings contain a predefined IPv4 address for eth0 interface, keep the possibility of getting an additional IP address from DHCP. VALN4004 with predefined IPv6 address is also kept. (From meta-yadro rev: 56e7efa11a0b281f39d160cd99c84b7a95632205) Change-Id: Ibb025a1ae519f0843bfcb8ec71e009e2bc97141f End-User-Impact: - BMC now has predefined IPv4 address on the eth0. - VLAN4004 also present and has predefined IPv6 address - BMC is able to get a dynamic IP address on eth0. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23meta-nicole: phosphor-ipmi-config: Fix product IDAlexander Amelkin1-1/+1
Use TATLIN Storage Controller BMC product ID End-user-impact: The BMC is now properly identified via IPMI using the Get Device ID command. Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: I51d2da6c844effa6478df87dd55609a976f48abd (From meta-yadro rev: 59d7d9823b9e77b81f24d93cc5fb5b7e6e2e5187) Change-Id: I70f17380aa3f87c3670cae2dbd1e5cb2980f7dde Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-09meta-nicole: Add the channel configuration fileKirill Pakhomov1-0/+178
Added the channel configuration file for the NICOLE hardware. (From meta-yadro rev: 47e0014171e94b3a9188473f0e81a69ffe67e4d0) Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com> Change-Id: Ie95c491a41086e7e7461ebc0098cff90d120646a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-20meta-nicole: opt out of obmc-user-mgmt-ldapBrad Bishop1-0/+1
Upstream is in the process of reworking how ldap user management is included (or not) - moving from a distro feature to an image feature. Opt out from the new image feature to avoid picking up the ldap user management packages when upstream makes the switch. There is no longer any need to remove ldap from DISTRO_FEATURES, so remove that. (From meta-yadro rev: 8675f543d73843d5d4fe185134d8edc72ef22246) Change-Id: I5071152dfa9c2d71286d76d72d10a4e4569eea2d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-05obmc-yadro-cli: srcrev bump 406688be90..5408881b37Artem Senichev1-31/+0
Artem Senichev (3): sel: Show event list by default user: Using primary group as role nmi: Use D-Bus instead of direct pdbg call (From meta-yadro rev: 3434293378d7ce0ac9d0db440ec5dabc6b016fb6) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ic78d82a344c94e207cd9b80cbae1cbaf730a4025 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-nicole: Fix SRESET over NMI callArtem Senichev2-0/+62
Current implementation by IBM supports only witherspoon platform. This patch makes it possible to use a D-Bus call for initiating kernel crash (System Reset vector) on the Nicole host system. (From meta-yadro rev: 5f76189ed4eb64e20191fe460f00f803b37ed88c) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I8ef5ecfd209860500f8303a594636a1cff1298a3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-nicole: disable time synchronizationAlexander Filippov2-1/+9
The time synchronization is not required by default on Nicole. It will be done by the host. (From meta-yadro rev: cca25e974f7b7d6c5f4b1e19b6fdab503649c763) Change-Id: I2478ac2dd528462024e93dc791b6564385f1a1ff Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-yadro: share boot initiator mailbox supportIvan Mikhaylov5-653/+0
Boot Initiator Mailbox should be available on all our hardware. This commit moves all required files and recipes to the meta-yadro. (From meta-yadro rev: 9ee3c28294c6a87912edbcf09b999b926634f836) Change-Id: Idc52bfb50c8f122662279a593de0ee40703ddb51 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-ipmi-host: Add support for boot initiator mailboxIvan Mikhaylov2-0/+478
Add handlers to process the chassis system option 7 (boot initiator mailbox). The format of mailbox is specific to the machine/bootloader. This commit only adds generic handlers to process getting and setting of the mailbox data regardless of the content. Only the IANA Enterprise number is checked in the data block 0. Also checked are the data boundaries. It is expected that a machine-specific override for phosphor-settingsd sets the supported state and the IANA number according to the used bootloader. (From meta-yadro rev: ef10645f38d431598fe0a2bce98cb656354df01e) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I819e2f8ef9d7ddfbadacc5d5bcb6c4fbf98271a0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-ipmi-host: Add support for persistent-only settingsIvan Mikhaylov2-0/+97
Some settings such as Boot Initiator Mailbox do not support one-time setting mode (as per IPMI 2.0 specification). This commit adds support for such persistent-only settings. (From meta-yadro rev: 10458e3a5362815e0f4dc45a103cbdda3165b856) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I44a00b9c19e12e2165a311f6b2867509ee911c80 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-settingsd: Add boot mailbox interfaceIvan Mikhaylov2-0/+18
Add defaults for Control/Boot/Mailbox interface so that phosphor-settingsd could implement and handle it. (From meta-yadro rev: 548286c74a67e8043679be69a47f00325947a327) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I24e302fdcce21de7e570e4edc592dd97bf4a8df6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-dbus-interfaces: Add boot initiator mailbox interfaceIvan Mikhaylov2-0/+78
Add the xyz.openbmc_project.Control.Boot.Mailbox interface to allow for provision of the boot initiator (such as Petitboot or UEFI) with its specific parameters. This is based on IPMI 2.0 Table 28-14 'Boot Option Parameters' parameter 7 'Boot initiator mailbox'. (From meta-yadro rev: 8a37d4554c77f6b3b93fea17eae46b0124b42d28) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I231b8658d47d331d0af665b8ccb86da5ea8b2845 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03meta-nicole: Add console tool for backup/restoreArtem Senichev1-0/+1
This tool can be used by an end user to backup and restore OpenBMC configuration files. (From meta-yadro rev: 558449cc14a7437a8d45efbe05fca142e789c21f) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I2aaa209177122a9ee69d4a7d1421f34cd7d986c6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03meta-nicole: phosphor-network: use sync mac optionAlexander Filippov4-2/+14
The phosphor-network now has the sync-mac feature. It does the same thing as the first-boot-set-mac without any additional services. This commit enables this new feature in phosphor-network and removes obsolete first-boot-set-mac service. (From meta-yadro rev: fea7a8d7a57accd658aa60248cb203afc735c73b) Change-Id: I31e530850b2550de70f72091c683153ecb6968a7 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26meta-nicole: Add console tool for managing networkArtem Senichev1-0/+1
This tool can be used by an end user for managing OpenBMC network configuration. (From meta-yadro rev: e5c4bc9cda0ffc2aa4a72dd5fef99573d91d968b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ic2647434f0ad675037f12c97adc5526948612ecf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26meta-nicole: Add console tool for print inventoryArtem Senichev1-2/+3
This tool can be used by an end user to print OpenBMC inventory list. (From meta-yadro rev: d8533edaabad01bfc353a7fe1ca44077ac79512d) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I801ed25fe94cbdf87d509b5f1eb6ff25d4fc2c7e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26nicole: Add default network configs for TatlinAlexander Filippov8-0/+94
This adds VLAN4004 configuration to the nicole firmware image. The IPv6 address will be chosen depending on the BMC position. During the firmware upgrade the stored previous version of `/etc/systemd/network/00-bmc-eth0.network` may prevent to start new VLAN4004 interface. This commit also adds a service which should fix this issue on the first boot time after upgrade by adding necessary option to the interface configuration file if it is not present yet. Tested: BMC now has additional `eth0.4004` interface use static IPv6 address and this address depend on BMC position. (From meta-yadro rev: 83aa32ac997e6dc66cc5e2041a0a3cb723e950d9) Change-Id: I5fc6663ddee67aafcfa9f2004083d8a4a528950f Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16meta-nicole: phosphor-ipmi-config: Set device idAlexander Filippov4-0/+46
This adds a dev_id.json with Nicole specific values and a systemd unit which changes at the boot time the device ID in the dev_id.json to the actual BMC position. Tested: `ipmitool mc info` now shows the actual BMC position in the Device ID field. (From meta-yadro rev: 8dcdb1ef8661b2f5624d75787bd4bcc4da8301d7) Change-Id: Ia819ef4154ffe368ca9684662c248295060e0597 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29meta-nicole: Add image signature verificationAlexander Filippov3-1/+6
Adds a firmware image signature verification. This brings: - The key is stored in `/etc/activationdata` folder. - The software item activation now begins with signature verification. The verification failure stops the activation only when the `fieldMode` is set to true. See https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Control/FieldMode.interface.yaml (From meta-yadro rev: f9e0ad9f1bb2a2520651f771e2b873bef384423a) Change-Id: I91cf92d15d29737a9cd05120b194189eb767636e Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-28meta-nicole: build obmc-yadro-lssensorsAlexander Filippov1-0/+1
Adds obmc-yadro-lssensors to nicole firmware. (From meta-yadro rev: 6ad79177812c3b3af1c962c31b65c76eb76b51dc) Change-Id: Ife48ab428e402b2291047f585e3b089ef7ed4c77 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27nicole: esel-parser: srcrev bump c35879f..8d25ae3Artem Senichev1-1/+1
Artem Senichev (1): Fix build with GCC 10 (From meta-yadro rev: af4fcfc9196dec6b4a3aac60f5a211ddc689917a) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I9ea6dc5fb97870b8b0ecda9633a16e5e764f06ae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-13meta-nicole: Add default account for administratorArtem Senichev2-0/+39
Creates default administrative account for managing the OpenBMC. (From meta-yadro rev: 7eef85ee0d2e6f8100c06c0f9a9cb52c941ecd50) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: If4aa85ace08c9628e98252f00c508fbf28385c9b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-13meta-nicole: Add CLI for end usersArtem Senichev2-4/+38
Command Line Interface (CLI) is a Bash-based shell that is used by non-system users to manage the OpenBMC system. (From meta-yadro rev: cd42b3483a43c1b80aaff8464d9f9c5c3d46979b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: If63b3eb4bdec59d966422d114d1a960c4a67ce2f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30meta-nicole: Add default FRU propertiesArtem Senichev2-0/+3
Set default properties for some types of FRU. This fixes the problem with Presence flag, which must be set to "true" for such FRU as "motherboard" or "opfw". File with extra properties was created long time ago but it was not added to build. (From meta-yadro rev: c6c78ffba8e184220b6e9205f4ddd9336589fc1a) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I8c2b610a1683148fac75bb5567929d6dc2e1c563 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30nicole: libomc-intf: fix gpio definitonsAlexander Filippov1-5/+5
- Removes the unused GPIO definitions. - Adds the ID_BTN definition. (From meta-yadro rev: 542879edd5894c93b75ff17569c867808336c146) Change-Id: I720e1fec9fccb7f3192cc922b7b7192e0cd19702 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30nicole: led-manager: rename ledsAlexander Filippov1-4/+14
The LEDs were renamed in the DTS to correspond https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md The labels were also added. All of these changes led to change the names of the LEDs in sysfs. This commit makes the corresponding changes in the phosphor-led-manager config. (From meta-yadro rev: 683b49512a70c98599277ce719caf695ebd3da8d) Change-Id: I1a7e00136d25c1f379737b64a313e9d322a1f958 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30nicole: Add iio-hwmon-battery configAlexander Filippov2-0/+12
Nicole has RTC battery monitored by aspeed adc. This commit adds the config for hwmon to create /xyz/openbmc_project/sensors/voltage/vbat dbus object. (From meta-yadro rev: 00a58de373844c2819c88993242a6bbda6235e8a) Change-Id: Ib9eacb8884d793b3895f6dd4749512517c9d8988 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21meta-nicole: Remove references to vcs-workaroundJoel Stanley1-1/+0
This was a P9 DD1 workaround. These systems are no longer supported and are not found in the wild, so the workaround has been retired. All of the p9 systems in the tree exclude the package so this change should be a noop. (From meta-yadro rev: 0abffd09e40f85cf9b69a6d217d6a9b76a90800a) Change-Id: Ie5b2116291e31635bde5c41a0e5644e611defa4a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21nicole: Apply pwr restore policy on cold boot onlyAlexander Filippov2-0/+7
Makes the phosphor-discover-system-state running only on cold BMC boot. As a result, on the warm BMC reboot the host's power restore policy will not be applied. Tested: - on the warm BMC reboot the host power state is not changed. - on the cold BMC boot (power cycle) the host power state depends on the power restore policy. (From meta-yadro rev: ff3f2e23697817d4e14891ce6753509b5fb22e6b) Change-Id: I9265011d078e732d840eaa2572bf5220fc6951d5 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21meta-nicole: build obmc-yadro-fwupdateAlexander Filippov1-1/+5
Adds obmc-yadro-fwupdate to nicole firmware. (From meta-yadro rev: c9660b9e69cdb968527ce555857abd5dc3b42337) Change-Id: Iffafccab4d4cf8d676637c0015cd84ac5bd33c37 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>