| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Idf6ea019ea9eb6f3e497c429812f6b14dbb33d1a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable signature verification in the phosphor-software-manager code
for witherspoon. This causes an error to be logged if updating to
an unsigned image, or image signed with a different key than the one
on the system, and if field mode is set, it'll stop the activation
process.
Tested: Signature verification is enforced on witherspoon,
verified error is logged with and without field mode enabled, and
activation is prevented with field mode enabled.
Change-Id: Ifc8f8054f8d852cc16942af9cbf58d60aff3fc33
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I44b5726279a4b53a285c0da7003a53d49c281e49
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I8f702e0db614a59b566bf042e066e82345ec0d2b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I66981100de71ce2b0f8f96d0f3ef6bb8802420c1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I7a678b64290c99a53dbecb326be767b00e3b7aeb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add /com/ibm and com.ibm to the lists that the mapper
uses to know what paths and interfaces to handle.
As this is in the meta-ibm layer, it is only applied to
IBM systems.
Change-Id: I8c3624f4bff86af178b4d951632019d81dcaaf51
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
These D-Bus interfaces are only for IBM systems.
Change-Id: I62255887d9cb7059472ad33ccf6fddc84d476cf0
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
This is in preparation for adding recipes that
are only for IBM systems.
Change-Id: Id5be84d78c9a01fd2cf9dc2abb68cabfa6cedd51
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Systems utilising the obmc-ubi-fs DISTRO_FEATURE may fail to boot a
freshly built image under some circumstances. Typically the error will
be a mismatch in the u-boot environment between the value set in
`kernelname` and the on-flash volume name for the kernel. They differ in
the "Image ID" portion.
The image ID is derived from the VERSION_ID field of `/etc/os-release`,
and is currently added to the u-boot environment by sed-patching both a
patch file adding the necessary information to the appropriate u-boot
header, and the u-boot header itself.
Why the current approach is wrong requires a bit of background on
bitbake:
1. bitbake tasks must be idempotent
2. Building on 1, bitbake caches build state using stamp files
3. bitbake tasks will not be re-run if a stamp exists and the task
input state matches
4. bitbake requires actions execute in the appropriate build phase
To the issues:
A. The sed-patching was performed by hooking the do_configure() task.
This is wrong: There's a do_patch() phase whose purpose is to handle
modifying the source tree, and will handle cache invalidation
appropriately. The patch modifies the recipe to append the
sed-patching to the do_patch() phase when the obmc-ubi-fs
DISTRO_FEATURE is enabled.
B. Sed-patching a patch is unnecessary. We can just sed the target file.
By appending to the do_patch() phase we know the patches listed in
SRC_URI have be applied, so drop any mangling of the patch. Note that
as the existing approach hooked do_configure(), the source (including
the patch) will not be redeployed, therefore the patch may remain in
its mangled state.
C. The search regex of the sed line only accounted for the case where
the source was freshly unpacked and patched, and `kernelname` was
assigned `kernel-0`. This will not be the case under a rebuild of a
new commit to the OpenBMC repository that doesn't touch u-boot, as
the source will not be redeployed due to the caching behaviour.
D: We need an explicit dependency for the do_patch() phase on
os-release:do_populate_sysroot to ensure that if os-release changes
that we redo the patch phase to pick up the new image ID in the
u-boot environment.
The change addresses all of the issues outlined above.
Change-Id: I01c95693053cb58aa0c0a90da04a03bca8eeec9e
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
| |
Added "mutability" flag to indicate if a sensor is READ/WRITE/RW.
Change-Id: Ibe8913a0c72d8c97bdb9288a642901cea34f3a23
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie1db920366e3104fe16ca1af6ca6b5e9fefea068
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I95e6ecf183cb1b82a138df17609b45441dd9ec45
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ie97d6c5610eddc15baffc2404e5944c6d53b9777
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Idf4713febc9a0ce07a5c27da5058692fbbf4c360
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I4063b02df076d7052d1a69cd2b9f75f9452e0125
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle dependent service failures:
1. When ambient temperature is unavailable, set default floor speed;
2. When occ services are unavailable, set to max speed.
Tested: Verify that the default floor speed is set when outlet temp
sensor is missing;
Verify that the max speed is set when occ service is killed;
With https://gerrit.openbmc-project.xyz/#/c/9584/, verify that
the floor speed is set back according to outlet temp when the
sensor and occ service are back.
Change-Id: I395f99ac8a6e76fdeb11a189294b096ee6256b76
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mirror u-boot function copies the currently booted BMC chip's u-boot
partition to the alternate chip, if the two don't match. This is to make
sure we always have a good u-boot in the alternate flash.
Also add service file for the mirror u-boot option.
Resolves openbmc/openbmc#2876
Change-Id: Ida09a167de21f3ccb588a096509d88ad88450c93
Signed-off-by: Eddie James <eajames@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I0653a49853992d7996d05ffb90d3480a99b65e61
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I77bf192891947e33f040b4dc1a6a238f96775997
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
Install u-boot-fw-utils via dependency, rather than explicitly
attempting to include it in all images.
Tested: Built witherspoon, qemux86 images
Change-Id: I371cb4b848d67d75816a6d0d3b35bc7615f2ec39
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When an EAGAIN return code(11) is returned for any sensor from an OCC,
remove that sensor from dbus.
Functionally requires: https://gerrit.openbmc-project.xyz/#/c/9893/
Tested:
OCC sensors are removed from dbus when EAGAIN is returned
Change-Id: I2fee78ff7876b8750555454436dd7b53eb3a0e78
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
| |
Change-Id: Idc8c64241b24f05b4cbaeb84780a5f72f40d2406
Tested: Built witherspoon and palmetto images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
inherit allarch and enable both native and target builds.
Change-Id: Ib5c6bb03a9ac5c5cf7aab9ba65ef4b95845b5478
Tested: Built witherspoon and palmetto images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
The convention seems to be that udev rule generating recipes go in
recipes-core/udev.
Tested: No functional change
Change-Id: I947a5f060e33b696cfa5528c09e164d047f78cae
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 85bdf258c54304ee286a90795db3c1a75f1bfdbd.
Seem to be able to log in on tty4 just fine without this, so
drop.
Tested: Built and booted a witherspoon image
Change-Id: Iec0adad5404805514618eadc372a2fe9582da032
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Should only enable this for specific machines, since the watchdog
configuration is machine-dependent.
Resolves openbmc/openbmc#2427
Change-Id: I03169b5dca6dccabe5eef2b5c759fe9b075450ac
Signed-off-by: Eddie James <eajames@us.ibm.com>
|
|
|
|
|
|
|
| |
upstream: https://github.com/systemd/systemd/pull/7352
Change-Id: I62df65eeec786890c0a7b923fd0455f7869f38b9
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I7d3e5cc65ffa5846b091194ef23c23d648360214
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I464bd2518f738bdb6317f46175bc547bde49bef7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia11b3a1257ed64a79334b6b86171cf81a39025e0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I8d78638cda396a75023d08b5b77d8b1d0810638e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a plugin for systems in the meta-ibm layer
to collect the com.ibm.Logging objects in a dump.
Resolves openbmc/openbmc#3043
Tested: Run dreport and check that the IBM data is there.
Change-Id: Iaa01a07633265c767649caaf8b9b1580f31ce7cd
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pull the code that makes the plugin links for a single
script into its own function and then call it from
install_dreport_user_scripts.
This allows other layers to bbappend this recipe and
call the new install_dreport_user_script function so they
can link in their own dreport plugins.
The bbappends would need to:
* install their own plugins into ${D}${dreport_plugin_dir}
* call the new install_dreport_user_script function for
each of these plugins
* add any new functions to do_install[postfuncs]
Tested: Check that the bitbake output directory structure
matches what it was before the change.
Change-Id: Id0e97c2ed2f5233df70049a472c2a785f5efde71
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I53153c4efca38ae4931196d1da9897b555d542f0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id9250fda132995b64f29d8e72fe2597915069506
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I06b2f44f53346a7949c95a57c493b58eaaf3adda
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I0a5421a1f38706dde0c09a6211fb27880502ef18
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I014005db8644f8670003e9dfff36b23b34dc0d66
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I08f19f6b7d6ac7a5c8c67a8c999d43e33af0deaa
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ica9a450a70f52d0a0bd6de114b5f6e69219a7e00
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Iac2a0a3faeb9a40420030c4b2a846e1a8af309dd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9de34dc5261a6a00674873d4b40a3ef963886ff0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I0418f3f06dc5653d8a538bb0268822907a8195ad
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream busybox has a change to ignore the -c option, which systemd
uses when unmounting during shutdown/reboot. Currently, if -c is used,
umount fails. This results in extensive umount failures during shutdown.
See http://lists.busybox.net/pipermail/busybox/2018-January/086045.html
Resolves openbmc/openbmc#2511
Change-Id: Ic32628bf22a134012c61cb817479a86d5187f9e9
Signed-off-by: Eddie James <eajames@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ic1298c7359cdca5bf0ea5989a3e0d38d0fa79a76
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9184cc566318560b4d6fe2d5285f7a2f7a2e148d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9efd9483c5386ce7a8edaa5f6b648af01c2baf6e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I5334ebe16b7ebeb42b26546d56a99cdc8398f600
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ic03f9947f93465140789dcb9ff7fd10bcb71be6d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|