Age | Commit message (Collapse) | Author | Files | Lines |
|
This drop adds socket-id for first console. This was left out before
but with the new design this parameter is required and enforced by
obmc-console code. It is decided to set "socket-id = console0"
initially because that is the current path used by bmcweb but in future
you can change this value to whatever is appropriate.
The console information is now available through the DBUS interface.
Each console server register it's object path on DBUS. The leaf node of
the object path is used to create a console path. For example in the
following console0 the leaf node "console0" is used to make up the
console path and the GUI will use console path "/console/console0" to
connect to the console.
busctl tree xyz.openbmc_project.Console.console0
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/console
`-/xyz/openbmc_project/console/console0
Here is a discord thread where new design was discussed.
https://discord.com/channels/775381525260664832/1083551792094249051
Tested:
Tested on the rainier system.
Related commits:
1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486
2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496
3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525
Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe
Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I554299542d5a5c1125ab4a9a152a28937052a128
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
|
|
Big cleanups to the phosphor-mapper/phosphor-objmgr recipe.
- Remove all "mapper-config-native" constructs as the underlying
repository has no such support.
- Remove all mapper-related bbclasses as they are no longer relevant.
- Remove environment support in service file as the mapper executable
no longer supports any arguments.
- Greatly simplify the 'libmapper' packaging to avoid stray python
in the recipe.
- Update all recipes to use `DEPENDS += "libmapper"` where appropriate
for clarity if they use libmapper.
- Rename the recipe from phosphor-mapper to phosphor-objmgr to match
the repository name, which allows simpler devtool invocations.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5a64e2feddd1a7919813e007411f9c28b6c9a330
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
We also need to move the conf-notes.txt files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
|
|
The latest poky commit is requiring us to have all of
our template configs in a subdirectory instead of directly in
the `conf` directory. Without this we end up with errors during
setup like:
```
Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name
```
Fix this by moving all of our template files into the 'default'
template subdirectory (following the pattern of poky) and modifying
`setup` as necessary to follow.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
|
|
The build option of Intel cpu sensor service in dbus-sensors
repository is changed from "cpusensor" to "intelcpusensor". Update the
build option in openbmc source to match with that change.
dbus-sensors: srcrev bump 0fe0229497..255da6b419
Thu Nguyen (1):
cpusensor: Change cpusensor to intelcpusensor
Tested:
1. No build errors.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Ib31f7ce3dd7d5ed1bb226eb991459ec0bf233973
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
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>
|