Age | Commit message (Collapse) | Author | Files | Lines |
|
The latest Yocto doesn't give us "pkgconfig" for free in many cases.
This repository uses 'PKG_CHECK_MODULES', which relies on pkgconfig.
Add the inherit so that it is available in the configure step.
Change-Id: I1bcd78d11ec01f7724e3d22ea6812dfc223f2c9c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Manojkiran Eda (1):
Add OWNERS file
Change-Id: I8c62e878ce13a0c153f9c794b7b4f2029e488909
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
catch exceptions as const
Change-Id: Ib806d1727d92a47a94902eaf8efd1f8307399ef6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
|
|
Current realization of a boot override feature has several downsides
which are described in detail in the mailing list letter
https://lists.ozlabs.org/pipermail/openbmc/2021-May/026533.html
Redesign interfaces under '/xyz/openbmc_project/control/host0/boot'
object to solve all the problems, in particular:
- add 'Enable' interface under '/xyz/openbmc_project/control/host0/boot'
path to store overall boot override enabled state,
- drop BootSource/BootMode/BootType interfaces from the
'/xyz/openbmc_project/control/host0/boot/one_time' object. In the new
design there is no need to store such properties twice,
- by default make override feature disabled and permanent.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Ie59ba703a6f39f8e1d4934cce89cbe8cd5a826e4
|
|
Add 'boot_type' package configuration parameter that is used to add
support for the Legacy/EFI boot override selector for systems with
x86 host.
This setting is designed for selection between
- "PC compatible" boot (legacy)
- Extensible Firmware Interface Boot (EFI)
In the presence of a 'boot_type' parameter the default value for the
BootType dbus interface is set to EFI boot.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I2d75960f0a3350aa4d464179d4ee7a1758e09d72
|
|
Matt Spinler (1):
Use full name for enum default values
Change-Id: Ib48c490bef372f3614357a699f9c7f555e174c87
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
Use sdbus++ python library for name conversion
Change-Id: I6537b659abfc63a429ebbe61b965ea0ab2f9841a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Change I767ff842c37b183f925d7add87e96bb850092810 will now use
the sdbus++ python library in order to form property names.
Add this as a dependency in the recipe.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icc5806827dc826a51552cfcd54ea0c49da07f654
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I4c12837a10af1d998dbe67a8fea6769ed68f81b7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The following commit introduced a new enum value for power restore:
https://github.com/openbmc/phosphor-dbus-interfaces/commit/66b591e165b53a80e431a543aa8c8e48beba585f
This new "None" value indicates to the power restore logic that the
one_time setting should be ignored. Make this the default so one_time is
ignored until something changes it.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I47784937038ee76982fede0dd53664f6f4d0181b
|
|
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]
Tested: The witherspoon image builds without the warnings.
Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
Change-Id: Ic3c71234abfcac8b26478bc32808e3bec8bba810
|
|
IBM has a use case where it wishes to utilize the power-restore
functionality for a firmware update path. A firmware update
is initiated through the host operating system. Once it has completed
writing the BMC flash, the host wants to initiated a power off of the
system, a reboot of the BMC, and then an automatic power on of the host.
Instead of writing special software to handle this automatic boot of the
host after the BMC has rebooted, lets utilize a one_time setting within
the power-restore logic.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I4964004e3b1827853ff00437172196e4fbbfcc46
|
|
Deepak Kodihalli (1):
MAINTAINERS: Change Deepak's email id
(From meta-phosphor rev: 249d0365fe834d90f531421698bfa40655bff480)
Change-Id: Ic963c4e97b3690c4671bad4a71ac73b71d4ac5f4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
IBM has a use case where boots of a system can be done utilizing a debug
tool called istep. This tool does not utilize the normal systemd targets
to boot the system, but instead launches each individual step required
to boot the system. This allows fine grained control of the boot and the
ability to easily debug issues.
When booting a system using this tool, it is required that the automated
reboot policy be off. The issue is that istep can easily set AutoReboot
to false when it is used, but there is no way for it to know when to reset
it to true (i.e. when the user is done).
AutoReboot is a user setting and is something that must stay persistent
based on the users selection. It should not be moved back and forth by
software based on different debug modes.
The solution proposed here is to make a one-time AutoReboot property.
Boot debug tools like istep can utilize this temporary property and be
confident it will be reset whenever the user powers down their system or
stops their host.
Software will first look at this new one-time reboot property. If false
then auto reboots will be disabled. If the temporary reboot property is
true then software will look at the user-based AutoReboot property for
direction.
This new property will have no impact to existing software unless it
gets set and something looks at it. The thought is this could be useful
to more then IBM, so proposing it initially in meta-phosphor.
(From meta-phosphor rev: 7d29e7a2c135e91b222c57c66bb7ca61aae6398e)
Change-Id: I7c542469135061c5b5017b87cffc92aa6b8794c4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
These pointless wrappers don't do anything other than obfuscate intent
to readers that have experience with bitbake metadata.
(From meta-phosphor rev: 536cee986517bf14226feb2f412928bc1904f950)
Change-Id: I92b12b6d675acb65d67f442c6331560cb20c88e6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
A number of packages are depending both on p-d-i and p-d-i-native,
for seemingly no reason. Remove excess DEPENDS on p-d-i-native.
(From meta-phosphor rev: 9a31d9bbf8d50516da9efd9dac6e5144659a84ba)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iab13f2246c1196a59d0b5852a9801c4cf7de88fc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
George Liu (1):
Remove TimeOwner interface from settings.yaml
(From meta-phosphor rev: 480bdb05fea3fa0d72d0e0c666baa97263fc29db)
Change-Id: I0b15d0d9bebb4948da400ebd5a2049dd7e45d878
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The TimeOwner feature is confusing from feedback from the community and
we should be removed.
(From meta-phosphor rev: 4cd09c85f3d168cef02d2a020ef93b718f3a3456)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I5ceff148059337df1c41cb54b2bb3080df1aca69
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
See the following design doc for more info:
https://github.com/openbmc/docs/blob/master/designs/fail-boot-on-hw-error.md
The new D-Bus interface is defined here:
https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Logging/Settings.interface.yaml
(From meta-phosphor rev: 6f5102fa5e2adc8451aa81ad08309f08fbf131b4)
Change-Id: Idc6f2ae909216222dc8b1ac25ccc959c95abe347
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: f0497ff5675e265fa0201d0cf06b0552a720e227)
Change-Id: If055b00987bccbd9cea519dc38b5c3cd92521451
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
And convert recipe to python3.
Patrick Williams (3):
python2 to python3 conversion
MAINTAINERS: update Deepak's email address
delete deprecated python scripts
(From meta-phosphor rev: afc2415faf43876cd80ed9a93229a7e7e2499b31)
Change-Id: I62f4df660fc589a084f8d48effb6cfe2d82ae4da
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
sdbusplus has changed the package layout so that sdbusplus-native and
sdbus++-native are now ${PYTHON_PN}-sdbus++-native. Update recipes
that need to use sdbus++ (or its associated python modules) or remove
the DEPENDS if it is no longer necessary.
(From meta-phosphor rev: 2bebd1247cb78567441158b152c7a13f476afd4f)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I30f9c2220da9145ef0a7067e067aed1396d8b40d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change the default TimeOwner from BMC to Both in phosphor-settings.
Tested: tested on fp5280g2. The default Timer owner has changed to Both.
(From meta-phosphor rev: 45efbb4ae2d518abae1ba8f6dd7ca9278ee3ed69)
Signed-off-by: Albert Zhang <zhanghaodi@inspur.com>
Change-Id: I531a15cbd5e87aaf5d481f073ea884c412a93ccb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Kun Yi (1):
Makefile.am: Fix mixed tabs and spaces
(From meta-phosphor rev: d429dc27127aec05bc812fa79f45a0ea35e72eb7)
Change-Id: I770f31f193a4ab1496be79ba64d6d69da22bf3b3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
PHOSPHORBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-phosphor rev: a1cee09419cb1467c3d2b7bf996b40089f0d06f4)
Change-Id: If136d24638a8022671988cf0a01620e7fffc545f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Setting a default value for ApplyTime property which can control when
to apply the newly uploaded software image. The ApplyTime property is
defined in the UpdateService redfish schema. This property will be hosted
from phosphor-settingsd with a default value as OnReset.
Tested: Verified that the property is getting created with the expected
default value as OnReset.
busctl get-property xyz.openbmc_project.Settings
/xyz/openbmc_project/software/apply_time
xyz.openbmc_project.Software.ApplyTime RequestedApplyTimes
"xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes.OnReset"
(From meta-phosphor rev: 634e8d0c70ad2c7732e13439fcbca569457919a5)
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Iadb744fe4c1db39fb758758f47b64205be0110af
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
A number of corequisites exist so squashing these all into one patch.
meta-ingrasys - refresh master bc513127f4..67bcaf389f
meta-hxt - refresh master 86a4df514f..8fe0d38bbb
meta-phosphor - refresh master 06c09d7cce..df6ddae3d2
meta-quanta - refresh master 4f126361a1..53f3025271
Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
build: install into bin instead of sbin
(From meta-phosphor rev: c36d2e7bd5ba942d9d46369e5059c9192c936223)
Change-Id: I6b65393e779004259ad88bd8558f3b7b03bd679e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Out of the box bitbake examines built applications, automatically adds
runtime dependencies and thus ensures any library packages dependencies
are automatically added to images, sdks, etc. There is no need to list
them explicitly in a recipe.
Dependencies change over time, and listing them explicitly is likely
prone to errors - the net effect being unnecessary shared library
packages being installed into images.
Consult
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS
for information on when to use explicit runtime dependencies.
(From meta-phosphor rev: 26873c99d30b55e21a920c9851f21c3e2eab19f7)
Change-Id: I38640d75a2d834c07d45ddcdb0162f1a23f848d9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
James Feist (1):
Add array support for defauts
(From meta-phosphor rev: faf907b524c8e0526e043be3a79b291e49758660)
Change-Id: I95f6574daa293789b226b625342a0df891339186
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
build: pkg anti-pattern: use defaults
(From meta-phosphor rev: a479486f8b2c57e1cb8a0cd51e4d6f5cbca3f492)
Change-Id: Ia425284532f75ce37fd20963710b4e07692b2f4c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update meta-phosphor to master HEAD.
Patrick Venture (52):
meta-phosphor: obmc-console: set LICENSE field
meta-phosphor: dbus-interfaces: set LICENSE field
meta-phosphor: rest-dbus: set LICENSE field
meta-phosphor: slpd-lite: set LICENSE field
meta-phosphor: ipmi-host: set LICENSE field
meta-phosphor: ipmi-net: set LICENSE field
meta-phosphor: network: inarp: set LICENSE field
meta-phosphor: network: set LICENSE field
meta-phosphor: logging: set LICENSE field
meta-phosphor: ipmi-tool: fixup LICENSE
meta-phosphor: clear-once: set LICENSE field
meta-phosphor: preinit-mounts: set LICENSE field
meta-phosphor: systemd: obmc-targets: set LICENSE field
meta-phosphor: dbus: perms: set LICENSE field
meta-phosphor: dbus-interfaces-mapper-config-native: set LICENSE field
meta-phosphor: dbus-monitor-config-native: set LICENSE field
meta-phosphor: legacy-namespace-mapper-config-native: set LICENSE field
meta-phosphor: mapper-config-native: set LICENSE field
meta-phosphor: obmc-host-failure-reboots: set LICENSE field
meta-phosphor: fan-control-events-config-native: set LICENSE field
meta-phosphor: fan-control-fan-config-native: set LICENSE field
meta-phosphor: fan-control-zone-conditions-config-native: set LICENSE field
meta-phosphor: fan-control-zone-config-native: set LICENSE field
meta-phosphor: fan-monitor-config-native: set LICENSE field
meta-phosphor: fan-presence-config-native: set LICENSE field
meta-phosphor: image-signing: set LICENSE field
meta-phosphor: insecure-signing-key-native: set LICENSE field
meta-phosphor: inventory-manager-assettag-native: set LICENSE field
meta-phosphor: inventory-manager-config-native: set LICENSE field
meta-phosphor: ipmi-channel-inventory-native: set LICENSE field
meta-phosphor: ipmi-config: set LICENSE field
meta-phosphor: ipmi-fru-merge-config-native: set LICENSE field
meta-phosphor: ipmi-fru-properties-native: set LICENSE field
meta-phosphor: ipmi-fru-read-bmc-inventory-native: set LICENSE field
meta-phosphor: ipmi-fru-read-not-sent-by-host-inventory-native: set LICENSE field
meta-phosphor: ipmi-fru-whitelist-native: set LICENSE field
meta-phosphor: ipmi-inventory-sel-native: set LICENSE field
meta-phosphor: ipmi-sensor-config-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-native: set LICENSE field
meta-phosphor: logging-callouts-example-native: set LICENSE field
meta-phosphor: logging-error-logs-native: set LICENSE field
meta-phosphor: settings-defaults-native: set LICENSE field
meta-phosphor: fan-presence-mrw-native: set LICENSE field
meta-phosphor: fan-control-fan-config-mrw-native: set LICENSE field
meta-phosphor: ipmi-fru-properties-mrw-native: set LICENSE field
meta-phosphor: ipmi-inventory-sel-mrw-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-mrw-config-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-mrw-native: set LICENSE field
meta-phosphor: led-manager-config-mrw-native: set LICENSE field
meta-phosphor: logging-callouts-mrw-native: set LICENSE field
meta-phosphor: hwmon-config-mrw: set LICENSE field
meta-phosphor: settings-read-settings-mrw-native: set LICENSE field
Change-Id: Ibe919c3f1a748fae67b45ff6908a236b08902450
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
Add clang-format to repo
(From meta-phosphor rev: 3026b0fa5a69f302c0c55bfc68e949d5633fe7be)
Change-Id: Ic1961cf67e81d7b1c41fe6e21f43874205e0f198
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Fixup the PV in phosphor-settings-manager_git.bb
(From meta-phosphor rev: 5c24f79395a693bd701dabc49732b38a9488af43)
Change-Id: I57ba832c186aa04fbd30531296e5fff0363a4cc5
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
gitignore: add autotools files to list
(From meta-phosphor rev: ed46b40012331a995ccfe18e6f00f3db23abc675)
Change-Id: I4cc9ce4302f51e54a5fb9700fde086295956ba0d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
A cereal recipe was added recently to meta-openembedded. Use it so we
can deprecate our version of it.
(From meta-phosphor rev: cc51cd9910f3480cf4d2e0bff8aa6b95162e5bc1)
Change-Id: I7746dbd1eda3011b870b85770092b2d020800af7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename phosphor-settings-manager.bb to phosphor-settings-manager_git.bb
per OE norms.
(From meta-phosphor rev: 4fce35f58137208209adbc46e78be74178dfd517)
Change-Id: I9d6da2a5c0384da105a32ed484ae7eda49455652
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Vernon Mauery (1):
phosphor-settingsd: use c++17
(From meta-phosphor rev: 9b551f451ab9d876566a164f112b115810b0ed37)
Change-Id: Id36e216fa8a50ce2b1c66c97fbec7511f8873ba9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
It may be desirable for the rest server implementation to log rest calls
for audit purposes, and further, it is desirable for a user to turn this
feature on/off.
Add a D-Bus setting for the same, which a rest server can look up and
turn on logging, if required. Turn logging off, by default.
Commit 6e1ca53 in the phosphor-rest-server implements logging. A
subsequent commit will control logging based on this setting.
(From meta-phosphor rev: dcc1bdb90e78264ad1a30d4cfc62dafe3fb1652d)
Change-Id: I183986116e9472c503bc06bb3d679a8de82a3a8f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add the power supply derating factor property to the settings
interface with a default value of 90 (reference the variable
POWER_SUPPLY_DERATING_FACTOR in openbmc/openbmc).
This setting will be used by IPMI to get the derating factor
value when the Host requests it via a get sensor command.
Tested: Verified the new property was created with its default value.
(From meta-phosphor rev: 5dce67a520d2096ea91eb55734de6ba0e9a718f7)
Change-Id: Ia1e2ce66014bf4d7d4bf1ac9780d0ab11a60988f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adopt a more conventional directory hierarchy. meta-phosphor is still
a _long_ way from suitable for hosting on yoctoproject.org but things
like this don't help.
(From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b)
Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|