Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Change-Id: I1730c97774addf56d7c3928d8c814b06644f2c7f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ibc37bf5129324cee1e32300d1691a4a2c2c71dca
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Move OpenBMC to Yocto 2.3(pyro).
Tested: Built and verified Witherspoon and Palmetto images
Change-Id: I50744030e771f4850afc2a93a10d3507e76d36bc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Resolves: openbmc/openbmc#2461
|
|
As with MRW the use of the UBI image scheme is distro policy.
Convert the existing machine feature to a distro feature.
Enable the new distro feature on the systems that use
it(Witherspoon).
Add a distro override and fix-up MF checks to use this override
instead for improved readability.
Tested: Built a Witherspoon image and validated image
Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I4be962064668c937fce34b7814378c86a2dc994c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The default size of the UBI read-write volume is currently set to 4MB.
There are no plans to store more than one BMC rootfs image on the chip
so in a 32MB flash chip, accounting for the current rootfs image size
of ~15MB with plans to grow to ~20MB with the addition of redfish and
other packages, it is safe to increase the read-write volume size to
6MB since the current size is already almost completely taken up if
there are multiple error logs / dumps on the system.
In addition, make the size configurable from a recipe so that the
size can be changed in a per-system basis. And during code update,
check the current size and update it if it's different, this allows
systems to be able to be resized to a new size by performing factory
reset after a code update that sets the new size.
Tested:
- Booted on QEMU and verified non-ubi system (romulus) retains the
current 4MB read-write volume, and ubi system (witherspoon) has a
6MB volume.
- Code updated to an image that has these changes and verified the
rwfs_size env variable changes to 6MB, and that a subsequent factory
reset rebuilds the volume with size 6MB.
Change-Id: I995eb560c1bd87ee95712c731e3d6e55bc0b2735
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: Ied6bfe428fe5bc6a19fdb3adf606cbc18b245b3e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Idcbe38497ff10223faa931853c697c3ae405af0b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
xyz.openbmc_project.Settings has replaced this function
Resolves openbmc/openbmc#2339
Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib78452fd969b0b2718551a8ff1b6a279624ceb6a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Any recipe inheriting image_version must have a dependency
on os-release to ensure the sysroot is populated before
attempting to get the version out of it.
Also read the version out of the target sysroot rather than the
host sysroot. os-release does not have a native variant.
Tested: Built image and verified in witherspoon qemu
Change-Id: I8d79280a75577eff48314f0f57c0015e1d6738ef
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: If87a597dd1298289846240c5c566e77ccb1bc770
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I19a7253fdeabbef63bd7421ea50843e74c8c7f8b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|