| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I0bd40c9c583053864b312b4ed60f084ee29152ea
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I1016c00857b49efdcaad9915e048fcd8cd2c0497
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I6031553bbeaf92e291f0785f104d6757d8e73f90
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I3ab604d0c77177e015278170abf4e95b5b1c1d8a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I607117ca3cf54afe689129d18bab150c2e9ad2a6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Idb6b95c63804552ae09704f17e42d2ef9536d821
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia537898adb0a0854a09174caed7ab3c948de9d6a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I78b894d5b27ad21de0680eadfa95069f718baf68
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I081c22a9ae04a34c477b81c7eb138a460b591aca
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
Initial phosphor-pid-control recipe. This installs the swampd daemon.
It is expected that each platform will provide their own start-up
service at present because of current dependencies on dbus.
Change-Id: I5ea4b31a99580b42f33488878cc1ec97dd94e582
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
| |
Change-Id: I76be6b18c41cd1955a43abb027f8d673bd37accc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9317e6271faed3dfdfb99e2a68cc4d1fc44459cd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
ipmitool recently got a new default interface (dbus). This bumps the
recipe to use that.
Change-Id: Idb2b0ebb37f66b2dde10d6fb869bc05d3a77e14d
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Typical upstream layers have a -layer suffix. Rename
from obmc-phosphor to phosphor-layer to match this de-facto
standard. Some existing layers that use this convention
include:
openembedded-layer
networking-layer
perl-layer
virtualization-layer
Change-Id: I5df5273b7ef4a0d8742b74a9b1ecd680a8598b04
Tested: Built a palmetto image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Add a missing runtime dependency on base-utils.
Found the missing dependency on the shell while comparing initfs to
OE-Core's initrdscripts/initramfs-framework.
Change-Id: Ia43495245f37e7f48c5508ee42540abea7ab0659
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
initfs is a bunch of shell scripts and therefor allarch.
Set accordingly.
Change-Id: Iaf707830c476c25d3dafabcbb6eec710cfb8bb50
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
obmc-phosphor-license.bbclass is deprecated. Replace with
a real license indicator and checksum.
Change-Id: I6cf2732a661cf436eb233cd350ee470311b161bb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
Move initfs from initfs to initrdscripts to match OE-Core's
placement of initramfs content recipes.
Change-Id: Ic30cda7ca55070f1a8754824e76ab001fd55037b
Tested: Booted QEMU palmetto image.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Boost.Process library is used to run linux commands related
to user management as child processes.
Change-Id: I320c8562f0dbb7c27cc17c0b4b433212c9cba2dc
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent building unbootable firmware images.
Resolves: openbmc/openbmc#3314
Tested: I checked builds for `palmetto` and `romulus`.
To reproduce the problem I appended a big file to initramfs by modify
`meta-phosphor/common/recipes-phosphor/initfs/obmc-phosphor-initfs.bb`.
The building process failed with message about too large initramfs image.
Change-Id: I0176e9c47a9cb26ce8ba588794e681b6426d567d
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
|
|
|
| |
Change-Id: I477ee7ba4cd5e9f67db56d40a276fb77065693ee
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: If2018249fb2c50435038895d80703685368a19a6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I1292844056ec93b298e2024c21d96ef860365acd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
The binaries of the shadow package like useradd, groupadd is needed
for the user management functionality.
Change-Id: Idfe506793ac8f452ad4de5589f0de00efaf4ce3b
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I6351ff993a10a9c19822055172d20992484a9483
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I37fbd9e2ce95c6eb6beac237565343da44e974a9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I860ca9b97f3497d0e91408dbe9a8f1358aadb3c4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
Add privilege groups as needed by
user management.
Change-Id: I5e7204f8e334ef19d4999147f9e269061561f587
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
|
|
|
| |
Change-Id: Ia5f6ef2e77d4042147b3e13dd11e86318abf2045
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
systemd recently changed the default in their recipe
to forward all messages on to syslog. OpenBMC runs in
a constrained environment so the redundancy of having
the logs in both journald and syslog does not make sense.
Tested: Verified journal no longer tries to forward
messgages on to syslog.
Resolves openbmc/openbmc#3299
Change-Id: Ic7a8e488b60e984670ab4de666f820eeffe39afb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBMC uses busybox which uses klogd which causes duplicate
kernel messages to show up in the journal due to syslog.
This override prevents journald from reading from kmsg so
only one instance of the kernel messages will show up in
journald instead of the two of each currently put in the
journal
Tested: Verified only one instance of kernel messages were
in the journal.
Resolves openbmc/openbmc#2720
Change-Id: I434f48159990e7b068103e5c11ac3c9431112199
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Phosphor specific overrides to systemd should be stored
within its own recipe and pulled in via the phosphor layer.
This helps distinguish systemd specific overrides with
phosphor overrides.
Tested: Verified service-restart-policy.conf was still
pulled in as expected in witherspoon QEMU
Change-Id: I32110fc2edd3abd2bb0008c63dd4ad7828b762b8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ibcbd864384683e28722ee25892ecb7c1e74eae9c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id2082ee2db26d75aa6fe73c3e558f490c16c5c7c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
| |
Initially interested in bmcweb for its redfish support
Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I21f1630149cb0361b19e59986e0be97016a124b7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mapper has an implicit dependency on dbus.socket but
not on dbus.service. It appears an explicit dependency
is required to ensure the shutdown happens correctly.
Testing: Prior to this commit you would see this on a reboot:
Jul 20 15:01:34 witherspoon systemd[1]: Stopping D-Bus System MessageBus...
Jul 20 15:01:36 witherspoon systemd[1]: Stopped D-Bus System MessageBus.
Jul 20 15:01:37 witherspoon systemd[1]: xyz.openbmc_project.ObjectMapper.service: Main process exited,code=exited, status=1/FAILURE
Jul 20 15:01:37 witherspoon systemd[1]: xyz.openbmc_project.ObjectMapper.service: Failed with result'exit-code'.
Jul 20 15:01:41 witherspoon systemd[1]: Closed D-Bus System Message Bus Socket.
This shows the dbus.service stopping before the ObjectMapper
With this fix, this is now seen:
Jul 20 17:38:20 witherspoon systemd[1]: Stopping Phosphor DBus Service Discovery Manager...
Jul 20 17:38:21 witherspoon systemd[1]: Stopped Phosphor DBus Service Discovery Manager.
Jul 20 17:38:21 witherspoon systemd[1]: Stopping D-Bus System Message Bus...
Jul 20 17:38:21 witherspoon systemd[1]: Stopped D-Bus System Message Bus.
Jul 20 17:38:21 witherspoon systemd[1]: Closed D-Bus System Message Bus Socket.
This shows ObjectMapper stopping prior to dbus.service
Resolves openbmc/openbmc#3319
Change-Id: I466ec45f4582b3242688e8308d156961bb79cdc1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ieab4dc55699fd4f6e727b0d6752e80206001903a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Iaedf2c60272e02e656fd4949a5ab6c4fd9205a4c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I367000d170b68af71eb7d7168ec8502efc7197d1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This needs to be done so phosphor-logging will know to grab
the error log's metadata from the journal and add it to
the log in the AdditionalData field.
Tested: Check that the errors now show up in the elog-lookup.cpp
file generated during the build by phosphor-logging.
Change-Id: I59e357986ac56ea752c9f7241a5138eb4985ceb6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This needs to be done so phosphor-logging will know to grab
the error log's metadata from the journal and add it to
the log in the AdditionalData field.
Resolves openbmc/openbmc#3015
Tested: Check that the LED errors now show up in the elog-lookup.cpp
file generated during the build by phosphor-logging.
Change-Id: I9bcbf1b1c8d7499e4ef8e384005c34b858d25a7d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This adds variables to the recipe file which specify the name of the LPC
snoop device and the number of bytes per POST code. The variables can be
easily overridden in a platform-specific bbappend.
Change-Id: Ia7778a72b62225238d2142c62b8e88e5e8ca33ee
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On startup, the service attempts to read the PGOOD property
to know if the system is already on. For that to work, the
org.openbmc.Control.Power service must already be running,
so ensure that is the case.
Having this check working right allows the code to know if
there was an AC loss while booted.
Resolves openbmc/openbmc#3266
Tested: Check that the service knows power is on when rebooted
at runtime.
Change-Id: I1314865609ecdf3765603f8bd8ed1add6888e558
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This recipe adds a target and support for building phosphor kcs bridge
daemon. The phosphor KCS bridge daemon is very similar to the block
transfer bridge daemon, in that it is capable of briging requests from
the KCS driver into dbus, and return the appropriate responses.
Keyboard Controller Style interfaces are commonly on server platforms
for BMC communication to a host system.
This also includes a modification from Benjamin Fair
<benjaminfair@google.com> that allows selecting the kcs device at
compile time, sourced from here:
https://gerrit.openbmc-project.xyz/#/c/11476/
Change-Id: I05eea9f12e2460e2514f657aeb1d055d0e48851f
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The phosphor-base.inc distro file enables the phosphor-gpio-keys
KERNEL_FEATURE. Add support for this feature to the linux-nuvoton recipe
via a bbappend in meta-phosphor's nuvoton layer.
Tested: Built and ran on NPCM750 EVB
Change-Id: Id957c6209ebb841fce2cdad1cc0790e0d58da60c
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
|
|
|
| |
Change-Id: I6373776531963351831420fea39d88fc3995e8bf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ib55af6f615cacbf74eb081e0ca33e9683d8dd7bf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: If88a42419c4acde338488d9c092b787d29b820a1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
This commit adds a json file that specifies whitelisted URLs to
be allowed access by REST server.
Change-Id: Ie9aaa6a1f9de00799e22af450c436d5e791c4b2a
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|