| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Define a variable that recipes can use for finding the root
of the aspeed layer. Typically this is used to refer to the
layer LICENSE for recipes that don't have any source repository.
Change-Id: I22c1af313f65dee85eccfbc82cddc51dc731876a
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable the SBE FIFO and related drivers, as they are Power9 only.
Disable the DRM framework and the ASPEED_GFX driver, as this driver has
not been tested on the ast2400.
Both of these changes are to reduce the size of the kernel binary, which
is currently 56136 bytes (55kB) over size.
Change-Id: Ice88b7ca9062c2dc4578a96ee5431c265fe75495
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put behind nginx and only activate when /redfish is
queried via https.
Testing: Verified that with this change in bmcweb:
https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11518/
that redfish commands can successfully be sent via nginx
on the witherspoon qemu model.
Change-Id: I97509dc3484deffd06c3d60db710eb3b17dfccb5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I860ca9b97f3497d0e91408dbe9a8f1358aadb3c4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Iadf107e86a6fb343bbf6292ebbdd71a4b1ae101f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
This bumps skiboot to the latest release.
Tested: Built on a Witherspoon
Change-Id: I7fc9d0f3e236fd6734617ddd86e27ed06ba2770b
Signed-off-by: Gunnar Mills <gmills@us.ibm.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>
|
|
|
|
|
| |
Change-Id: I09eff172c39d44d5e7a32552cfb34c68b58acfe8
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: I6770247bb9202d68ab9f9e4140c60ff2201b8d03
Signed-off-by: Amithash Prasad <amithash@fb.com>
|
|
|
|
|
| |
Change-Id: I21f1630149cb0361b19e59986e0be97016a124b7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add fault groups, e.g. core, dimm fault groups in led config, so that
fault monitor could set related fault group to turn on the fault led.
Tested: Verify the led fault groups are created, and when asserted, the
fault led is turned on.
Change-Id: Iace27d605c11b8c5b3d33685eecdaffb402fc6ad
Signed-off-by: Lei YU <mine260309@gmail.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: I5be442e3fe38ce840f1f16abb68b55fc880e9232
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: Ib6fa73502384669f8e6cca209f7ca34abd0fa2cf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I367000d170b68af71eb7d7168ec8502efc7197d1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
Bitbake warns when this variable is not set for a layer. Set it in the
Nuvoton BSP and EVB layers to indicate sumo branch compatiblity.
Change-Id: If2dd63954ca88d0dc4e0427eb6c3ccf035681585
Signed-off-by: Benjamin Fair <benjaminfair@google.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>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change-Id: Iddcb02c07c457cb27d6e0f69b7bbf6c4a14e61d3
[patch from openembedded-core mailing list]
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like the socket activation part of the recipe got missed in
the review. bmcweb can boot without it, but it's still desired to
allow people to change what port bmcweb boots on per platform.
Tested By: Launching image and verifying bmcweb boots on port 883, and
all services are available.
Change-Id: Idba19082d80ea4007c6a450219481756bd03938b
Signed-off-by: Ed Tanous <ed.tanous@intel.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>
|
|
|
|
|
|
|
|
| |
Move support for the npcm7xx SOCs directly into the meta-nuvoton BSP
layer. This matches the layout for other chip vendors' BSPs.
Change-Id: I47ac7a5b02cf87f6dd60d0f6fba2463c18e9fdf1
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>
|