Age | Commit message (Collapse) | Author | Files | Lines |
|
Add obmc-console configuration for Yadro VEGMAN machines
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I392a6621f1588833d3aaf6187bc277ea661d416f
|
|
This brings LEDs description for phosphor-led-manager. This
configuration only describes LED groups.
Real LED control will be introduced in later commits with
phosphor-dbus-monitor configuration once we set other required
components.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I74b9f86b9d2c43d8b4f5728f330fe06b19b1e08a
|
|
Yocto now requires the files listed within `CONFFILES` also be included
to `FILES`.
Change-Id: I48617ee860b6eda06ac4aaa07b9b1bb7b368b5af
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
This commit rebases our local patch and fixes the build.
Change-Id: I296439215783ea846efc2ae9ef75be4ce4fd0247
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
This was added with cde0f094f for libseccomp, but shortly after that
upstream moved libseccomp from meta-security to core (241c7d2e6). As
such, meta-security is no longer used or required.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
|
|
Per [1][2], Yocto is starting to deprecate ABORT and has replaced
the "ABORT" action in BB_DISKMON_DIRS entries with "HALT".
1. https://wiki.yoctoproject.org/wiki/Inclusive_language
2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5
Tested:
Built obmc-phosphor-image successfully and eliminate the following
warnings:
```
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to
"HALT", update configuration
```
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
|
|
* Deprecate N-1 release (hardknott).
* Enable N+1 release (kirkstone).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
|
|
The MAINTAINERS files are no longer used and are out of date (references
to IRC still exist in most of them). Remove them and rely on the OWNERS
exclusively.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0f5d2719ad97e218ce03c4503efe1b1c92ac455e
|
|
Alexander Filippov (1):
openssl: stop using deprecated read_RSAPublicKey
Change-Id: I1fd482a559840771e019dd6079e8f6d5795d6c6f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Per [1], Yocto is going to start requiring both branch names and
`protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to
automatically fix our URIs.
1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
|
|
This sets u-boot to the package containing the v2016.07-aspeed-openbmc
branch. This ensures there will be no change if the default changes in
the future.
Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Introduce new meta-layer for Yadro VEGMAN servers family.
This brings initial image build information: layer meta-data, kernel
configuration and basic software set.
Change-Id: Iad21dc55dab0803ee7476f91861c6a07e9838e6d
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
|
|
Alexander Amelkin (4):
Fix alignment for log sensor names
Add CLI mode
Fix error message for invalid sensor type
Fix a typo in commit aabb2cf2b4fcbc09
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I2075b55bcf9bafd5f94587253916e9b9fcf9210a
|
|
Alexander Filippov (3):
Add remote host support
use any inventory managers
replace json-c with nlohmann/json
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I7b7b9214c909e6b0d147d17339c73c203e78fcb3
|
|
Andrei Kartashev (1):
image_intel: use 'bootside' u-boot var
Artem Senichev (5):
Add integration with UEFI variables service
bios: Use YADRO specific path for D-Bus interface
Revert "bios: Use YADRO specific path for D-Bus interface"
Revert "Add integration with UEFI variables service"
vegman: Save/restore MAC addresses of x722
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: Ifd49ddf0e2eb8a7f586cdbca7feb1455a316d993
|
|
Alexander Amelkin (6):
host: Fix help wording and formatting
Fix `health sensors` help
Refix 480e20899: Fix double execution of cmds
host config default: Remove extra audit
diagnostics intrusion: fix/refactor
diagnostics intrusion: Add audit logging
Alexander Filippov (6):
vegman: health: logs: clean: remove rotated logs
vegman: heath: logs: clean: remove obsolete logs
vegman: bmc: add snmp subcommand
Prevent modification of admin and current user
vegman: inventory: use lsinventory
user: refix preventing rules
Artem Senichev (1):
Add check for invalid options in BMC/BIOS update
Igor Kononenko (4):
host virtualmedia: Add more protocols
host virtualmedia: Fix RO/RW modes
host virtualmedia: Fix mount/umount output
host:vm: Support to direct NBD external images
Ivan Mikhaylov (3):
vegman: intrusion: add intrusion control
vegman: led: led refactoring
vegman: audit handling change
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I21a8118ec88e0411c42adf2855cdbe96f938cedd
|
|
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required.
As it said by Yocto documentation it can be used by `Hob`
https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE
that already removed since Yocto-2.1
https://www.yoctoproject.org/tools-resources/projects/hob
Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Upstream yocto made a change recently that brought to light a bug in
some of our recipes. If your meson makefiles utilize the dependency()
function then the recipe must also include pkgconfig.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ic6813d3ce906f68e7fec1754b4cc4efddae09ffb
|
|
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>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
|
|
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the
choice is functionally arbitrary for image generation but control over
the package format becomes important if we want to:
1. Include runtime package management functionality in the firmware image
2. Mess about with the packages on the build system
With respect to 1 the IPK format and opkg (an ipk package manager) are
designed for embedded systems[1] - by contrast to RPMs have heavier
dependencies and a greater impact on the size and complexity of the
firmware image.
Regarding 2, the embedded nature and the need for opkg to work without
much fuss leads to a lower configuration barrier by comparison to RPMs.
With ipk it becomes possible to reuse the packages built during image
preparation for core analysis without needing to generate an SDK:
```
$ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib
$ MY_DEBUG_ROOT=tmp/rootfs-debug
$ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \
-o $MY_DEBUG_ROOT \
update
$ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \
-o $MY_DEBUG_ROOT \
install dbus-sensors dbus-sensors-dbg
$ gdb-multiarch
(gdb) set solib-absolute-prefix .../tmp/rootfs-debug
(gdb) add-auto-load-safe-path .../tmp/rootfs-debug
(gdb) file tmp/rootfs-debug/usr/bin/nvmesensor
(gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000
Core was generated by `/usr/bin/nvmesensor'.
Program terminated with signal SIGABRT, Aborted.
pthread_kill.c:45
45 pthread_kill.c: No such file or directory.
(gdb) bt
pthread_kill.c:45
../sysdeps/posix/raise.c:26
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
"xyz.openbmc_project.NVMeSensor", this=0x488f04) at
/usr/include/sdbusplus/bus.hpp:234
../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159
(gdb)
```
This approach documented in the Poky Reference Manual:
https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins
Switch all machines to IPK to align the debugging experience with
upstream's documentation and to facilitate efficient use of packaged
software at runtime.
[1] https://openwrt.org/docs/guide-user/additional-software/opkg
Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
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>
|
|
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
|
|
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current
and the upcoming. Remove 'gatesgarth' is it is now 2 releases back.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This commit fixes build by correcting default value of mailbox settings.
Change-Id: I5df137ca7dc8f8008d49a0cd010c14691dc6754b
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
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>
|
|
VESNIN is OpenPOWERv8 based and obsolete.
Last released build is based on OpenBMC v2.8
We don't plan to update it to the latest OpenBMC revisions.
Change-Id: Ifb6223e5a454bcb320bd0c2f3461b804a9ad829c
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
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>
|
|
This is apparently not actually working anymore and is removed in the
next poky update.
Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
Alexander Filippov (1)
Fix build with OpenBMC 2.10.0-dev
Change-Id: Iee1968deb5c72c3559cbf629742af03bf29bfae2
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Artem Senichev (1):
Add handling of unused result values
Change-Id: I9420560b36ecaf2ad854cdb36719625dad60c721
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Add a missing variable initialization that resulted
in an error during release builds
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Change-Id: Id938ecb17f2a7b37816b4ff72c066ed6581f4577
|
|
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>
|
|
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379
for details about why this is necessary.
(From meta-yadro rev: 86e314b458ea73f2beb84d1da315a1e17a69e04e)
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: Ifc0ead39f1b8292a7c3b72c7cb29791efb4d3c66
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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 dunfell (previous).
(From meta-yadro rev: a5126fbe78b18fbe1e52356fb7500cf528e74a65)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f89933f2d3892323400e7acad213a2a1e0c09eb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|