| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently pflash defaults to using the MMIO interface through /dev/mem.
We want to disable /dev/mem in production systems in the near future, so
all non-debugging uses of it need to be eliminated.
The new version of pflash defaults to MTD access. It also brings some
API cleanups to libflash.
We recently moved flasher to use MTD. This updates skeleton to pull in
an update to flasher so that it can build against the new libflash API.
Fixes: openbmc/openbmc#713
Change-Id: I6bde91c7df5d0588fc48dd2e847f21f0624a6950
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Witherspoon and Romulus contain an Epson RX8900CE RTC which is supported
by the RV8803 kernel driver. This patch enables it now that the RTC is
enabled in the respective device trees.
See this commit for Witherspoon:
6c628de9d450b ARM: dts: witherspoon: add Epson RX8900CE RTC module
And this commit for Romulus:
c5682cbc3542a arm: dts: Add Romulus BMC machine
Change-Id: I336a6a19c455d2e20084e7fd92c29404ccd5851c
Signed-off-by: Chris Smart <chris@distroguy.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
obmc-phosphor-image_types_uboot constructs a full flash image from the
built kernel, initramfs, etc. The size of the flash image depends on
FLASH_SIZE which is expected to be set by the machine config.
evb-ast2500 never set this which caused the initial setting of the flash
image to all 0xFF to silently fail. A functional flash image was still
produced since the copying of the various files into the flash image
succeeded. The flash image just ends early and writes zeros to unused
sections instead of 0xFF.
Change-Id: I640b2191e116ea82546a636e83c2a45c7e45c789
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
|
|
|
|
| |
This file will be read by the device tree generation
code to fill in some things that aren't strictly
hardware dependent so don't belong in the XML.
Change-Id: I8d863adfd04c13dee5e133f1aceed76d470c2fe1
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Add Zaius specific driver configs for RTC, 1-wire thermal sensor, and
I2C mux.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: If265035e7a2f03e1a890c512f86cce27d091391c
|
|
|
|
|
|
|
|
|
|
|
| |
Romulus is a Power9 OpenPOWER system developed by IBM.
TODO:
- bump skeleton for config/Romulus.py
- bump kernel for device tree
Change-Id: I9779f213e3ebc6286f6eaac35650e6c4fe395f80
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#653
Change-Id: I2c696ea0cf10b71ce971b456983ab0acdb5fed3f
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Patch U-Boot to hard reset Zaius BMC's Broadcom PHY and to enable MAC2
that it's attached to. These are temporary Zaius-specific patches that
should be removed when the Zaius U-Boot target is complete.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I0004b354d5774be1c244243e1bbbc527f195010c
|
|
|
|
|
| |
Change-Id: I0fbf66ee1cc06222d1cc24d94674b142d3c08363
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These two machines contain the MAX31785 fan controller. We have an
interim driver for these in the dev-4.7 Aspeed kernel tree, so add the
driver to the configs for these machines.
Change-Id: Id619e8b6e3338c880aabb8780db468cc5fff6a6f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
| |
This was an oversight when moving all of the systems to the 4.7 kernel
tree.
Fixes openbmc/openbmc#662 and fixes openbmc/openbmc#648.
Change-Id: Idc39a1e8b8406f72f1c2c20a6a37af06eb2ad002
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I3523a192f60e335a728c06d667bdf8836dde0a16
|
|
|
|
|
|
|
|
|
|
|
| |
Remove net name patches from Firestone, Garrison, and Witherspoon. The
equivalent configuration was moved into the Python machine config.
Fixes openbmc/openbmc#601, fixes openbmc/openbmc#636, and
fixes openbmc/openbmc#637.
Change-Id: I2c2b03b506abffc1511e53dc622f42fe0589b00f
Signed-off-by: Xo Wang <xow@google.com>
|
|
|
|
|
|
|
|
| |
Include machine features in openpower.inc to enable host control
functionality. This requires zaius-config (Zaius.py) in the skeleton group.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: If02e863f861618683cd3d547056ffb23b08e7f22
|
|
|
|
|
|
|
|
|
| |
Add configure files to build OpenBMC for Raspberrypi.
Resolves openbmc/openbmc#399
Change-Id: Ibc9ca0357b672c2af8436dc310bc1f10f7773c55
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
| |
Change-Id: I432b8b7fd7030b320bba4560245cfab6d2db79ac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, sample.inc enabled simulations of machine features
required by the Phosphor distro. These features are now optional and
controlled by a combination of distro and machine features and
sample.inc no longer exists. Removing the include of sample.inc fixes
the build of evb-ast2500 but disables those simulations.
Change-Id: If22f2c985ccb4321b510a7a5723f8960a57c5fa6
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
|
|
|
| |
Firestone & Garrison systems weren't building after
a6bd1e.
Change-Id: Ida8deaf8d5d00b1c5df16ab9b0410ca6f2b17cb6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Don't need this anymore now that inventory.json is
generated dynamically.
This reverts commit 38a21ef5b470dac705ff0c05dd883518eeb4d2e2.
Change-Id: I10ff6b9a30f79de236c1d6186e4e2a3868ea5656
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#567.
Change-Id: I68e8e726f839038a6a256ff18a88d936ab0af3e4
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ieddbc96706ceb1dfd3a124a4c4b5c7b198af4b46
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Move the skeleton recipe to the openpower layer and rename
it more appropriately to packagegroup-op-apps.
Change-Id: I27bad03013fd7e5381cb535a5de4f8821674d663
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Move the fake, example implementations from sample.inc
to phosphor-defaults. Other layers override as needed.
Change-Id: Ic024b13c39bf1750f5c76bc0fac1d18092e8305d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
obmc-event-mgmt is a distro feature only.
Change-Id: I8ef1a0131ecda53b655af40a49340edf409a6951
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com
|
|
|
|
|
|
|
| |
Add a distro/machine feature for Host IPMI.
Change-Id: I873e5a37236ab408890e967109f16bc1926503be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
The desired providers were previously expressed in a
virtual package. Move them to a packagegroup instead.
Change-Id: I7343b64871b655dc7f567ecb8412b6b47b791d33
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
These variables don't do anything functionally at the moment
and the idea is better implemented with a packagegroup anyway.
Change-Id: I026989df7a1169d44ff1a532731c97930c95d293
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The value added by these classes is minimal and lowers the flexibility
available to clients using them when it comes to packaging.
Rename recipe virtuals - obmc-phosphor seems redundant.
Align package virtual names with best practices (virtual-package).
Change-Id: I34c3cb03f6b1d2aaa734ed02078b388667f70917
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Fixes build breakage for Zaius.
Change-Id: I7cb274263865c5b318e16696222a8bb6c3b200ec
Signed-off-by: Xo Wang <xow@google.com>
|
|
|
|
|
| |
Change-Id: I60dd0f975d0ec1ef44335814382d915b797a9d04
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
This will fetch a script from the phosphor-mrw-tools repo
and use it to generate the system inventory data from
the machine readable workbook XML. The resulting .json
file will go into the flash image for use on the system.
Change-Id: I888ea51a2a75d915238776be568960e0898d6106
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a new obmc-xmlpatch class that can be
inherited in a recipe to provide a do_patch task to patch XML
files. The patch files are themselves XML, and must end in
.patch.xml for do_patch to find them.
This commit also includes Palmetto patches specified in
palmetto.xml.patch.xml that are required to build the system
inventory.
Change-Id: Idae6ffd8e7a3aa247115ff3a840e047727ff0d1a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Zaius is a P9 system announced at the 2016 OpenPOWER Summit.
This uses samples.inc for phosphor feature selection as skeleton does
not yet have configs for Zaius.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I9aa35304251ce62660115d5f2ebc9c6a829fceec
|
|
|
|
|
|
|
|
| |
The policy feature doesn't have any meaning or definition
at the moment so remove in an attempt to reduce clutter.
Change-Id: I7edaeb3bc9ffb409e5f7dfeae424ffb94f6085fd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Given that these are already in the recipes-phosphor
directory this seemed redundant.
Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Set the machine readable workbook URI and REV variables
so the mrw-native recipe can retrieve the XML.
Change-Id: I1f63365917f818b31c00997edb312f700b935af3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ib558f345200bb7aa8f0a394a025b77b3f604c7ab
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a recipe that will install Palmetto's inventory
file into the flash image. This is mostly a proof of
concept to show how the inventory could be data driven.
A future commit will update inventory_manager.py to use it.
Eventually, this file will be auto generated from the machine
readable workbook.
Change-Id: I2723ff0dbc25807561ca3f9355ccfb64353119e5
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
Enable systemd chassis and bmc state management support for Phosphor.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I180496eb8e48dfc617f944053b8e909210c6df7d
|
|
|
|
|
|
|
|
| |
Barreleye specific overrides in preparation for the move to
systemd state management.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com
Change-Id: Ifaca2e849625530ac97accdf0542d14f9708ee0f
|
|
|
|
|
|
|
|
| |
Palmetto specific overrides in preparation for the move to
systemd state management.
Change-Id: Ie9168f0e4db965a553af2e96e8dbb22b527257e9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Preparing to start these with systemd.
Change-Id: I39a99242cee3e9e17e51356521d29bab5ad7d399
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
These aren't used on Palmetto, so don't build them.
Change-Id: Ib31628cc29750e0a4a932759fc3e4723ac643bf4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
With yocto-2.1, per meta-yocto/conf/layer.conf, meta-yocto is
deprecated and should be transitioned to meta-poky.
Change-Id: Ie1819c13d1741d68f130570c676b3fe274cbb6f4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There isn't any reason to be baking pflash or libobmc_intf
recipes for sdk or build machines (x86).
This was mistakenly added (by me) based on misunderstanding
of how to get dev packages into the target sysroot.
The correct way to do this is to just have a dev package
whose main package is in IMAGE_INSTALL or has a dependency on
another dev package (whose main package is in IMAGE_INSTALL).
I'm not adding those dependencies now here because at the moment
pflash-dev is unused and libobmc_intf will eventually disappear.
Change-Id: I691cd029a69ad7554faeb4782ae97b92946c9a7b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I84e08ce3c54bac67dff7b80d431085ee18db38e4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Icda8c4fa3b11605f473c53552c1c4b9a667e22a3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
| |
Change-Id: I4ce995e7780a355f1c850dd0f9092f763471df75
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I250c891eb77dacabb8e76199591b7d5aac0e0122
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Move pflash to a general skiboot recipe so that we can create
additional recipes for other components of skiboot.
Change-Id: I59253d17840da7a07f00bec9c650676da9ffb5e5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|