summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2
AgeCommit message (Collapse)AuthorFilesLines
2022-06-21phosphor-host-ipmid: srcrev bump 33d90e182d..0e7a8af0e5Andrew Geissler1-4/+4
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-05-23meta-inspur: fp5280g2: Remove phosphor-power-psu-monitorGeorge Liu1-1/+0
Since phosphor-power-psu-monitor is only applicable to IBM's p10 system and is disabled by default, it will not be applicable to Inspur's fp5280g2 system, remove it. refer to: https://gerrit.openbmc.org/c/openbmc/openbmc/+/53572 Tested: Successfully build image-bmc on fp5280g2 Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I2682324dc5bf04078d2b16c0796e5f86f49d3f31
2022-04-30treewide: remove meta-webserverPatrick Williams1-1/+0
No systems use content from meta-webserver (nginx, apache, etc.), so remove the clutter from our bblayers.conf.samples. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I89ab5ac8c19cd8aa486a2f42d24dcf68688e2408
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-20meta-phosphor: disable phosphor-dbus-monitor by defaultPatrick Williams1-0/+1
phosphor-dbus-monitor still uses autoconf and has a hard dependency on phosphor-snmp, causing phosphor-snmp to be brought in on systems that have no interest in using SNMP. The vast majority of systems do not supply any config for phosphor-dbus-monitor, so the usage of it does not seem wide enough to enable the IMAGE_FEATURE by default. - Remove 'obmc-dbus-monitor' from IMAGE_FEATURE by default. - Clean up all systems that manually remove the dbus-monitor feature or package. - Explicitly add the 'obmc-dbus-monitor' to the following systems: - meta-ibm: all - meta-inspur: fp5280g2 - meta-quanta: s6q Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iad6c4104466e21d1b9843dac964a634019eb6935
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-23phosphor-led-manager: automatically deduce use-{json,yaml}Patrick Williams1-1/+1
New systems should be using the 'use-json' model by default, but it currently requires a bbappend in order to enable it. Automatically detect based on the PREFERRED_PROVIDER of virtual/...-config-native if the intended use is JSON or YAML. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie674d1b901395b4fd41838b6e978ca1ff00b0277
2022-02-26treewide: remove image-prelink bbclass usagePatrick Williams1-1/+1
Upstream has removed the image-prelink bbclass[1], so remove it from any local.conf.sample that still has it enabled. 1. https://git.openembedded.org/openembedded-core/commit/?id=857baaf9e3d181ca18264e85d90b899fd94acff9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I70f42f8816f5dea207fcf5c34837d6796b3f6bb6
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-28Reduce flash spaceAlbert Zhang1-1/+1
The size of the zoneinfo file generated by adding tzdate is 1004B, The size of the zoneinfo file generated by adding tzdate-core is 572B,and the time zone related functions can still be used normally, but it can save 432B of space. Signed-off-by: Albert Zhang <zhanghaodi@inspur.com> Change-Id: Idd5211efc86274d12226cff65b847ffc04fe1cf5
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
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-11-16meta-inspur: fp5280g2: Add FRU information for PowersupplyGeorge Liu2-0/+72
Add the fru YAML configuration of Power Supply for fp5280g2. Tested: ipmitool -I lanplus -H ${IP} -U root -P 0penBmc -C 17 fru list FRU Device Description : Builtin FRU Device (ID 0) Board Mfg Date : Mon Jan 1 08:00:00 1996 Board Serial : 000000000000 Board Part Number : 0000000 FRU Device Description : cpu0 (ID 1) Board Mfg Date : Mon Jan 1 08:00:00 1996 Board Mfg : IBM Board Product : PROCESSOR MODULE Board Serial : YA1934426664 Board Part Number : 02CY296 FRU Device Description : dimm2 (ID 5) Product Manufacturer : Samsung Electronics Product Name : DDR4-2666 16GiB 64-bit ECC RDIMM Product Part Number : M393A2K43BB1-CTD Product Serial : 367f4c9d FRU Device Description : powersupply0 (ID 20) Product Name : powersupply0 Product Part Number : PS-2801-12L Product Serial : 6K12A0118446MM FRU Device Description : powersupply1 (ID 21) Product Name : powersupply1 Product Part Number : PS-2801-12L Product Serial : 6K12A0118362NS Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I04b45f5839f991f98b3f628db2246d4dced804c8
2021-11-16meta-inspur: fp5280g2: Update fru IDGeorge Liu1-56/+70
Generally we will set the fruID of the board to 0. Tested: ipmitool -I lanplus -H ${IP} -U root -P 0penBmc -C 17 fru list FRU Device Description : Builtin FRU Device (ID 0) Board Mfg Date : Mon Jan 1 08:00:00 1996 Board Serial : 000000000000 Board Part Number : 0000000 FRU Device Description : cpu0 (ID 1) Board Mfg Date : Mon Jan 1 08:00:00 1996 Board Mfg : IBM Board Product : PROCESSOR MODULE Board Serial : YA1934426664 Board Part Number : 02CY296 ... Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3912636105310855e59810cbc1fab4a4cad53a1b
2021-11-12meta-inspur: fp5280g2: Add tzdata repoGeorge Liu1-0/+1
Enable tzdata by default. Tested: built image successufully and verified that `/usr/share/zoneinfo` already exists. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I9f244cd50c5898c8f72247414e18b0c72c5a0c1a
2021-11-12meta-inspur: fp5280g2: Add phosphor-sel-logger repoGeorge Liu1-0/+1
Enable phosphor-sel-logger by default. Tested: built image successufully and saw that the sel-logger has been started. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I50062f8225d95f1092512c0956bdc1bdeb83949e
2021-11-12meta-inspur: fp5280g2: Add srvcfg-manager repoGeorge Liu1-0/+1
Enable service-config-manager by default. Tested: built image successufully and saw that the phosphor-srvcfg-manager has been started. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id5f66cea66d35f373b8157a3b0a2732edd018b40
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-13meta-inspur: fp5280g2: Remove duplicate configurationGeorge Liu1-1/+0
`install -d ${D}${sysconfdir}/default` has been configured in the libmctp_git.bb file, remove it. Tested: 1. Successfully build libmctp and image-bmc 2. Saw the `/etc/default/mctp` file in image-bmc Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I162d10b4a09ebe87388f4e3e4d9f79aa32a94230
2021-09-10meta-inspur: fp5280g2: Rename mctp package to libmctpGeorge Liu1-0/+0
Since the upstream has renamed the mctp package name (debf2b5), it will fail when building fp5280g2. Synchronously update the mctp package name of fp5280g2. Tested: built fp5280g2 image successfully. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ifdf4bc7955d182617532537f1f5fc59931d27eca
2021-09-08meta-phosphor: rename mctp package to libmctpJeremy Kerr3-1/+1
We're about to introduce a package for mctp utilities, called 'mctp'. However, the libmctp package already uses that name. This change renames 'mctp' to the upstream name of 'libmctp'. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Change-Id: Ia49a40c822e920d3bc36584cbc2c97b83828cfdd
2021-09-08meta-inspur: Yocto override syntax changeGeorge Liu1-2/+2
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I2b967fb31d9930074df17c108d06cfed489d1cf7
2021-09-07meta-inspur: fp5280g2: Add Item.CpuCore interface for Cpu coreGeorge Liu1-0/+48
Add xyz.openbmc_project.Inventory.Item.CpuCore interfaces to all processor cores. Tested: busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core2 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Association.Definitions interface - - - .Associations property a(sss) 1 "sensors" "inventory" "/xyz/openbmc_p… emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "" emits-change writable xyz.openbmc_project.Inventory.Item.CpuCore interface - - - xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional property b true emits-change writable Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia7acfbf8b0a90f7b97cb7df090a7469815a6434d
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams4-7/+7
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-31meta-inspur: fp5280g2: Enable biosconfig-managerGeorge Liu1-0/+1
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia66f5b4a95f54f7e537d0f0fba1ac70009002de5
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-13meta-inspur: fp5280g2: mctp: Enable astlpc-raw-kcsGeorge Liu1-0/+2
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I84391ed94df2a359652e4a372a3c0fac51c630ed
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 Liu37-68/+68
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-08-02meta-inspur: fp5280g2: settings: enable SOL by defaultGeorge Liu2-0/+20
Since 29086950(phosphor-net-ipmid) has updated the SOL parameters by obtaining the attribute values of the xyz.openbmc_project.Ipmi.SOL interface, it is necessary to enable SOL by default on fp5280g2. Tested by: 1. built phosphor-settigs successfully. 2. ipmitool -I lanplus -H x -U x -P x -C 17 raw 0x0c 0x22 0x00 0x00 0x00 0x00 Use the above command to successfully get the attribute value. 3. ipmitool -I lanplus -H x -U x -P x -C 17 sol activate ipmitool -I lanplus -H x -U x -P x -C 17 sol deactivate Use the above commands to successfully activate and deactivate SOL Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I7935fdebd833fe7ea0076942722e79ccf1ab2a3a
2021-08-02meta-inspur: fp5280g2: Switch ChassisType to future enum valueGeorge Liu1-1/+1
Since 178cae08d6(phsophor-dbus-interfaces) has converted the "Type" property in Inventory.Item.Chassis to an enumeration, need to update these default values in the YAML file. Tested: built phosphor-inventory-manager successfully and the `xyz.openbmc_project.Inventory.Manager` service has been seen. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I51d3b00d7d7e6cbb18b6e144ed87712419e5c483
2021-07-09fp5280g2: Add events-policyChicago Duan3-0/+151
Add events-policy for fp5280g2. Tested: Test ok. Example: When the event is triggered, the destination can receive the snmptrap. Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: Ice498f49f348199f3686b8ec3c6575156e47d0f2
2021-07-08meta-inspur: meta-fp5280g2: Fix append associations.jsonGeorge Liu1-2/+2
Fix the phosphor-inventory-manager_%.bbappend file and install associations.json to /usr/share/phosphor-inventory-manager/ Tested: built phosphor-inventory-manager repo successfully and saw the append associations.json file is successfully installed to /usr/share/phosphor-inventory-manager/ Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ic2c445f88794f359bef47170e8de446e8f7eb590
2021-07-08fp5280g2: Add libmctp configsGeorge Liu2-0/+10
Add libmctp configs for fp5280g2, and use `astlpc` as the startup parameter of the process. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id8737a745beb426b115522e75e0f434cadcbc253
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-06-04fp5280g2: hwmon: Add total_power configurationGeorge Liu1-0/+1
The intent behind this commit is to add the configuration of total_power, after power on, read the sensor value of total_power from occ-hwmon and successfully read it through D-Bus. Tested: ~# mapper get-service /xyz/openbmc_project/sensors/power/total_power xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1 ~# busctl introspect xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1 /xyz/openbmc_project/sensors/power/total_power NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Sensor.Value interface - - - .MaxValue property d inf emits-change writable .MinValue property d -inf emits-change writable .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change writable .Value property d 122 emits-change writable xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Iba09b549b0b0661ece8404d6d0ab307db8335779
2021-06-02fp5280g2: network: Enable First Boot Set MAC FeatureGeorge Liu3-1/+16
The intent behind this commit is to enable First Boot Set MAC Feature for Network Service and remove first-boot-set-mac. Because the `sync-mac` of the Network Service can set the MAC address at runtime(if the Inventory Objects are Added at Runtime). Tested: Built fp5280g2 successfully and saw eth0 & eth1 worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I99967f84c64cbcac34adf95cf6a5084f8b1a185d
2021-05-27fp5280g2: power: Enable power supply monitor featureGeorge Liu1-0/+2
This commit enables support for power supply monitoring Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I815ebd2e6135c4e858744c8c5d48121ccc7689dc
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
2021-04-21meta-inspur: fp5280g2: Remove extra slashGeorge Liu1-1/+1
The mssage is: WARNING: Recipe phosphor-fp5280g2-psu-update sets B variable with trailing slash 'work/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-fp5280g2-psu-update/1.0+git${SRCPV}-r1/git/', remove it. Tested: Built fp5280g2 successfully and without warnings. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6b039fe019f9cc9ea2dccf1636480fa08f00fb29
2021-04-21meta-inspur: fp5280g2: native class is not inherited lastGeorge Liu3-3/+3
- Moved "inherit native" statements to the last position to remove QA Issues. - This commit contains occ and vpd, the message is: WARNING: QA Issue: fp5280g2-openpower-fru-vpd-layout-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: openpower-fru-vpd.bbclass [native-last] WARNING: QA Issue: fp5280g2-openpower-fru-inventory-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: openpower-fru-vpd.bbclass [native-last] WARNING: QA Issue: fp5280g2-occ-control-config-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: openpower-occ-control.bbclass [native-last] Tested: Built fp5280g2 image successfully and without the warnings. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ifc6f90296a1921ec22267d33ab0bcb8ee0579dcc
2021-04-16fp5280g2: leds: Remove DEPENDSGeorge Liu1-3/+0
- DEPENDS is redundant and should be removed from the bbappend file. - Also, Remove install the phosphor-led-manager file. Tested: built phosphor-led-manager successfully and worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6797c2a860c64b74ea09881fd990e8298be96c6b
2021-04-16fp5280g2: leds: lamptest: Enable lamp test featureGeorge Liu1-1/+1
This commit enables phosphor-ledmanager to do lamp test Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I66bf7ba7e7a481b11e87d3a5f92de01a09f5eeee
2021-04-15fp5280g2: leds: Remove the virtual LED configurationGeorge Liu3-40/+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-15fp5280g2: leds: Use PACKAGECONFIG_append instead of EXTRA_OECONFGeorge Liu1-1/+1
- Since the phosphor-led-manager_git.bb file use PACKAGECONFIG to define `use-json`, should use PACKAGECONFIG_append instead of EXTRA_OECONF. Tested: Built ledManager successfully and saw use the JSON configuration file at runtime than the static led.yaml Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I91039207176e483bd83e670b1a2d72a58c7ff2e6
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