summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-romulus
AgeCommit message (Collapse)AuthorFilesLines
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 Bishop18-25/+25
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-05-09meta-romulus: layer.conf: set BBFILE_PATTERNBrad Bishop1-1/+1
Bitbake uses this regex to associate recipes and bbappends from BBFILES (which contains recipes and bbappends from -all- layers listed in bblayers.conf) to this layer. The association is then used to map the BBFILE_PRIORITY value for this layer onto the recipes provided by this layer. BBFILE_PRIORITY is used to determine which recipe to use when the same recipe appears in multiple layers. Without BBFILE_PATTERN set, recipes in this layer will get a default priority and not the priority specified in BBFILE_PRIORITY. This layer doesn't set a priority anyway, so functionally this patch is a noop but it is an improvement from a correctness standpoint, and it makes a warning go away: WARNING: No bb files matched BBFILE_PATTERN_foo-layer (From meta-ibm rev: 8b843642e36fc9d1ac8921a98dd2710dccf1e514) Change-Id: I5c6102045f5aaa6146dc1902b106063896d073b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-romulus: add occ-control-config-nativeLei YU3-0/+25
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-07meta-ibm: remove phosphor-isolation from witherspoon and romulusLei YU1-1/+0
The distro feature phosphor-isolation is added into openbmc-openpower distro feature and becomes common for all openpower machines. So remove them from meta-witherspoon and meta-romulus. This shall be merged after the commit of adding phosphor-isolation in openbmc-openpower is merged. Tested: Verify the Romulus build picks phosphor-isolation distro feature (From meta-ibm rev: 90f4ccb72200c26d13d3bbd70b6eb7cd90c3dff7) Change-Id: I8e64bee92eaa7c69928399ceedec6f889a713156 Signed-off-by: Lei YU <mine260309@gmail.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-04-05meta-ibm: layer.conf: Add warrior compatibilityBrad Bishop1-1/+1
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-ibm rev: 97893b2c0bf39cfaee58ccfc4f85249f9a1d8abf) Change-Id: I2e772add384637011a80acf52861b88ac71be98b 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>
2019-02-06ibm: remove useless ibm.inc configuration fileBrad Bishop1-1/+1
ibm.inc simply includes openpower.inc. That, and meta-ibm is a distro policy layer and doesn't enable any specific hardware. Update machine configurations to include openpower.inc directly. Add a conf/distro/include/ibm.inc to meta-ibm at a later time when meta-ibm has distro policy to apply. (From meta-ibm rev: 3d1be91f99c646b350c02bfe1004a019cd436c13) Change-Id: I4bf1e9badba105f4ed10c478f7d5473e3f169791 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-05ibm: remove meta-webserver from bblayers.confBrad Bishop1-2/+0
With the recent move to bmcweb we don't need meta-webserver anymore. (From meta-ibm rev: a5231caf14dd78aa451621644bb60069eea17009) Change-Id: I92f760321d38f99e651e3a6ae4d689f0bfb337ff Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-11meta-romulus: Disable unnecessary hardware featuresAndrew Jeffery2-1/+3
(From meta-ibm rev: e98ac73825bddbd95a4b931073c4481fe535cff8) Change-Id: Ifb4a4e48c9767e1fb388e8f07b076cf55e92733d Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-09reset upstream subtrees to yocto 2.6Brad Bishop1-1/+1
Reset the following subtrees on thud HEAD: poky: 87e3a9739d meta-openembedded: 6094ae18c8 meta-security: 31dc4e7532 meta-raspberrypi: a48743dc36 meta-xilinx: c42016e2e6 Also re-apply backports that didn't make it into thud: poky: 17726d0 systemd-systemctl-native: handle Install wildcards meta-openembedded: 4321a5d libtinyxml2: update to 7.0.1 042f0a3 libcereal: Add native and nativesdk classes e23284f libcereal: Allow empty package 030e8d4 rsyslog: curl-less build with fmhttp PACKAGECONFIG 179a1b9 gtest: update to 1.8.1 Squashed OpenBMC subtree compatibility updates: meta-aspeed: Brad Bishop (1): aspeed: add yocto 2.6 compatibility meta-ibm: Brad Bishop (1): ibm: prepare for yocto 2.6 meta-ingrasys: Brad Bishop (1): ingrasys: set layer compatibility to yocto 2.6 meta-openpower: Brad Bishop (1): openpower: set layer compatibility to yocto 2.6 meta-phosphor: Brad Bishop (3): phosphor: set layer compatibility to thud phosphor: libgpg-error: drop patches phosphor: react to fitimage artifact rename Ed Tanous (4): Dropbear: upgrade options for latest upgrade yocto2.6: update openssl options busybox: remove upstream watchdog patch systemd: Rebase CONFIG_CGROUP_BPF patch Change-Id: I7b1fe71cca880d0372a82d94b5fd785323e3a9e7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-18ibm: remove setting root pw from local.confBrad Bishop1-7/+0
With meta-phosphor commit fd1f696f99 this is done by the distro configuration; so, no need to do it in local.conf. (From meta-ibm rev: 0525b1723095b6c47af7892ca90f328f92270815) Change-Id: I6fdbf055b24adf768efdd86132faa7f1fffc56f9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-20ibm: Remove unused meta-poky layerBrad Bishop1-2/+0
The meta-poky layer is unused. Remove from the layer configuration. (From meta-ibm rev: 7bafd24c1b15a87e25c5386236527c863908121f) Change-Id: Ia589ac6a06af433e8af8cb858ec1a91af962768b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-09meta-ibm: romulus: set mrw licensePatrick Venture1-0/+2
Set the license fields for the machine-readable-workbook. (From meta-ibm rev: 7fc06531434db3ff03b148f7a8bd1925a094ec94) Change-Id: I0d494889f62de9804f61b8a97b118482bbe2868b 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-24meta-ibm: Rename bb file collectionsBrad Bishop1-3/+3
Typical upstream layers have a -layer suffix. Rename collections from foo to foo-layer to match this de-facto standard. Some existing layers that use this convention include: openembedded-layer networking-layer perl-layer virtualization-layer (From meta-ibm rev: 32478afb0f68ba711b816d1dbaecf379c67cc928) Change-Id: I5c22956cf289263d5cef1e3c1babb2d1f5a10a3d 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 Cobbley70-0/+6508
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>