summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-romulus/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-07-20treewide: inventory: switch ChassisType to future enum valuePatrick Williams1-1/+1
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
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2020-10-29Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-64/+64
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>
2020-10-14disable warm reboot on romulusAndrew Geissler1-0/+2
Similar to commit 567a8d for witherspoon, this issue has now popped up on Romulus hardware. The concept of warm reboot (reboot the host without removing chassis power) was added a while back as a part of clarifying support for the Redfish ComputerSystem.Reset Action. It has since been found that some IBM hardware, including Romulus, do not support warm reboots. The issue is intermittent and depends on the reboot being requested while the host is in the middle of some i2c transactions. If a warm reboot occurs during this window, then on the subsequent boot the i2c hardware will be in a bad state and the host firmware is unable to recover it. Given this issue, it has been requested that BMC software go back to doing cold reboots (cycling power to the chassis during any reboot request) on this hardware. (From meta-ibm rev: 718f2b5405c2c1f000cc0ccbf2860a283997c08a) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I31810e89977532d4368050871aba03d78deb9c59 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-28meta-ibm: Remove references to vcs-workaroundJoel Stanley1-1/+0
This was a P9 DD1 workaround. These systems are no longer supported and are not found in the wild, so the workaround has been retired. All of the p9 systems in the tree exclude the package so this change should be a noop. (From meta-ibm rev: 38c5c9539fb3f01fc2b96d483701938bffdf48a0) Change-Id: I1c7786526dee4d9bb0d5db916890c1cbe3d51577 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-14meta-romulus: Add inventory-cleanup.yamlLei YU3-0/+34
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 Romulus with this change. It was 404 without this change. (From meta-ibm rev: 41b829feead473e5541f7d4c3c075e2b1a525c45) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ie091ad32315fb4b4e45d8b35966a7a238dd1d539 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop7-7/+7
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>
2019-09-18meta-romulus: Remove cooling-typeLei YU6-50/+1
The cooling-type in phosphor-fan is optional, and Romulus is a air-cooled system and does not require cooling-type application at all. Remove the cooling-type app and the related configuration files. Tested: Verify the generated phosphor-fan related hpp and cpp files are identical as before, and the system is able to power on and do fan monitor/control without problem. (From meta-ibm rev: 3168f5e5fb59bd37eed1600d42a8d6fc02875fea) Change-Id: I30f47ef63f4ff5bea89f31966273930baaf070ea Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: remove execute perms from data filesBrad Bishop1-0/+0
(From meta-ibm rev: 8f7ff601395419a933eb0506d5cc07fd805f7708) Change-Id: Iffb2c550511b4024b721c2ba81aec1f909ce7703 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09romulus:pfp: Performance enhanced eventsMatthew Barth2-99/+137
With updated from openbmc/openbmc#2911, event actions are now able to be configured with group subsets and event timers are now included in the available event triggers. Actions with group subsets allow a single event's set of triggers to run actions against a given group subset instead of the entire event groups. Also, with timers being included as a trigger, events can be configured with or without a timer instead of a disabled timer being created for events that previously did not require a timer. Tested: Generated code is functionally equivalent to previous yaml (From meta-ibm rev: 03eacc4ef87b3b89cf36aab977ff4eab68f8b4fc) Change-Id: Ib7eadf5b7c2cb27440e5944348460295334b9f13 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-28meta-ibm: Pin phosphor-fan to d9a580aa50Matthew Barth1-1/+2
This allows upstream to drop some backward-incompatible changes while the yaml in meta-ibm gets updated to the new format coming in from upstream. (From meta-ibm rev: 81ca4572471629b5114a52afb50a84d9e2cc92d1) Change-Id: Ia554f14c624d236e02d7898d2f95e7a90384dadf Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-21meta-ibm: romulus: new YAML dependency schemeBrad Bishop14-4745/+18
A prior patch added a new recipe romulus-yaml-config to provide all the YAML configuration for Romulus 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: 66ca8269544784908b0abf78715620adf04d69cc) Change-Id: I02305ec4c431122ae6ab440c5dcb3def509b7ff9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-13meta-ibm: romulus: new YAML config recipeBrad Bishop6-0/+4641
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 Romulus 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, romulus-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))): romulus-ipmi-fru-properties-native:extra-properties.yaml -> romulus-yaml-config:romulus-ipmi-fru-properties.yaml romulus-ipmi-fru-read-inventory-native:config.yaml -> romulus-yaml-config:romulus-ipmi-fru.yaml romulus-ipmi-fru-read-bmc-inventory-native:bmc-fru-config.yaml -> romulus-yaml-config:romulus-ipmi-fru-properties.yaml romulus-ipmi-inventory-sel-native:sel-config.yaml -> romulus-yaml-config:romulus-ipmi-inventory-sensors.yaml romulus-ipmi-sensor-inventory-native:config.yaml -> romulus-yaml-config:romulus-ipmi-sensors.yaml (From meta-ibm rev: 67b17f7aa658b71908de47aa0b0814530da36259) Change-Id: I3953274db23f9ccf8cb74d3962e797bf935d61a8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-11meta-ibm: romulus: drop channel.yamlBrad Bishop2-12/+0
These files aren't used by ipmid anymore, so drop. See host-ipmid change 41ac50530a for details. (From meta-ibm rev: dfd8a072958aa531a41d7fbb190675c66b75e15c) Change-Id: I3aaab61c24fa0a4167cb04b60e577c1761605887 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29meta-romulus: Set RemainAfterExit for phosphor-cooling-type serviceLei YU1-0/+2
The service phosphor-cooling-type is required by multi-user.target and thus will be started by default. In case multi-user.target is started for multiple times, this service will be startd for multiple times as well, and eventually get start-limit-hit failure. This commit adds RemainAfterExit=true so the service will be treated as started and thus will not be started for multiple times. Resolves openbmc/openbmc#3544 Tested: Reboot Romulus BMC when the host is on, and verify the BMC gets READY state after reboot. (From meta-ibm rev: fdd8f7bb1cca6b505d6b92c741d04a9c6bbfafa7) Change-Id: Ie3817296265c860d770333c59b591da9d083139c Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-28meta-romulus: Fix ipmi configsLei YU9-3/+59
The ipmi configs were using .bbappends to override the default ones. There was a change in OpenBMC about overriding variable assignments, that causes the .bbappends not working anymore due to they are native. This commit fixes the issue, by adding romulus specific configs to replace the default ones. Tested: Verify the ipmi sensor, fru are correct on Romulus. (From meta-ibm rev: e020d0d8973cb4fa36d382bc9af5c056e8d8e913) Change-Id: If804ced6d53c8c4433351b982ebcf079cd014f56 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-21meta-ibm: romulus: fans: switch to non-nativeBrad Bishop19-8/+8
meta-phosphor recently enabled target class config recipes. Those are preferable to native class config recipes because native recipes cannot be overridden based on MACHINE, so switch to target class config recipes. Switching to target class recipes consists of temporarily setting PHOSPHOR_FAN_CONFIG_USE_NATIVE_SYSROOT to 0, overriding the phosphor distro default of 1. After all OpenBMC BSP layers have moved to target class config recipes PHOSPHOR_FAN_CONFIG_USE_NATIVE_SYSROOT can be removed from meta-phosphor and any BSP layers. Any references to -native recipes are replaced with their target class counterparts. Any -native bbappends are re-worked to apply to their target class counterparts. Finally, use BPN instead of PN when setting FILESEXTRAPATHS, to avoid unfortunate directory hierarchies if these bbappends are copy/pasted and then used to bbappend a native recipe. Since this patch moves to target class recipes, this is a noop; however, this avoids unfortunate directory hierarchies with native bbappends such as: meta-base/recipes-foo/bar/baz-native.bb meta-base/recipes-foo/bar/baz/a-file meta-append/recipes-foo/bar/baz-native.bbappend meta-append/recipes-foo/bar/baz-native/b-file Using "${THISDIR}/${BPN}:" enables a more sensible hierarchy: meta-base/recipes-foo/bar/baz-native.bb meta-base/recipes-foo/bar/baz/a-file meta-append/recipes-foo/bar/baz-native.bbappend meta-append/recipes-foo/bar/baz/b-file This behavior occurs because By default FILESPATH is set in base.bbclass (in OE-Core) to look for files in ${BP}, ${BPN} and files (and a number of subdirectories of those based on ${FILESOVERRIDES}). (From meta-ibm rev: 589ee00a5ec7bc97c7d5c079cf66b3dbd3ac2b4f) Change-Id: I1a593373f1b4bc82c554a9330cdd75f04f21d1d8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-13meta-ibm: romulus: fix file search pathsBrad Bishop2-2/+2
Typically it does not make any sense to append to FILESEXTRAPATHS. FILESEXTRAPATHS is set in a bbappend when overriding something from another layer. The typical desire will be to make bitbake search for files in the layer with the bbappend and not some other layer earlier in the priority list. Further, appending to FILESEXTRAPATHS will introduce unexpected behavior when multiple layers append the same recipe - layers with higher layer priorities that append to FILESEXTRAPATHS will find their files overriden by files in layers with lower priorities. (From meta-ibm rev: e11f36155c0fc8a6cc4bb6ef5abee777b8ae6b5a) Change-Id: Idcd839211e009f260a38ae9cb6351154a8074c28 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-13meta-ibm: romulus: override variable assignmentsBrad Bishop17-24/+24
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: 0ccb228f770fe8688fd926ad822244fab6926298) Change-Id: I4f648d1c2232a6f246b63b8e46731b7ef1af13ac Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-13meta-ibm: romulus: Remove workbook recipeBrad Bishop1-6/+0
This recipe is only required by the legacy inventory manager, which is no longer used on Romulus. (From meta-ibm rev: 952dd07412311c294ad3ad767da97eb2512a781f) Change-Id: Ide0596e3834d94e1884a470c836bd7717246ec33 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-romulus: add occ-control-config-nativeLei YU2-0/+24
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 Romulus. Add romulus-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 Romulus's occ_sensor.yaml. (From meta-ibm rev: 54abf3c0be5618333cb37faebc55af48aa2a872b) Change-Id: Iaa3adf0d20e5b6d080866dd1b19fa3ee7f4d7369 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-24phosphor-fan-presence: srcrev bump 59096e50db..71779ab4b3Andrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin meta-ibm: phosphor-fan: grab cooling-type from bindir The output binaries from phosphor-fan-presence are now installed into bin instead of sbin. Change-Id: I2d42f62b4535775ffd0d1b9473375dd8dc66bb61 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-ibm: move all services to multi-user.targetPatrick Venture3-3/+3
Instead of obmc-standby.target, use multi-user.target. (From meta-ibm rev: 85cff8cc9e66049d8ac26271c13f82d894ac572f) Change-Id: I03c3d41c031343fa584511889c70e3def92cb83d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-ibm: romulus: Update I2C hwmon paths for the 5.0 kernelPatrick Venture2-1/+1
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-ibm rev: 3de23010065c681179a508af1cda2daee31f2725) Tested: Verified paths visually, but not tested on hardware. Change-Id: Ia5474cf5c0b952cc765582a59868d0138570b2ef Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-ibm: master refresh baedc91099..a00d9b8a84Brad Bishop8-8/+16
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>
2018-11-08romulus: Remove avbus-workaroundJoel Stanley4-34/+3
This was a workaround for DD1 (pre-production) hardware. Jordan Keuseman <jkeusema@us.ibm.com> wrote: > That was an issue back in DD1 time frame where the VRM needed to > change their signal voltage thresholds for AVS bus to work around a > problem where the processor was putting out a runt pulse in the final > bit of the transaction. They fixed that in the silicon so we got rid > of the work around. This was removed from Witherspoon when dropping DD1 support from OpenBMC. We can remove it from Romulus and other platforms too. (From meta-ibm rev: baedc91099960c0e582a98e465e190ff9c3aa9cc) Change-Id: I8266c154505d3b4fb268cd7c44aa84f5a4be0301 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-30meta-ibm: romulus: phosphor-software-manager: drop symlinkPatrick Venture2-2/+1
Drop symlink and rename bbappend for phosphor-software-manager. (From meta-ibm rev: b4a0a983ff709f0fb60916e5b7bd11ea60ce0fec) Change-Id: Ibc07e2011f712a9b5a60416c88c95dd7e72d7f64 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-29meta-ibm: romulus: phosphor-software-managerset version wildcardPatrick Venture1-0/+1
Set the wildcard for version phosphor-software-manager_%.bbappend (From meta-ibm rev: a9b4b696c565d5a50021452809704ab5aa480516) Change-Id: Icd4835674be6ddc90ec1412b5d31d9100e3883ce Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-25meta-ibm: romulus: skeleton: obmc-libobmc-intf: drop symlinkPatrick Venture2-2/+1
Drop symlink and rename bbappend for obmc-libobmc-intf. (From meta-ibm rev: f50ccc0eafacaca6c9ae62abc37c501cfe2a47bd) Change-Id: I5efdeae2065c0b59faffc65f652b42a90ba9f384 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-24meta-ibm: romulus: skeleton: obmc-libobmc-intf: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for obmc-libobmc-intf_%.bbappend (From meta-ibm rev: 342c6afc1cae9b721b499d8d8175b3b3f5ee262a) Change-Id: Ib9aa6cce31d5200f38660fa801b5d1c1aee4818d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-ibm: romulus: mboxd: drop symlinkPatrick Venture2-2/+1
Drop symlink and rename bbappend for mboxd. (From meta-ibm rev: f7f5a29be7af7c28b58e4f9117351abeebc74e01) Change-Id: I36b2c56b6d7f40d138c684ee00fe272aad0ad07d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-ibm: romulus: phosphor-ipmi-host: drop symlinkPatrick Venture2-9/+8
Drop symlink and rename bbappend for phosphor-ipmi-host. (From meta-ibm rev: ee7ca7bda20712fea1ad0f90a93f203a054bc923) Change-Id: If63cb164ad6a19beede13408b6a3b2eeeb1afdc9 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-ibm: romulus: state-manager: drop symlinkPatrick Venture2-2/+1
Drop symlink and rename bbappend for phosphor-state-manager. (From meta-ibm rev: acb6107f29536ee86f47ab192c12508d310100c4) Change-Id: I33e81bba42aa2931770085fb6ce0dc4f5906a751 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-ibm: romulus: phosphor-fan: drop symlinkPatrick Venture2-23/+22
Drop symlink and rename bbappend for phosphor-fan. (From meta-ibm rev: c2cff867a39ea68c246687137d1cfae2a16252a6) Change-Id: I86496512904227954d4086a7dd43402c9870ca17 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-ibm: romulus: phosphor-fan: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for phosphor-fan_%.bbappend (From meta-ibm rev: bd2065117149b58f662babc780c329048c49c9e5) Change-Id: I4187fd22e2c25d7d7e3058bf381a083fd4d691b1 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-ibm: romulus: mboxd: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for mboxd_%.bbappend (From meta-ibm rev: b2e666b6d79d6253c9e7c1b5834a4ade324dabf6) Change-Id: I5e3f76263fcb0f1ee7612370a0540da1179bd787 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-ibm: romulus: phosphor-ipmi-host: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for phosphor-ipmi-host_%.bbappend (From meta-ibm rev: 0aff7374cb7a8f7fa1a8e87a15f869a098ef8a6d) Change-Id: I6e3610c6999725aa801e9c86af4e21a70e01c94d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-ibm: romulus: config: rename as gitPatrick Venture1-0/+1
romulus-config.bb inherits config-in-skeleton, which is git-based. (From meta-ibm rev: 3f878f48ed593104fee6b286e232c825150c099e) Change-Id: Ie0d1870fafa87e4c5bcb19116fd625f8741d84b8 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-09meta-ibm: romulus: state-manager: set version wildcardPatrick Venture1-0/+1
Set the wildcard for version for phosphor-state-manager.bbappend (From meta-ibm rev: b8e9c4f4f0d65680706019753ced99c6307a8185) Change-Id: Ib6ee3b01aed376455e40b4060c35019d93d1badb Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-04meta-ibm: romulus: rename phosphor-hwmonPatrick Venture6-0/+0
Rename phosphor-hwmon%.bbappend to phosphor-hwmon_%.bbappend. Tested: Built romulus and verified hwmon confs were in rootfs. (From meta-ibm rev: 1b03bd798e93438e60d16ea7ada0917a658f798a) Change-Id: Ic248bd7a7e17da96e813c665f76ed1767f792d9f Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-27meta-romulus: Add GPIOCHIP in iio-hwmon-battery.confLei YU1-0/+1
phosphor-hwmon requires GPIOCHIP to be set for GPIO gating. Add this config for Romulus to make it work. Tested: Verify the rtc voltage is read correctly. (From meta-ibm rev: c7ec794a9542fbce0899f7ed272df835567eb3e1) Change-Id: I8f52c17d4459d04c966b1c20c2d10a2d216c038d Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-18meta-romulus: Add ipmi configsLei YU4-0/+270
Add ipmi configs for Romulus, where: * cipher_list.json and dcmi_cap.json are the same as Witherspoon; * dcmi_sensors.json is specific for Romulus, and the cpu core temperature configs are generated by sensor_yaml_config.py tool: sensor_yaml_config.py -i config.yaml -o output.json -d * dev_id.json is comes from Witherspoon, but manufacture the product id is left as 0, since Romulus is just a reference platform. Tested: Verify ipmitool dcmi commands work ok on Romulus (From meta-ibm rev: 60365ca96bdf3fee1d1fe29a4508e2b738b85739) Change-Id: I194de796feb6ffd9207d1ac7a0ef19b3f8df4b5c Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-13meta-romulus: Add iio-hwmon-battery configLei YU2-0/+10
Romulus has RTC battery monitored by aspeed adc, add the config for hwmon to create /xyz/openbmc_project/sensors/voltage/vbat dbus object. Tested: With romulus dts enabled iio-hwmon-battery, verify the above vbat dbus object is created and the value is expected. (From meta-ibm rev: 72cab616d3ba7ecb777e6e53d1d0f602ea25da58) Change-Id: I1acb4890aa68cb87f145d28e3fbcac1264ed4285 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28Add Romulus GPIO JSONMatt Spinler2-0/+73
These GPIOs are used by the code in the skeleton repo. (From meta-ibm rev: 55b2003b3e07c7d45f94409eaf636f0335571152) Change-Id: I88f44342a587b8dccaa845bff59c35e1414d1358 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley62-0/+6210
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>