summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-palmetto
AgeCommit message (Collapse)AuthorFilesLines
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-07-18ibm: palmetto: Use v2019.04-aspeed-openbmc u-boot treeJoel Stanley1-5/+2
The OpenBMC u-boot tree now has support for the AST2400 based Palmetto and can use a single configuration for NCSI and non-NCSI boards. Change-Id: I7190b09bdffbfe045bb7c140bd5626932e86bdb6 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-06-21phosphor-host-ipmid: srcrev bump 33d90e182d..0e7a8af0e5Andrew Geissler1-3/+3
Harvey.Wu (2): dbus-sdr: fix SEL record Generator ID to fit SPEC dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable Jian Zhang (1): Add data types to Value to extend setDbusProperty Vernon Mauery (1): fix header install Willy Tu (4): cleanup: Remove all warning errors for the Meson build support build: Add meson build for phosphor-host-ipmi build: move all shared_library/module to library with version suffix build: Remove dynamicsensor library if it is not enabled Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Willy Tu <wltu@google.com>
2022-04-22treewide: drop unused meta-security layerBrad Bishop1-1/+0
This was added with cde0f094f for libseccomp, but shortly after that upstream moved libseccomp from meta-security to core (241c7d2e6). As such, meta-security is no longer used or required. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
2022-04-12treewide: Update BB_DISKMON_DIRS useGeorge Liu1-4/+4
Per [1][2], Yocto is starting to deprecate ABORT and has replaced the "ABORT" action in BB_DISKMON_DIRS entries with "HALT". 1. https://wiki.yoctoproject.org/wiki/Inclusive_language 2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5 Tested: Built obmc-phosphor-image successfully and eliminate the following warnings: ``` WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
2022-03-21Move Palmetto and Romulus from webui to webvueAbhishek Patel1-1/+1
Palmetto and Romulus were using phosphor-webui. phosphor-webui built on AngularJS, and AngularJS goes End of Life December 31, 2021. So Move Plametto and Romulus to use webui-vue. webui-vue is a modern replacement for phoshor-webui. Weui-vue is built on vue.js, uses Redfish, and has additional features like - Ability to easily theme to meet brand guidelines - Accessibility - Full Redfish - Improved user experience based on user feedback - Language translation-ready - Modern front-end framework with an active community and future development roadmap Tested: manually tested on Palmetto and Romulus system. Able to log in into the system using the latest webui-vue. Able to retrieve dump log and another log, all basic functionality is working. Signed-off-by: Abhishek Patel <Abhishek.Patel@ibm.com> Change-Id: I883a84552383f3d7f94d9227a11fc7410bc43ec5
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2022-01-18u-boot: Specify u-boot package for AST2400 machinesJoel Stanley1-0/+4
This sets u-boot to the package containing the v2016.07-aspeed-openbmc branch. This ensures there will be no change if the default changes in the future. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Iaf709343b966c39ca707a10ef57fa0010bf6eb6f
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-12/+0
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required. As it said by Yocto documentation it can be used by `Hob` https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE that already removed since Yocto-2.1 https://www.yoctoproject.org/tools-resources/projects/hob Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-09-16treewide: fix comments for rpm/ipkPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the choice is functionally arbitrary for image generation but control over the package format becomes important if we want to: 1. Include runtime package management functionality in the firmware image 2. Mess about with the packages on the build system With respect to 1 the IPK format and opkg (an ipk package manager) are designed for embedded systems[1] - by contrast to RPMs have heavier dependencies and a greater impact on the size and complexity of the firmware image. Regarding 2, the embedded nature and the need for opkg to work without much fuss leads to a lower configuration barrier by comparison to RPMs. With ipk it becomes possible to reuse the packages built during image preparation for core analysis without needing to generate an SDK: ``` $ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib $ MY_DEBUG_ROOT=tmp/rootfs-debug $ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \ -o $MY_DEBUG_ROOT \ update $ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \ -o $MY_DEBUG_ROOT \ install dbus-sensors dbus-sensors-dbg $ gdb-multiarch (gdb) set solib-absolute-prefix .../tmp/rootfs-debug (gdb) add-auto-load-safe-path .../tmp/rootfs-debug (gdb) file tmp/rootfs-debug/usr/bin/nvmesensor (gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000 Core was generated by `/usr/bin/nvmesensor'. Program terminated with signal SIGABRT, Aborted. pthread_kill.c:45 45 pthread_kill.c: No such file or directory. (gdb) bt pthread_kill.c:45 ../sysdeps/posix/raise.c:26 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 "xyz.openbmc_project.NVMeSensor", this=0x488f04) at /usr/include/sdbusplus/bus.hpp:234 ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159 (gdb) ``` This approach documented in the Poky Reference Manual: https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins Switch all machines to IPK to align the debugging experience with upstream's documentation and to facilitate efficient use of packaged software at runtime. [1] https://openwrt.org/docs/guide-user/additional-software/opkg Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-1/+1
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
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-11meta-ibm: Update local.conf.sampleAdriana Kobylak1-38/+78
Update with the latest version from upstream. Change-Id: I1a7da37b0457dab873afaf6445aca360d54b47ca Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak16-23/+23
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
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-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-2/+1
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+2
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2020-11-22meta-ibm: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunfell (previous). (From meta-ibm rev: 284e2ad06544f567582b2732a22e052190b5b95a) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic1cb74ebd387715b08feccd8b94bfd0be7d35205 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03gatesgarth: add support for new seriesAndrew Geissler1-1/+1
As we add support for a new series, remove support for the oldest. Little to no testing is done with older ones. (From meta-ibm rev: 6255d23fd68023fdc838d0a2262b43883b86be58) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Id63754bdc8ec82628cad23427bfdadafca380c15 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-29Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-21/+21
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-04-16dunfell: palmetto and romulus supportAndrew Geissler1-1/+1
(From meta-ibm rev: b2f780f527e156adff88c3c8e05fe87762266db6) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I523e93b55dd1333640ef7e84aa596b5efb06c4ca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-17meta-palmetto: Fix issues found by HW CILei YU2-2/+2
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>
2020-01-17meta-palmetto: 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 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>
2019-11-07palmetto: drop meta-ibm from build defaultBrad Bishop1-2/+0
Base hardware enablement support for meta-palmetto is provided by meta-palmetto and meta-openpower. meta-ibm adds advanced serviceability functions for IBM branded products backed by the IBM service structure. Palmetto is a reference platform for ODMs and/or OEMS building POWER8 based systems. End users cannot purchase support contracts for Palmetto systems. As such remove meta-ibm from the build configuration in the spirit of keeping the reference implementation mini and simplified. At a functional level this removes the ibm-logging application from images. Note that meta-ibm can always be re-integrated by simply adding it to bblayers.conf (From meta-ibm rev: 37a17426e42ecfc843e757732b01a81212a109e7) Change-Id: Ic0ea8778b249ae14f21093157793c046e2c1de81 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-05meta-ibm: layer.conf: add zeus compatibilityBrad Bishop1-1/+1
OE-core master will be dropping warrior soon; zeus is the next release. (From meta-ibm rev: 9c8d1b961e1185ab2e7eabf6f6b42754fcb57db0) Change-Id: I791f06ddb596584d1a566657a38ad6eb13692521 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop3-3/+3
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-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-06-21meta-ibm: palmetto: new YAML dependency schemeBrad Bishop9-1402/+12
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>
2019-06-13meta-ibm: palmetto: new YAML config recipeBrad Bishop4-0/+1395
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>
2019-05-23meta-ibm: palmetto: override variable assignmentsBrad Bishop8-10/+10
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>
2019-05-13meta-ibm: palmetto: fix up bbappend wildcardsBrad Bishop4-0/+0
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>
2019-05-09meta-ibm: palmetto: Remove workbook recipeBrad Bishop1-8/+0
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>
2019-05-09meta-ibm: palmetto: remove virtual overridesBrad Bishop2-2/+0
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>
2019-05-09meta-palmetto: 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: 7d7f662db06cc9f8e4a5bd9d18c68c4bb05d274c) Change-Id: I0ba9d2a6161b0da271111c710dc3267d0374b2a8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-ibm: spoon/palmetto: op-apps: remove fansBrad Bishop1-1/+0
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>
2019-04-26meta-palmetto: Update occ sensor object path in ipmidLei YU1-1/+1
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>
2019-04-26meta-palmetto: add occ-control-config-nativeLei YU3-0/+22
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>
2019-04-25meta-ibm: op-apps: remove obmc-button-resetBrad Bishop1-1/+0
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>
2019-04-07meta-palmetto: Use mboxd instead of aspeed-lpc-ctrlLei YU1-1/+1
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>
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-26palmetto: Update I2C hwmon paths for the 5.0 kernelBrad Bishop4-3/+3
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>
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-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>