summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/conf
AgeCommit message (Collapse)AuthorFilesLines
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-14/+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-10-15meta-inspur: fp5280g2: Use the 64M layoutJohn Wang1-1/+8
This commit changes the uboot to u-boot-aspeed-sdk to fit the 64M layout Tested: tested on the real machine, the image booted sucessfully Signed-off-by: John Wang <wangzhiqiang02@inspur.com> Change-Id: If6087abe489f157ac3f75e7428dbfe329caa0957
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-08meta-inspur: Yocto override syntax changeGeorge Liu1-2/+2
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I2b967fb31d9930074df17c108d06cfed489d1cf7
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-12meta-inspur: Update CONF_VERSIONGeorge Liu1-1/+1
Since the upstream CONF_VERSION has been changed to 2, Need to sync the CONF_VERSION of the inspur layer. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I539f6a4033933b728131a684163a9ff6a58fdec7
2021-08-12meta-inspur: honister: Compatible yocto releaseGeorge Liu1-1/+1
Latest upstream yocto has moved on to the 3.4 honister release. Compatible with honister for all inspur machines. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I991415cb0db971d553eb374b7df8f634b00f4816
2021-08-12meta-inspur: Cleanup for Yocto override syntax changeGeorge Liu2-5/+5
Refer to: https://lore.kernel.org/openbmc/YQ1FD5q8KbhbXVBK@heinlein/ ``` poky/scripts/contrib/convert-overrides.py meta-inspur git grep "_[a-z0-9_/-]*[ :]" -- meta-inspur | grep ".bb" git grep -l _fp5280g2 -- meta-inspur | xargs sed -i \ 's/_fp5280g2/:fp5280g2/' git grep -l _on5263m5 -- meta-inspur | xargs sed -i \ 's/_on5263m5/:on5263m5/' git grep -l _virtual -- meta-inspur | xargs sed -i \ 's/_virtual/:virtual/' ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5ef5039691caf5e33fb865da0fdd70d95d7e3bdf
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+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-15fp5280g2: leds: Remove the virtual LED configurationGeorge Liu1-1/+0
- Previously, our purpose of using virtual LEDs was to use the default YAML and reconstruct the YAML configuration. - Currently, we use JSON instead of YAML, so we can remove the virtual LED configuration and use the default LEDs repo. Tested: Built fp5280g2 successfully and saw all the D-Bus object paths in the led-group-config.json file Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ib99c5e3f87539180812a6ec011a86b3774516663
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-04-01inspur: fp5280g2: move mac2 to machine configPatrick Williams2-1/+2
We have a distro feature used within u-boot-aspeed to control the use of MAC2. This is effectively a function of the machine and not a function of the distro. Move the 'require' statement from the openbmc-fp5280g2 distro into the fp5280g2 machine config to reflect this. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I03ce75d4d8288433cded9b8b5c5eb61763eafdfe
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-01-22meta-inspur: add com/ibm to OBMC_ORG_YAML_SUBDIRSGeorge Liu1-0/+1
Since inspur/fp5280g2 machine built requires `xyz/openbmc_project`, `org/open_power` and `com/ibm`. 1. `xyz / openbmc_project` is built by default in phosphor-dbus-interfaces repo. 2. `org/open_power` has been added to `meta-openpower/conf/distro/include/openpower-distrovars.inc`. 3. Need to add the `com/ibm` to OBMC_ORG_YAML_SUBDIRS in the inspur layer and require it in fp5280g2.conf. Tested: Built fp5280g2 and ran successfully. (From meta-inspur rev: 8427a0acfa3a9b2b397e72808999db9bccdd428f) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Idbed3f012d7c754752757b7b75496b743efbb3aa Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-30meta-inspur: update Yocto compat for gatesgarthGeorge Liu1-1/+1
Since the current release of Yocto is gatesgarth, Add and support for gatesgarth(current) and dunsfell(previous) in meta-inspur layer. Also, remove the two earlier releases(warrior and zeus). Tested: Built successfully on fp5280g2 and on5263m5. (From meta-inspur rev: 831b68cce11da461122ee20ad371d93b60a245b1) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I587a032a20bb645c452d16fbdc8adff3d35c965a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-fp5280g2: 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-inspur rev: c7540334485b74040773d3891febd74c359535fe) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I3091afb20e7fac7e81276873637b10100edb8872 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-inspur: layer.conf: add dunfell compatibilityGeorge Liu1-1/+1
Tested: Built successfully on fp5280g2 and on5263m5. (From meta-inspur rev: 9f97e52a7b7f5366732be3ffd73e08266f67dbb2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I55333bd59c44c6280ad54b07c164e74b5eb39a76 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-11-18fp5280g2: conf: Add meta-webserver to bblayersGeorge Liu1-0/+2
Add meta-webserver to use nginx recipe. (From meta-inspur rev: c89bec4b840664cdb60e084f65067efa60604c22) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6559faef3ea189830835688d0a3d779481b4d1d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23meta-inspur: layer.conf: add zeus compatibilityJohn Wang1-1/+1
(From meta-inspur rev: de520bd0ba379715784a0060ca941c3c272d6054) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I4e64add8166b48b3528473a1ef86fcde5c3dc550 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23fp5280g2: Add led manager configureChicago Duan1-0/+1
Use the "init-ok" gpio to notify CPLD that the BMC has been initialized. CPLD will cause the power button led to blink. Tested: When BMC is booted complete, the power button will blink (From meta-inspur rev: 66361442598357012e8c2357ab94ed3323a1d20b) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I5bbadd6de8058814d8765e02e137b58ea3f07278 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-12fp5280g2: Add recipe file for phosphor-gpio-monitorGeorge Liu1-0/+2
Add the power supply monitor application and configuration files Tested: Built phosphor-gpio-monitor and ran successfully on the fp5280g2 via dbus interfaces. (From meta-inspur rev: ea9932d3b56af3ff9a12689731bd8081b66af856) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5e365d7a979834f093b2a1b978ce22624be5bd8a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23fp5280g2: Add vpd configsGeorge Liu1-0/+2
Add vpd configs for fp5280g2, by adding the following specific configs for fp5280g2 to replace the default ones. openpower-fru-inventory openpower-fru-vpd-layout Tested: Manually update eeprom and verified vpd information are corrected on fp5280g2 via dbus and ipmitool commands. (From meta-inspur rev: 65f5494753ac5d477fb96aa163c0a8f633aaa078) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I311082d53a1339960d17db2f501c5c619b965fb8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-17fp5280g2: enable distro feature to support MAC2John Wang1-0/+1
Enable the distro feature phosphor-aspeednic-use-mac2 to support MAC2 This solution is not desirable but it works for now, For details please refer to https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/23415 (From meta-inspur rev: 1232c626caf2b991f0eabf8de0f6c3d46d023c45) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Id8bf7dfff51e007288a3120163a882050ab84116 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-05meta-inspur: Add meta-fp5280g2 machine layerJohn Wang6-0/+72
FP5280G2 is an openpower machine with onboard ast2500. Tested: Built fp5280g2 and verified the bmc-image is generated (From meta-inspur rev: c6e214b8172b7cbf5567f081902a87fe52d50050) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I95b49aaf8b0ad861901406d6c6cddde27a5b2dc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>