summaryrefslogtreecommitdiff
path: root/meta-yadro/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-08-23meta-yadro: move Yadro CLI recipes to own directoryAndrei Kartashev6-144/+0
Yadro have set of CLI utilities for user interaction. This recipes actually not a part of phosphor so should be moved to own category. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I0abbbf147d069b630af76ba93d792689b87261e8
2021-08-23meta-yadro: Yocto override syntax changeAndrei Kartashev5-7/+7
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-28obmc-yadro-cli: srcrev bump 29768c2fb7..76743c3706Alexander Filippov1-3/+5
Alexander Amelkin (27): install: Beautify the output Move group-to-role conversion functions to clicmd clicmd: Hide restricted functions by role install: Prohibit sudo by default, no lecture Update command permissions user: Add `set mypassword`, fix `user create` Add copyright banners bmc info version: Refactor bmc: Fix help for ifconfig and datetime ntpconfig help: Restrict top-level commands Update permissions per design document vegman: power: Add `reboot`, fix `off` health logs show: Add help bmc: Refix f2ff3222ada5f627a322e920e616c978 bmc datetime show: Fix help message bmc syslog reset: Fix typo in help message Fix error handling in local variable assignments Fix assignments from external commands Add a basic github workflow for shellcheck bmc datetime set: Fix format checking Fix issues found by shellcheck clicmd: Add a generic exec_tool function bmc datetime set: Add range sanity checks bmc ifconfig help: Fix command name display clicmd: Fix autocomplete for path arguments host: virtualmedia mount: Fix help formatting bmc: config syslog: Specify TCP proto in help Alexander Filippov (16): bmc/datetime/ntpconfig: add interface support bmc/syslog: add implementation user: multiple deletion support health: logs: Use dreport instead of journalctl health: logs: export: remove obsolete bundles health: logs: fix error on show hostlogger Fix misspelling Fix 2-level subcommands execution vegman: bmc datetime set: fix execution vegman: bmc power: use hostpwrctl Improve health logs clear command vegman: led: fix ID LED state determination vegman: datetime: Remove manual settings time vegman: datetime: Masquerade manual sync method health: log: journalcopy dreport plugin support health: logs: clean: fix cleaning order Andrei Kartashev (1): show error when no groups match regexp Igor Kononenko (6): vegman: Support virtual media and NBD client remotemedia: Add the NBD export name flag bmc: remoteimage: Remove CLI command host: Update the 'virtualmedia' command host: virtualmedia: Support the HTTP protocol bmc info version: Only show active versions Ivan Mikhaylov (1): vegman: add audit logs for user actions v.mitrofanov (3): host: Add 'config default' command Refactor help formatting host: Add 'nmi' command Change-Id: Ic2dee1c43c1662c2355ad3bdd9b96451f3a9f212 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-28obmc-yadro-fwupdate: srcrev bump f141bdf92f..0e3c0714f3Alexander Filippov1-2/+1
Alexander Filippov (11): reboot-guard: Fix misspelling Share the chassis power state checking meson.build: make dependencies Add BIOS updater implementation intel: Skip reboot if not BMC update was done. Fix misspelling skip unusable updaters vegman/bios: hack for PCA9698 on Vegman rev-E. image_intel: suppress warning on reset Hide tool from unprivileged user split machine type and signature checks Andrei Kartashev (1): make util paths configurable in compile time Artem Senichev (4): Preserve BIOS settings during update Preserve 10GBE region during BIOS update Add handlers for NVRAM and 10GBE partitions bios: Never overwrite 10GBE region Igor Kononenko (1): bios-update:after-install: Reset bios_active to NA Change-Id: Ie6eac6f3b0a9d2f32192413983f5218804865697 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-28obmc-yadro-lssensors: srcrev bump f76bf429d2..39c37655bbAlexander Filippov1-1/+1
Alexander Filippov (1): Hide tool from unprivileged user Andrei Kartashev (2): Check if sensor value valid Print avail/functional in Status column Change-Id: I3cf35b9fdaaa323da8470b4b27039c550228527f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-28obmc-yadro-netconfig: srcrev bump b300465732..1d99186802Alexander Filippov1-1/+1
Alexander Amelkin (5): Merge pull request #2 from YADRO-KNS/feature/ntp-and-dns-per-iface help: Don't display banner in CLI mode Add support for `help` as the first arg of command Add --cli-hide-cmd option Refix c0b47545069ed4a64bf1e1434315657d64ab3c5d Alexander Filippov (9): Add lists of DNS and NTP per interface Fix dhcp settings Fix DNS list modification multiple DNS and NTP servers in one call Remove gateway from IP adding call ip add/del: Make the network mask optional Improve IP comparison ntp: check given hostname Hide tool from unprivileged user Kirill Pakhomov (2): vlan del: catch exception and display error Merge pull request #11 from YADRO-KNS/bugfix/BBMC-372 Change-Id: Ib2a27383f2dadc2033cc62129b75a8b9413280e5 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-21meta-yadro: phophor-ipmi-host: fix mailbox patchAlexander Filippov1-33/+32
This commit adapts `0002-Add-support-for-boot-initiator-mailbox.patch` and fixes build. Change-Id: I7a89d66a14862eab26662c97b43c3de7f0b67c8f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-02-01obmc-yadro-backup: srcrev bump dd29c8bd..1cb990bbAlexander Filippov1-1/+1
Artem Senichev (1): Add handling of unused result values Change-Id: I9420560b36ecaf2ad854cdb36719625dad60c721 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-01-20obmc-yadro-cli: srcrev bump 9457a085c8..29768c2fb7Artem Senichev1-1/+1
Artem Senichev (1): health/export: Fix invalid journalctl arguments (From meta-yadro rev: aead35a36c65b65968b1dfdf9fbc8f0a19836d19) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I8a0fe60134274ff08ce69c5606142d380689615c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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 Filippov1-2/+14
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-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-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-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-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-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-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-0/+31
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-10meta-yadro: share boot initiator mailbox supportIvan Mikhaylov5-0/+653
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-03meta-nicole: Add console tool for backup/restoreArtem Senichev1-0/+16
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-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 Senichev1-0/+19
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-0/+22
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-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-04-21meta-yadro: add obmc-yadro-fwupdate packageAlexander Filippov1-0/+22
fwupdate is a command line tool for update firmware. (From meta-yadro rev: 2c9c5dfb227f695d50a8f3c950b1c0a8d3837fa5) Change-Id: I64633572b45a4793ee0a41a571c4e251ba221317 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>