summaryrefslogtreecommitdiff
path: root/meta-hpe
AgeCommit message (Collapse)AuthorFilesLines
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-13/+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-11-22meta-hpe: Update meta-hpe/README.mdMike Garrett1-1/+1
Fix to conform to new model where we don't commit to the meta-hpe repo Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I38970e8f871ded204831d1009a5d9ba32349a483
2021-11-22meta-hpe: Fix pointer to hpe-common layer supportMike Garrett1-1/+1
Fixed the path to the common layer for HPE systems Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I9f0b0d1445ccd7de72669a317a331a2aa7bb18f6
2021-11-22meta-hpe: Move from 5.10 kernel to 5.14 with GXP supportMike Garrett3-3/+7
This is a temporary stop on the way to 5.15 Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I5c750c61b3d3e1561eb4cfb53989bde9fd2b1e58
2021-11-22meta-hpe: Update SRCREV of U-BootMike Garrett1-1/+1
New I2C driver and FRU EEPROM detect and read Fetch MAC address for network boot of BMC Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I8ff7fc7b40fa720babbc9912642f500086573743
2021-11-18meta-hpe: Update OWNERS and MAINTAINERSMike Garrett2-8/+8
Update OWNERS and MAINTAINERS files with updated contact info. Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I2816d27b714e1fcc88d767049b2b95d874890eda
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams2-0/+3
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams2-3/+0
Every machine layer treats 'system-management' as either part of a package-group or removes the feature. The sample implementation in meta-phosphor is a do-nothing shell script (and up until recently was a Python script). There appears to be no useful purpose to this feature as a stand-alone concept, so remove it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-10-15meta-phosphor: image: update ConfigParser class namePatrick Williams1-1/+1
As a follow up to 400d9dab03e25d992429f94296caa4938c281fbd, fix the deprecated SafeConfigParser to ConfigParser across the tree. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iabf941889eed97a996b739d77c8107f1f35ce5bf
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-07meta-hpe: Add time sync on boot and use x86-power-controlMike Garrett2-1/+11
Add a post boot command to sync time Use x86-power-control for chassis host power management Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I2f52cfc15eab4f2a63434e44b4e0c8f7d8eb0393
2021-09-07meta-hpe: Fix host-boot enable override functionMike Garrett6-2/+116
Code restructured to make the DL360poc the override case Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I615e040a3329d1af7f8861d751794be5f4a31836
2021-09-07meta-hpe: Add jsnbd and and busybox configMike Garrett4-0/+81
Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: If827b0d5e66a403942b28692ca738c99adc9da72
2021-09-07meta-hpe: Update Linux kernel to 5.10 from 5.7Mike Garrett5-149/+162
Linux kernel and DTS updates Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I365e1b6d1d060c131c9d7a1b0f76ef9256f0e73f
2021-09-07meta-hpe: Update U-Boot from 2019.07 to 2020.10Mike Garrett8-9/+120
Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I538f9e74fdc90d3eb1e7e778b2ff99777b0d07d7
2021-08-31meta-hpe: Update binary bootblock recipes for GXPMike Garrett6-4/+30
Update the build recipes for the GXP binary bootblock that runs before U-Boot. The code has been restructured such that the DL360POC machine is the exception, so this includes the overrides for the DL360POC. Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I507a6e32c7c72613dbd1239824f528f0f60d1f6f
2021-08-27meta-hpe: Edit OWNERS and MAINTAINERS filesMike Garrett2-2/+2
Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I5cc4285e6a0459a8aab5bf8494c23d4235d43193
2021-08-25meta-hpe: Changes to support Yocto syntaxMike Garrett12-92/+107
Changes to support Yocto syntax changes and latest 'honister' release Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I9cc4eb78b90d9b73bcd0440e6f6f6334fe459481
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams3-3/+3
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-17Fix path to udev rules filesAnton Blanchard1-2/+2
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-10Remove redundant code to set root passwordJoseph Reynolds1-5/+1
Background: The OpenBmc project default root account password is set in meta-phosphor/conf/distro/include/phosphor-defaults.inc and can be customized in each layer's local.conf file. Many of these local.conf.sample files had redundant code to set the password, which probably should not have been there. Removing them allows the defaults in phosphor-defaults.inc to take effect. Tested: No. Only meta-ibm was tested. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: I76dce00d269d7afa005d7bcfd63f846d3cf45596
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 Geissler3-3/+3
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
2021-03-01Remove phsophor-gpio-keys as a standalone featureJoel Stanley3-12/+0
The feature was implemented as an append to the kernel (BSP) layers in meta-phsophor. This created a three way dance between machine layers, BSP and meta-phosphor, when it should have been the kernel layer providing this feature and machines could then opt in. Fixing this means we could remove the KERNEL_DANGLING_FEATURES_WARN_ONLY workaround. As the feature is simply turning on a pair of kernel options without any other impact, we can implement it by adding the options to our defconfigs. In fact, aspeed and hpe kernel configurations enable the two kernel options: $ git grep CONFIG_KEYBOARD_GPIO=y meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig:CONFIG_KEYBOARD_GPIO=y meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g5/defconfig:CONFIG_KEYBOARD_GPIO=y meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g6/defconfig:CONFIG_KEYBOARD_GPIO=y meta-hpe/meta-gxp/recipes-kernel/linux/linux-obmc/defconfig:CONFIG_KEYBOARD_GPIO=y $ git grep CONFIG_INPUT_EVDEV meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig:CONFIG_INPUT_EVDEV=y meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g5/defconfig:CONFIG_INPUT_EVDEV=y meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g6/defconfig:CONFIG_INPUT_EVDEV=y meta-hpe/meta-gxp/recipes-kernel/linux/linux-obmc/defconfig:CONFIG_INPUT_EVDEV=y Other machines that wish to enable this feature should ensure it is added to their BSP's defconfig, or add it to their machine specific defconfig. Change-Id: I0726836319022f96c1d13d4a0cbd73708047302c Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-01-13Change Owners Plugin in meta-hpeEd Tanous1-3/+3
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. Some commits pointed out that we should identify by email instead of name. This commit changes the existing owners to use email instead of name. (From meta-hpe rev: 12b5fa18c5da9e206df8ddf53128e92796454d28) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Ic508638ebb8cb7fea5064eaeebc67c148cc2c4e4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-08Add Owners Plugin to meta-hpeEd Tanous1-0/+4
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-hpe rev: 1dc5806499282d53f20ddf4ceb443416d6fa333b) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I194b780b015e063f6d49eb32faacbe2f934ce139 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-30meta-hpe: update Yocto compat for gatesgarthPatrick Williams2-2/+2
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-hpe rev: 8a63411fb4d67d675f4ad3790ecbb1d2ec078bea) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I730e1762c251a9977814b2593850f32cc09b3377 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-05Removed 2 names from the list of MaintainersJorge Cisneros1-2/+0
(From meta-hpe rev: fd63049b884c3faa8e0c715a62b38266218cdc70) Signed-off-by: Jorge Cisneros <jorge.cisneros@hpe.com> Change-Id: I4faaadd3959cf83d4d67d5bcef1d7259af385d5c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-05meta-hpe: 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 dunsfell (previous). (From meta-hpe rev: bd9e1ac37e64df602226aa0d6c5e205d8d19d84c) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I03dbb43228ed250642b976f9aa55b6ab4d40d54f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-11Fixed issue caused for the new Yocyo featureJorge Cisneros1-0/+4
(From meta-hpe rev: f42c9f4faf397a9899fc06a39af4f385867b3a5a) Signed-off-by: Jorge Cisneros <jorge.cisneros@hpe.com> Change-Id: I92ff13297b1b53b8e8ec5e4dd1916acd071ad356 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-09Added new layers and new conf dl360pocJorge Cisneros28-0/+2152
(From meta-hpe rev: 32ae68cd72e95760e004fa6443278e4e703535c0) Signed-off-by: Jorge Cisneros <jorge.cisneros@hpe.com> Change-Id: I611c734ab19f6a5a3bded6b8979791560ced082d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-09-09Initial commit to support HPE DL360 POC servers.Jorge Cisneros5-0/+311
Signed-off-by: Jorge Cisneros <jorge.cisneros@hpe.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I71fe33468398ca0b736fa5690c480a031a903d6a