Age | Commit message (Collapse) | Author | Files | Lines |
|
The IPMI Blobs handler is loaded by phosphor-host-ipmid at run-time, and
this handler then searches for IPMI Blob Handlers. This patch adds the
option to register them against this class and installs a symlink to
blob handlers in a location expected by the blob manager. This is akin
to what's presently done for phosphor-host-ipmid and phosphor-net-ipmid.
(From meta-phosphor rev: 4b3f25f6d43caa08e4f424d875c46212727f0d08)
Change-Id: Ied2b1adf85ec9510c119f9b79367a284ad376751
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adriana Kobylak (1):
Remove pciedetect
(From meta-phosphor rev: f794bbdca65d4bd696a7e474b9612ea2d836f8ad)
Change-Id: I3c3109be495be3506dd8e6e4fa530e7b5bd6ea12
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
William A. Kennington III (1):
configure: Use c++17
(From meta-phosphor rev: 0ac264cf485b4dc1a52d477f5f53dac693b38106)
Change-Id: I6e8eaa2557e1c423c2f5260b4064ecb67e9efd83
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adriana Kobylak (1):
pytools: Remove dependency to obmc.system
(From meta-phosphor rev: ca5a3c5bd3eb088e0e779e47fe07c39095c920fd)
Change-Id: I24d0a75cc06017d2413515716face3672677be64
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This was used a long while back for a console but it's
now only used for occasional debug.
Tested: Verified QEMU booted to ready state and screen
tool not in image. Verfied it is now in debug tarball.
(From meta-phosphor rev: 773ad6892bcfc42fa9902af5e6f97e02a4993310)
Change-Id: Ib1b9bae89fe0253fdc2ea173f6b0c0842d40d005
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Gunnar Mills (1):
clang-format: Update to match docs repo
Ratan K Gupta (1):
Fix formatting issues
(From meta-phosphor rev: fe2f61fc119af0a27f3600aab22e6b371ab0271a)
Change-Id: I26f662ed92aa65cb91334e25e08489b6c68e086e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adriana Kobylak (3):
configs: Remove PowerSupplyRedundancySensor
configs: Remove PowerSupplyDeratingSensor
pysensormgr: Remove sensor manager
(From meta-phosphor rev: 9a7e9c247f1a154116025769e584cb051e32ec9d)
Change-Id: Ib03af54678bde47398f91ea331a5dd901a8abeb9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Andrew Geissler (1):
Add -flto to CXXFLAGS
Gunnar Mills (3):
Throw InvalidArgument on bad Default Gateway
Correct spacing
Throw InternalFailure in catch
(From meta-phosphor rev: e05943290acb730339e8a8e1229466f02d23cc33)
Change-Id: Ib19c2b14004b80180fc151890c819a12420a0f55
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
reorder headers
(From meta-phosphor rev: c37be581778d36913e5398928e91dcc64214f791)
Change-Id: I6d8819481f422bbba531709bc96148a94374f58f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adriana Kobylak (5):
fan_control: Move to using xyz.openbmc_project.Sensors
configs: Remove BootProgressSensor
configs: Remove the OperatingSystemStatus sensor
configs: Remove BootCountSensor
configs: Remove TurboAllowedSensor
Matt Spinler (16):
Add function to load in the GPIO data from JSON.
Add documentation on GPIO JSON
Use cJSON to read the GPIO configuration
Use cJSON to get the GPIO definitions
Fill in function to convert GPIO pin to a number
Fill in the function that finds the GPIO base
Remove host control GPIOs from GpioConfigs
Call gpio_inits_done() from GPIO consumers
Remove unnecessary args from GPIO functions
Point obmcutil chassiskill code at the GPIO JSON
Remove the GPIOs from Witherspoon.py
Remove the GPIOs from Zaius.py
Remove the GPIOs from Lanyang.py
Remove the GPIOs from Palmetto.py
Remove the GPIOs from Romulus.py
Remove the GPIOs from S2600wf.py
(From meta-phosphor rev: a3c2e523e1cd83b088cb70ccd6d3fdc697785c1f)
Change-Id: I847dfae765dfea67738bc93bd589621ab9249849
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because
it has only one active BMC image;
For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs
assumes there are two BMC images by default.
Resolves openbmc/phosphor-bmc-code-mgmt#2
Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus
build, and set to 2 for Witherspoon build.
(From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e)
Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Configure MEDIA_DIR to /run/media for static flash layout;
Configure MEDIA_DIR to /media which is default for ubi-fs.
Resolves openbmc/phosphor-bmc-code-mgmt#3
Tested: Verify that the MEDIA_DIR is set to /run/media for Romulus
build, and set to /media for Witherspoon build.
(From meta-phosphor rev: f43eb6ee89433e4898cbdb1532963f038419c003)
Change-Id: If96c2ee135d314bd6de0cd745c6a871b75183fe1
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Static flash layout will use obmc-flash-bmc-setenv service to set
factory-reset env in u-boot, so make it common for both static and ubi
flash layout.
Tested: Build the image and verify the service and the obmc-flash-bmc
script exist in both static and ubi builds.
(From meta-phosphor rev: b2c944f13b0f891a7f569f3a9608e3c0de27a462)
Change-Id: Ia067cebfe35a9d2d7d2af8b4d1bd4cb5717372ae
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Moves Palmetto to use the kernel API, and the ColdFire master driver.
This change bumps the kernel (with device tree changes) and the skeleton
repository for a corresponding op-hostctl (host_control.exe) change.
Palmetto is the only system in the tree using this code. Any out of tree
systems (such as other P8s) must switch to using the kernel interface as
well.
Skeleton changes:
Joel Stanley (1):
hostctl: Move to kernel FSI interface
Linux changes:
Benjamin Herrenschmidt (2):
ARM: dts: aspeed: Add Power8 CFAM description for use by Palmetto
ARM: dts: aspeed: Palmetto system can use coprocessor for FSI
Change-Id: I43aada22c9d7b21dc24bd5aae3c4dcb77bdaaa8f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: I5a9f2d8a7fdc37fe65d9bd3408162fb5f88db372
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>
|
|
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>
|
|
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>
|
|
There are duplicated code about generating signatures.
Combine the duplicated code into a bash function so the code is cleaner
and easier to read.
Tested: Generated tarball contains the expected files.
Change-Id: I4144633f36291329dfc4008bb73482fb5a0d43c1
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
Add ubifs_layout package config and pass --enable-ubifs_layout
configuration option when ubi-fs distro feature is enabled.
Tested: Verify --enable-ubifs_layout is passed to
phosphor-software-manager's config for Witherspoon;
And it is not passed for Romulus.
Change-Id: I6daa0c565d2c2be980b6292e62654c0a86a69bbc
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
In generated fixed flash layout tarball, add manifest and signature
which can be used for code update by phosphor-software-manager.
Tested: Verify the generated static tar contains image(s), manifest,
public key and their signatures.
Verify that all.tar can be used to do code update by both
legacy method (org.openbmc.control.BmcFlash.service) and
phosphor-software-manager.
Change-Id: Ib6880c8a6d456cce6b0fd47116960d1d448d5d50
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
Remove from the base phosphor-software-manager recipe everything
that is conditional in the ubi-fs distro feature and put it
in its own class.
This allows for the base recipe to be cleaner and for future
specific packages to be added conditionally.
Tested: Built witherspoon and romulus and verified only
witherspoon contained the UBI-specific files.
Booted a witherspoon and a romulus qemu.
Change-Id: I2a783abc6152aadcf212a35f0060409f8dac2241
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: Ib1abd7f69a8d95bf3ec590e8d55df47eb36d6c65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: If66c256832291777542563ebe960fb59ef62be3c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib7a8b84c0d0e1d7a6cb04ab13b9fad5ad036d52e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I2de4eb8be9e800031baa5c811ddf0aeef87bcd5e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib9e1e533d0500170a3d99df47826ec8eaece8461
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Do not rely on the base configuration to set this.
Change-Id: I537f08a1834fb2d2a5fd2f73ca73cfc0566464cb
Tested: Built a witherspoon image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: Ibfa2b63c28c44e554ddc442f9da5eddf93e03c19
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Iaa61c468bc5deab50c2161e8608c8e6f8525d561
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ie97d6c5610eddc15baffc2404e5944c6d53b9777
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I8d78638cda396a75023d08b5b77d8b1d0810638e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I53153c4efca38ae4931196d1da9897b555d542f0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Iab5aab58848979c304378dd8737e6b3a914cf704
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I4eeee774c5cb495fafe7ada2ba61f69cb407b042
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I0beb80e564dc3b280ac6d10a5e983055e0b5523b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
We don't need a distro feature for net IPMI at this point, so
simplify things a bit.
Additionally, remove the net-ipmi virtual since we don't have
any alternative implementations today and it just adds unnecessary
complexity.
Tested: Built a witherspoon image and validated manifest
Change-Id: I2784f13b3e8897e855ac128422081ec3ee207bf1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove the phosphor-logging virtuals. They were unused.
Add a logging packagegroup so other layers can add additional
logging applications predicated on the logging distro feature
being enabled.
Change-Id: Ic82843cb2b1229df55005bad93576c14f468073b
Tested: Built witherspoon, palmetto and qemu images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I8366fab3ff92e3ad8a42eaf251929c9cc0978978
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I3bc4ba841168bed8cee3cda19a8113f9326e9b99
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib7726a5249f0d219b888d50ac42b0fa7b40d3c5c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
In order to secure the BMC, we need to sign all the images and include a
public key in the package with which to verify future update images.
This commit adds a framework to sign the image files with an open
private key and generates a corresponding public key added to the image.
This isn't secure by itself (since the private key is available), but
additional changes can easily provide their own private key, creating a
secure BMC.
To use a secure private key:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SIGNING_KEY"
SIGNING_KEY=/path/to/secure/key bitbake obmc-phosphor-image
Resolves openbmc/openbmc#2835
Resolves openbmc/openbmc#2836
Resolves openbmc/openbmc#2837
Change-Id: I28919b7de54e3a32e5efcbb4522fb39731e68384
Signed-off-by: Eddie James <eajames@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The overlay image type doesn't have any code behind it and thus
selecting it in IMAGE_FSTYPES would result in unexpected behavior.
An overlay image type still exists but it was renamed to mtd-static
in an earlier refactor, and this cleanup was omitted.
Tested: Built witherspoon and palmetto images
Change-Id: I7eb41afcf25ae2d251bf671dd0e5a18e1064f7c4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move image symlink creation for phosphor-bmc-code-mgmt out
of make_tar_of_images into its own function, so we can run
additional code in between symlink creation and tar file
creation.
Tested: Built witherspoon and palmetto images
Change-Id: I3025db6bb788d7c2bcf5c2a400af647c7c957164
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop support for RHEL6 which has been unsupported by Poky
since 2.1.
This reverts commit c83cf1ce570d4771b1e42ded308bf4110e70408b.
Tested: Built a witherspoon image
Change-Id: Idd8dda940c72a69a7a228733c34018f906ec9b8f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I730378193b83becaa03dcc9484638d716b12a1fc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I1fa024b3d209d6cc55d6fc1cb70c8aa32a8fc9d1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
There were a number of places that inherited this class but did not
use it. A number of classes that did use it did not inherit it.
This was possible because the class was pulled in by the distro
configuration but that has been removed here as well.
Tested: Built and verified a witherspoon image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I73511cdcc609875b4fe016967c1b84c5200fb703
|
|
Change-Id: Iab3a24bc5104e8d6ec32eed8b61151c765d75cc0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
In the previous review it was noted that it didn't make much sense
for host-check to be it's own provided function in OpenBMC. It's more
of a recommended piece of the base host state function.
Change-Id: I024472e96ea00f411e8348e0221c210f84700019
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|