summaryrefslogtreecommitdiff
path: root/meta-yadro
AgeCommit message (Collapse)AuthorFilesLines
2020-11-17obmc-yadro-fwupdate: bump version bc26764..f141bdfAlexander Filippov1-1/+1
Alexander Filippov (2): * Add more clear message about machine mismatch * signature: handle image verification (From meta-yadro rev: 6b3feee568fe56b29af1051ee4506057a1504995) Change-Id: I792fda981263d250af3954f749f535ce3e733d17 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-17obmc-yadro-cli: bump version 1b0347f2..9457a085Alexander Filippov3-8/+24
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-11-06meta-yadro: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunsfell (previous). (From meta-yadro rev: e18f52c26682880d7611a65888a0d8bbc8b5f734) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia15eb84ee2f655a2d7fcecb96b9edaa95c25539d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-16meta-yadro: impi: Rename phosphor-ipmi-configAlexander Filippov1-0/+0
phosphor-ipmi-config is the package without an external repository and does not have any suffixes in the name. This just renames the bbappend file and fixes the build. (From meta-yadro rev: bcdc5919568f79f706bca797b3a2c8f0834a5ab7) Change-Id: Idc0394276f639de68f92d6a51b0e21b994bdf1a5 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-07meta-yadro: ipmi: Add cipher listKirill Pakhomov2-0/+15
This commit adds list of ciphers supported by YADRO. Besides the default cipher suite 17 from meta-phosphor layer, the cipher suite 3 (hmac_sha1 auth. algorithm) has been added. (From meta-yadro rev: df5e1284a61baa0f9aa923c66573505362a49c9f) Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com> Change-Id: I69baa4c7decd5d38d253643d68e89514b4291268 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-07obmc-yadro-cli: srcrev bump 5408881b37..1b0347f2c6Alexander Filippov1-4/+4
Alexander Filippov (2): update: fix fwupdate call update: Add a stricter argument check Artem Senichev (6): Hierarchical command system support user: Grant Web and Redfish access for admins Add Vegman support Split 'bmc' command for different platforms vegman: Remove unsupported commands vegman: Add sensors and inventory handlers user: Manage accounts via D-Bus calls (From meta-yadro rev: f9668ffb6c5880332dc6070d0db50b4cf214a16b) Change-Id: I67349c9954336f7cdbaf6ccc191dcd5dd56c6665 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Artem Senichev <a.senichev@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02MAINTAINERS: Add Andrei KartashevAlexander Filippov1-0/+1
This adds Andrei Kartashev as a reviewer for meta-yadro layer. (From meta-yadro rev: 8dcb3402325c376f0563f3d871a446cb26045e3f) Change-Id: Ie4a9c9090fbf7973aa01c6d2f8c57246ba7626cb Signed-off-by: Alexander Filippov <a.filippov@yadro.com> 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-yadro: ipmid: Fix bootmbox supportAlexander Filippov1-155/+96
The phosphor-host-ipmid was modified by the upstream and our patch is now conflicted with those changes. This commit brings the refactored patch file and fixes the phosphor-host-ipmid building. (From meta-yadro rev: f0ea8198fe547003cb96f5c9c1d393fe0ef67bc4) Change-Id: I670138248cd49955053dc594108b0c482df94efe Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-yadro: dbus-intf: fix bootmbox interfaceAlexander Filippov3-76/+141
Since the `phosphor-dbus-interfaces` has switched to `meson` simply adding a new YAML is not enough. This commit appends a YAML file and few required changes in the meson scripts to fix `xyz.openbmc_project.Control.Boot.Mailbox` interface building. (From meta-yadro rev: 1df817ffff7f18f435402872df1f51fa0d19f08f) Change-Id: I211d15995f1cf6d92957b51891da1ed942ffa7b4 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02obmc-yadro-fwupdate: bump srcrev 8338fb9..bc26764Alexander Filippov1-1/+1
This brings: - Update to latest clang format - vegman: wait for busy partitions - dbus: wait until the service is really stopped (From meta-yadro rev: 5c3180810cd0a1d89aebb8203c035da51f2368b1) Change-Id: I109305f36a15327cc737c3210315a2cf1f314467 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-10-02obmc-yadro-lssensors: bump srcrev 4f55f0e..f76bf42Alexander Filippov1-1/+1
This brings: - Change sensor Value to double - Add new sensors unit (From meta-yadro rev: 87fdf4e74c24d8f8be20ae67ce85e65ff2040e92) Change-Id: Ia1b172df682c75e9b94e5520d16718085a17d00d 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-30meta-yadro: Fix version parsing, update AUX revAlexander Amelkin2-1/+331
AUX Revision info was always taken from the dev_id.json file if it exists, overriding the value calculated from the active firmware version string. Also, when AUX info was calculated, it only properly parsed the dirtyness of the build. With this commit the AUX info calculation will properly parse the git hash part and will include it as higher 3 bytes of the AUX info. For officially released versions the lower byte will be zero. For development versions, bits [7:1] of the fourth byte will all be 1 as an indicator of non-release branch. For unofficial builds from release branches those bits will contain a number from 1 to 126 indicating a patch level since the release tag. In any case the bit 0 of byte 4 is a dirtyness indicator. If the sources used to build the firmware were modified compared to the git hash, this bit will be 1. WARNING: For the AUX decoding from version string to work properly, the dev_id.json file must NOT contain the `aux` property. (From meta-yadro rev: 468784ebfd8009e34207018c44858e2b6bc28762) End-user-impact: Version info is properly represented in the AUX Revision Info fields in response to the IPMI Get Device ID command (ipmitool mc info) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: Iec376659ab108283e224618e3f6afed24a86b199 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-25obmc-yadro-fwupdate: srcrev bump 9ec0aee..8338fb9Alexander Filippov1-4/+9
This brings: - Support for VEGMAN - reboot-guard-support is enabled by default - Some code refactoring - Using the PACKAGECONIFG instead of OEMESON to enable configure options. (From meta-yadro rev: a01e7828feac74f9ae65877b5fe352395cab8736) Change-Id: Iff6566c7988722604735f6a43806e5485d1092f2 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> 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 Filippov7-2/+70
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 Bishop2-2/+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-14meta-nicole: Remove local copy of DTSAlexander Filippov2-335/+0
DTS for Nicole present in the kernel source since 5.7. This commit removes the local copy of DTS from yocto. (From meta-yadro rev: 9b2cfd0597cb1c3aa8b451e94712b7a0e383a184) Change-Id: Iaaf90287ce5ddcfedc883936b36fdf102356f049 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-yadro-fwupdate: srcrev bump b922eb4..9ec0aeeAlexander Filippov1-1/+1
This brings: * Revert "Change install dir to /usr/sbin" * Remove colors usage * Allow any compression method (From meta-yadro rev: c486c2566329b1c51d0284cc476b5ec6a376a442) Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: Ia75149647e78e44d4576b0b413aae8ebce59f333 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-05obmc-yadro-cli: srcrev bump 406688be90..5408881b37Artem Senichev1-1/+1
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-08-05meta-nicole: Disable group restriction for SSHArtem Senichev2-0/+2
By default, OpenBMC allows SSH connection only for members of priv-admin group. This patch removes this restriction. (From meta-yadro rev: 840348016139393f61482ee95f2dcb07187d589b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I9bf5c2950a25715ad814b1d4247a882359a26249 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-18meta-yadro: os-release: Add vendor/product infoAlexander Amelkin2-0/+136
Update the os-release generation script to set the welcome string and the version according to the product name, branch name, and vendor tags for all YADRO products. (From meta-yadro rev: 5d28cfe0b0de03abd61707a013e63087e7ad18fd) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: Ib8b6fd3d252c974fa3cdd2a703480dbd43cc9e0b 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 Mikhaylov6-6/+6
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 Senichev2-0/+17
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-yadro: collect all cli tools into one folderAlexander Filippov2-0/+0
Moves fwupdate and lssensors into the cli folder. (From meta-yadro rev: 717867bd2d45baefc5784c8f20992a884bc9648b) Change-Id: I93e5051a4c3874ac70d58d1cc81634a365fddd58 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 Senichev2-0/+20
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 Senichev2-2/+25
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-06-10meta-nicole: remove LDAP supportAlexander Filippov1-0/+2
Nicole does not require the LDAP support as the end users will never get direct access to it. This completely removes the LDAP support from the Nicole's build. (From meta-yadro rev: f8f482d64a990e20b55a4d5547e53cd7fccd6278) Change-Id: I19dbae120373794a9579ad84e39fa62e05737bc9 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-05meta-nicole: u-boot: add bmc position supportAlexander Filippov4-61/+660
This brings: - GPIO support in u-boot - BMC position is determined by the GPIOE1 and stored as a boot argument. (From meta-yadro rev: 1b68cd934fe58ce3c33b272b45497d2a1b4e35e6) Change-Id: Ieaf5bda2267b533327618330760431e66224092a End-User-Impact: In the u-boot shell now available `gpio` command Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29meta-nicole: Enable field modeAlexander Filippov3-0/+29
Enables the field mode by default. This marks the BMC as production version and activates some production specific functionalities. For example, this makes the software manager to discard unverified firmware images. Tested: - The output of `fw_printenv` contains `fieldmode=true`. - `busctl get-property xyz.openbmc_project.Software.BMC.Updater \ /xyz/openbmc_project/software \ xyz.openbmc_project.Control.FieldMode FieldModeEnabled` returns `true` (From meta-yadro rev: ca760a233b348efaf860e0691ea4b3f1c0db1ec1) Change-Id: I9c6fbead319f3c990efba669c923dccb97110e16 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-28meta-yadro: add obmc-yadro-lssensors packageAlexander Filippov1-0/+16
lssensors is a command line tool which shows available sensors. (From meta-yadro rev: d54a06e15444c1d7e66b0da7e1e1f9e36c158884) Change-Id: I25ba2b2725ad6cb18497070631ce4edd26484e60 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>