Age | Commit message (Collapse) | Author | Files | Lines |
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change Ie1a7c389edb6b7a048836a49283ceb62de51bba5 will be transitioning
the 'Type' property in Inventory.Item.Chassis to an enumeration.
In order to avoid crashing in PIM we need these default values in the
starting YAML to be fully-qualified enumeration names that will match
the values which will start in Ie1a7c.
This code is safe to merge as is without any PDI or PIM changes. Prior
to the PDI change, we must make a change to PIM that allows conversion
automatic from string->enum, leveraging library interfaces available in
sdbusplus. These will be submitted independently.
I checked the codebase for usage of this string. It appears that the
value is currently, effectively, write-only. There is code in bmcweb
that fills in the equivalent Redfish value but currently just hard-codes
the string 'RackMount'.
Tested: Booted Witherspoon in a QEMU model with this change and proposed
changes to sdbusplus + PIM. PIM no longer coredumps with the PDI change
and yields an expected persistence file:
```
$ pwd
/var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system/chassis
$ cat xyz.openbmc_project.Inventory.Item.Chassis
{
"value0": {
"cereal_class_version": 2,
"Type": 3
}
}
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icaf9447f31ccdd945cdf74b3e017682e4aed686f
|
|
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated
from int to double. Therefore all old 'int64_t' types in
"*-ipmi-sensor*.yaml" files for this interface should be changed to
'double'.
(From meta-ibm rev: c769f790e14b9caa4fc842dc1e2035378de6ae60)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Id8e164203541550eb19301ca429702cbf7d4b2f8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
HW CI on Palmetto trigers two issues:
1. The case to verify occ active fails because it was using the last
character of `cpux` for occ, e.g. cpu0 -> occ0.
Palmetto had an incorrect inventory path of `cpu`, which results in
`occu`, and it becomes an incorrect path, and the case gets a 404
error while trying to get the OCC active state.
2. The case to get https://$bmc/ fails, it's expecting HTTP 200 OK
resonse, but got a 401 error. This is because webui is not built into
Palmetto, so there is no page, and bmcweb returns 401 for such case.
Fix the above cases.
Tested: Verify the HW CI succeeds on Palmetto:
python3 -m robot -v OPENBMC_HOST:palmetto --argumentfile \
test_lists/HW_CI --exclude Verify_Redfish_Host_PowerOn --include \
Verify_Redfish_Host_PowerOn_No_Check_Watts redfish tests
(From meta-ibm rev: 4ac52cb28db30f89bdfd23ab1614f71b65dfdceb)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Ifd102f167cfa4d83769fb055b883e4c214a27b9a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The yaml add the "xyz.openbmc_project.Inventory.Item.Chassis" interface
to "/xyz/openbmc_project/inventory/system/chassis" object.
This is needed for bmcweb to correctly get the chassis id in
/redfish/v1/Chassis/.
Tested: Verify that /redfish/v1/Chassis/chassis exists on Palmetto with
this change. It was 404 without this change.
(From meta-ibm rev: 5930fdcc620b5ab65418b748b3cc0db465dc05fb)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I67d5458d4540feacc67bd558dabb642b377f508b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
IBMBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-ibm rev: cbbb0e5b4e44d831fce5daafd13272d401440f40)
Change-Id: Ib214f92b2c384e3eb2a1f53ecf4b21034438d001
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
(From meta-ibm rev: 8f7ff601395419a933eb0506d5cc07fd805f7708)
Change-Id: Iffb2c550511b4024b721c2ba81aec1f909ce7703
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
A prior patch added a new recipe palmetto-yaml-config to provide all the
YAML configuration for Palmetto systems. This patch switches the layer
to that recipe by setting EXTRA_OECONF and DEPENDS as appropriate in the
required bbappends.
With this switch, a number of recipes and their provided YAML are now
dead metadata, so remove those.
(From meta-ibm rev: cf525fc486dce2c8e97c076536c85b47d009de26)
Change-Id: I88a91b19857ba75aab49ba2e78923ab7d69edddd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
YAML configuration files exist scattered throughout the OpenBMC tree and
how they are used is controlled with layers dependencies of virtuals and
preferred providers.
Most of the time the above scheme is very difficult to comprehend. This
patch continues a re-thinking of that approach towards a more
centralized scheme.
Specifically this patch implements a single YAML config recipe for the
Palmetto systems. The logic contained in the recipe was pulled from all
over the OpenBMC tree - the ability to comprehend how the different YAML
files are generated and consumed should be greatly eased.
One notable detail - unlike the upstream recipes, palmetto-yaml-config
is a target recipe and as such enables MACHINE based overrides.
YAML files were copied from different locations in the tree, and run
through a styling application (pyyaml dump(load(yaml))):
phosphor-ipmi-fru-properties-native:extra-properties.yaml ->
palmetto-yaml-config:palmetto-ipmi-fru-properties.yaml
phosphor-ipmi-sensor-inventory-native:config.yaml ->
palmetto-yaml-config:palmetto-ipmi-sensors.yaml
phosphor-ipmi-inventory-map-native:config.yaml ->
palmetto-yaml-config:palmetto-ipmi-fru.yaml
(From meta-ibm rev: 70eb689af4a1b27d5cdcca1acdff8d27329c6808)
Change-Id: I0f26e60db3caf66cbb2ec6d2ad0a053617eee50e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add overrides to variable assignments as described in "Modify Variables
to Support a Different Machine" in the yocto development tasks manual:
https://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#best-practices-to-follow-when-creating-layers
In a nutshell this allows multiple BSP layers to be included
simultaneously in bblayers.conf, which increases the potential for meta
data sharing between layers.
(From meta-ibm rev: a7ed71c672baa533eddcc8cc713b03d2ee07c4e4)
Change-Id: Id057b3520db5952310b31f188e53263653606d54
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
A number of bbappend wildcards matched more than what was desired.
Reduce the scope accordingly.
(From meta-ibm rev: d383ecde351fa80ff94fd7220b951e6458bdda2b)
Change-Id: I448531975e594674013709a77ac003ea8f480c18
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This recipe is only required by the legacy inventory manager, which
is no longer used on palmetto.
(From meta-ibm rev: ba9dd68aa9d524585878eee61e5bfe1bbef0a5f9)
Change-Id: Id2a4be5f97fd91c4aefeaa23f462c8b69cae5de0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove the palmetto override of
PREFERRED_PROVIDER_virtual/obmc-inventory-data as nothing DEPENDS on it.
(From meta-ibm rev: 05d52d6b248c7761e08c02d18cd89c6fd304e062)
Change-Id: Ideabff50e2f492042fe4541a8641f536c14b75f8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
obmc-control-fan is no longer included by the OpenPOWER layer, so there
is no longer a need to explicitly remove it here.
(From meta-ibm rev: 446d589ce72cebf974ffaca2dca61de2823a140d)
Change-Id: Iba5fc8a745ffb128b83903dc0ad3ad787ebbcd21
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
As openpower-occ-control@1d69e19 introduce the ability to rename the occ
object path, Palmeto could use "occ0" instead of "occ_3_0050" as a
better name.
Update ipmi sensor config to use the updated occ object path.
Tested: Verify occ active sensor is set on host power on, and occ hwmon
sensors are working OK.
(From meta-ibm rev: 17c4a225e74f6b093cf01ca0ecc0c32ae19bc1f8)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Iafd029cc82047e047a0dea45ace1655a5bec776d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
openpower-occ-control requires a sensor header file generated from
occ_sensor.yaml. By default it uses an example yaml, which does not fit
for Palmetto.
Add palmetto-occ-control-config-native.bb to use its own
occ_sensor.yaml, so that the package uses the correct config.
Tested: Verify the build uses the correct config generated from
palmetto's occ_sensor.yaml.
(From meta-ibm rev: 12a660de3fff453e2f24ee2cc98b387fa7b8c541)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Ifbf6ffb0c69e6d827410b8370c6481bb953d10d0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There isn't an obmc-button-reset package in op-apps in the first place,
so this line is a noop. Remove.
(From meta-ibm rev: 748c1192bf2f2fa6be2cdf5e6f3b88829f28835b)
Change-Id: If34a02d6603834919ab969579c0fca0e0ab28f1a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Palmetto is going to enable phosphor-isolation, which requires to use
mbox for PNOR access instead of directly mapping on LPC to PNOR.
Tested: With Palmetto's [dts fix][1] and a PNOR build that enables
[PNORDD_IS_IPMI][2], verify Palmetto boots host successfully.
[1]: https://patchwork.ozlabs.org/patch/1042662
[2]: https://github.com/open-power/op-build/pull/2680
(From meta-ibm rev: 9ba4f883224f2c101b0d4a6df1ddb3cd787a61fa)
Change-Id: I7c225ab2f3afd4d31a217a616bfcc7412805004a
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
In the 5.0 Linux kernel, an I2C device path segment changed:
i2c@1e78a000 -> bus@1e78a000
(From meta-ibm rev: bf1862a9b9bc82683d12036edc247f9f4ea4d13c)
Change-Id: I909073424a7b0a5c677307fe3b4ab25cab051cc9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
For mrw-native recipe append, set wildcard to version.
(From meta-ibm rev: fc50b2d08f871df53e286cf9e6909048e3824846)
Change-Id: I5de207d281b3247836601c84828db6a8b0f70182
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update meta-ibm to master HEAD.
Patrick Venture (21):
meta-ibm: add IBMBASE
meta-ibm: romulus: chassis: avsbus-control: set LICENSE field
meta-ibm: romulus: chassis: vrm-control: set LICENSE field
meta-ibm: romulus: gpio: id-button: set LICENSE field
meta-ibm: romulus: ipmi-fru-read-inventory-native: set LICENSE field
meta-ibm: romulus: ipmi-inventory-map-native: set LICENSE field
meta-ibm: romulus: ipmi-inventory-sel-native: set LICENSE field
meta-ibm: romulus: led-manager-config-native: set LICENSE field
meta-ibm: romulus; phosphor-logging-callouts-native: set LICENSE field
meta-ibm: witherspoon: chassis: avsbus-control: set LICENSE field
meta-ibm: witherspoon: chassis: vrm-control: set LICENSE field
meta-ibm: witherspoon: events-policy-native: set LICENSE field
meta-ibm: witherspoon: fan-policy-native: set LICENSE field
meta-ibm: witherspoon: fan-watchdog: set LICENSE field
meta-ibm: witherspoon: thermal-policy-native: set LICENSE field
meta-ibm: witherspoon: inventory-cleanup-native: set LICENSE field
meta-ibm: witherspoon: power-supply-policy-native: set LICENSE field
meta-ibm: witherspoon: power-supply-sync: set LICENSE field
meta-ibm: palmetto: ipmi-inventory-map-native: set LICENSE field
meta-ibm: palmetto: led-manager-config-native: set LICENSE field
meta-ibm: dbus-interfaces-mapper-config-native: set LICENSE field
Change-Id: Ic74e30b1cdd013c7d293dffc9423035632f92e43
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set wildcard for mrw-native append and folder.
(From meta-ibm rev: 513a0cfe065358ab35f153f8be7654f786f5a570)
Change-Id: Id989b0f082e6c1a6d9c32471b786d90b516f65e6
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop symlink and rename bbappend for obmc-libobmc-intf.
(From meta-ibm rev: 27809259718e262711a08a6b56531eab3df86bee)
Change-Id: I2a4e5963a95e6691a55802b06b09802610cdaa9b
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set the wildcard for version for obmc-libobmc-intf_%.bbappend
(From meta-ibm rev: aab56a79b053d0f1c38602170f92c018c0003e20)
Change-Id: I3e22edf832421011e94e41270f811e3335c74549
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
palmetto-config.bb inherits config-in-skeleton, which is git-based.
(From meta-ibm rev: c5aa5e9ed72fcf87f60655d82856ce40da71c49c)
Change-Id: Iaac4451129ef02302875bda88dcbf8be87bc35a6
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename phosphor-hwmon%.bbappend to phosphor-hwmon_%.bbappend.
Tested: Built palmetto and verified rootfs contained sensor confs.
(From meta-ibm rev: 9a7111ad913d24d65959eab8ac62fbadac4e500d)
Change-Id: I11f974659b6e5974e48c8004a4ea8ac56ffb6ca7
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update the ipmi sensor config yaml for Palmetto.
Added missing sensors, e.g. core/dimm temp, power.
The yaml is generated based on palmetto rpt:
sensor_yaml_config.py -i config.yaml \
-o output.yaml -f -r palmetto.rpt
Tested: Verify ipmitool sensor prints the added sensors.
(From meta-ibm rev: db91cc8e155b9322c976e41c670385e2c72d913b)
Change-Id: I58acf8dd50daf02b79ae3e50998d31b569bdc073
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
These GPIOs are used by the code in the skeleton repo.
(From meta-ibm rev: 2ba966c18046651d2115d732cbb0ed8b231bafad)
Change-Id: I58a5087252b5dc6a98174837305485925c07c712
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update occ sensor names to make it consistent with Witherspoon.
Tested: Verify the sensor names are updated via REST API.
(From meta-ibm rev: fc7a1853fd16af0e58bcf104bd1f9585b1f36a20)
Change-Id: Ia2b31ecfd591c580d8ec382fe7d26b30fd34d427
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The new subtree model brings the subtrees up from the openbmc-machines
layer.
Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|