Age | Commit message (Collapse) | Author | Files | Lines |
|
phosphor-defaults.inc now automatically inherits extrausers and
configures the default root/0penBmc account, so individual platforms no
longer need to specify either explicitly.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ic2b725f0eaadfafef67069449497e57438fa0fba
|
|
This enables drivers for some I2C devices used on different VEGMAN
boards.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I46306c570d1e759f520d6d59eefc6bac8f451059
|
|
There was a leftover in the script, clean it up.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: Ie6eb88957260540d5f1654796d77140f58472732
|
|
phosphor-ipmi-host was recently converted from autotools to meson,
but we miss the moment. Update recipe according new build flags.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I061f3093f9fe482328e4499c80d74b1a7112e019
|
|
Add CLI user shell as well as lssensors, lsinventory and netconfig tools
to the image.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I10f7683e15ab067e373cbed140eda669c2f185bd
|
|
The phosphor-ipmi-host has two implemetations of SDR: static and
dynamic. Static SDR implementation requires us to set all coefs manually
for all sensors in the system, while dynamic implementation doesn't
support discrete sensors.
Enable support for mixed mode where both static and dynamic
implementations work at the same time.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I27df9e083f0bd816b9a02515e75a3dea69ea20bb
|
|
Harvey.Wu (2):
dbus-sdr: fix SEL record Generator ID to fit SPEC
dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable
Jian Zhang (1):
Add data types to Value to extend setDbusProperty
Vernon Mauery (1):
fix header install
Willy Tu (4):
cleanup: Remove all warning errors for the Meson build support
build: Add meson build for phosphor-host-ipmi
build: move all shared_library/module to library with version suffix
build: Remove dynamicsensor library if it is not enabled
Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Remove "-G priv-admin" to allow ssh login for non-admin users (user,
operator, tech).
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: Ib0600ffccfedba7c632562b9421a30776ffa6f28
|
|
This brings a set of the unit-files to make `phosphor-watchdog`
working properly.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Change-Id: I9763bf7e87753bfd2b9c7c05295dddd18e6f6c48
|
|
Add smbios-mdr daemon to the image. This only parse smbios image binary
which should be delivered to BMC filesystem using some other software
(via IPMI in our case).
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I3a18879630ccbe517030b6f803a6ae5fe42dceac
|
|
Setup ipmi stack for Yadro VEGMAN machines.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I13f5e51dd5b7ac169a71ee046ad61dbfa2bffe9b
|
|
This brings EntityManager sevice to the image.
This also brings dbus-sensors daemons to provide sensors based on EM
configuration.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I4d41f3b8bc98e8859cbfe33a220e79e78e8bbee5
|
|
Add main machine features for VEGMAN: power manager, entity manager,
ipmi and so on.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I8a8fb30b03329eeaadc56ec7031d2704861f85ee
|
|
default-fru-vegman recipe provides script to apply hardware configuration
on first boot based on FRU EEPROM content.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I7a17c519259e4bb56a2a00900894ffdbd4edd2f6
|
|
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>
|