summaryrefslogtreecommitdiff
path: root/meta-inspur
AgeCommit message (Collapse)AuthorFilesLines
2021-04-22build phosphor-hwmon with mesonMatt Spinler2-2/+2
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-16meta-inspur: Replace IRC with DiscordGeorge Liu1-3/+3
Discord has more users, IRC traffic has ground to a halt. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I8e3d32ec5a75b7709a6fe2f37e17b24f3070563c
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 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-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. Kachalov2-0/+3
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-03-03meta-inspur: fp5280g2: Update the power-supply label nameGeorge Liu3-24/+36
- In the BmcWeb repo, according to the `LABEL` in the power-supply configuration, get the `unit` value of the power type (PowerInputWatts & PowerOutputWatts). link: https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/sensors.hpp#L912 - Since the `LABEL` naming of the previous configuration file was wrong, it needs to be updated and conforms to the `LABEL` naming convention. - Also, sync update association.json to ensure that the correct sensor value can be obtained. Tested: - Built image-bmc successfully on fp5280g2 machine. - Obtain the correct `PowerInputWatts` & `PowerOutputWatts` by viewing the BmcWeb log. - Obtain `redfish/v1/Chassis/chassis/Power` by the Redfish command: ... ... "PowerSupplies": [ { "@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0", "EfficiencyPercent": 90, "IndicatorLED": "Off", "Manufacturer": "", "MemberId": "powersupply0", "Model": "PS-2801-12L", "Name": "powersupply0", "PartNumber": "", "PowerInputWatts": 13.9375, "PowerOutputWatts": 5.5, "SerialNumber": "6K12A0117473YX", "Status": { "Health": "OK", "State": "Enabled" } } ] ... ... Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ie88a629c97ab8ad3136a49f71b810b930a820ab2
2021-01-22meta-inspur: fp5280g2: Enable webui-vue repoGeorge Liu1-1/+1
Since the webui-vue repo has become a web standard, enabled webui-vue repo and removed phosphor-webui repo. Tested: built fp5280g2 and login to the web successfully. (From meta-inspur rev: aaf9e07be3ff1b2836d20c9823f4357e0fd85f4a) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I02139c53e492e0adc37a9951a2eff9de8f74e6aa Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-22meta-inspur: Add ipsps1 kernel configGeorge Liu1-0/+1
CONFIG_SENSORS_INSPUR_IPSPS is depended by `inspur, ipsps1` (From meta-inspur rev: 6123ccbc7740d4b48f92ce7c93a5b36d14b873dc) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I38ede34841beb1458ba44426cbea4b09e713258c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-22meta-inspur: add com/ibm to OBMC_ORG_YAML_SUBDIRSGeorge Liu2-0/+2
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>
2021-01-20meta-inspur: inventory: Update the associations.jsonGeorge Liu1-590/+361
In all core object paths, the configuration related to led has been removed. (From meta-inspur rev: 40ca80ba5d3a8deb050657f1380f6a337dae63a1) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I70006155bb6c9773e99e06b67b61db9ce05de795 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-20meta-inspur: ledManager: Update led-group-config.jsonGeorge Liu1-288/+0
All core groups have been removed. (From meta-inspur rev: 2eec3eee4957224ca8840736763f13d5e739576a) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3ab79cf7cc0f993fdbcfdb361a4e68c684a520e6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12Change Owners Plugin in meta-inspurEd Tanous1-1/+1
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-inspur rev: f9304cb419e85d5db387f809859a4c4bc5751314) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I77ecf97e6622a999c1df42f61e4fef4045ebec8c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-08Add Owners Plugin to meta-inspurEd Tanous1-0/+2
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-inspur rev: 2df619472fc58c0fa87c952d4a075a1f6475c02f) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I312dffc6dc1a6412f31ff1d427ec677f3a384a9c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-30meta-inspur: update Yocto compat for gatesgarthGeorge Liu3-3/+3
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-10-27Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-101/+101
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-inspur rev: 608bb59eb418c6918135651895e2b994c715126d) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I4610bc0b6dcff78b31c8ae7973da82aac85a456f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-09meta-inspur : use meson build for bmcwebManojkiran Eda1-2/+2
- This commit would switch and use the equivalent option that are supported my bmcweb meson build. (From meta-inspur rev: 7b43c4cbcaab12382dd275692beb9e5df3d9e0a8) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I7f0751164cd9ac920a921bdaa5e25752ab6e0771 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-06fp5280g2: Fix the occ-hwmon.*.conf config pathGeorge Liu3-1/+1
Add the fsi-master file path to get the correct OCC information. Tested: built successfully on fp5280g2 and get the corrent OCC information by the D-Bus command. (From meta-inspur rev: bf4c44199ffa9cb3804df09932440002f9d0d2c7) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I35ef99d98b3078b625e809e911265a56c4849cc9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-06fp5280g2: inventory: Add Chassis interface to the chassisGeorge Liu3-0/+33
Create the xyz.openbmc_project.Inventory.Item.Chassis interface on the /system/chassis inventory item at startup. (From meta-inspur rev: 7cd52a29282b3a6f4d291d16cec1bcaeb16ab2d0) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I514c7b77583992357696b5eb09df52b4770efa23 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-10fp5280g2: Fix parsing version_id formatGeorge Liu1-0/+3
Use the aux property directly in dev_id.json if the version_id property fails to match the specified regex, and avoid list index out of range. (From meta-inspur rev: 48e6171e36d479fa722b448fb4977bf1288ac7d9) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I974005dc1a5e612dc53a8a70f67831927d2616d2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04fp5280g2: Add inventory associationsGeorge Liu2-0/+2156
Add the inventory association definitions for fp5280g2. With these, phosphor-inventory will create the org.openbmc.Associations interface on the specified inventory paths such that the object mapper will create the association D-Bus objects. (From meta-inspur rev: 905805b127fc940a28a2a6378494c5efd43f0d15) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Iafd298c9b788cae32adae22e71f44ec72ef4b746 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04fp5280g2: leds: Add JSON configuration file having Group definitionGeorge Liu1-0/+588
This commit adds the JSON configuration file having LED Group definitions and also enables using JSON at runtime than using the compile time generated group definition from YAML. (From meta-inspur rev: 88e5fee64a82d51e3f10137e9248a5aa72201c06) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Idba650ab8e9df85eaca266ffd678baa48d9c91f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-07fp5280g2: Fix FRU property interfacesGeorge Liu2-20/+55
For the Cpu and Dimm's interface(xyz.openbmc_project.Inventory.Item.Cpu and xyz.openbmc_project.Inventory.Item.Dimm), should be defined in the fp5280g2-ipmi-fru.yaml instead of the fp5280g2-ipmi-fru-properties.yaml file. Tested: busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0 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.Inventory.Decorator.Asset interface - - - .BuildDate property s "1996-01-01 - 00:00:00" emits-change writable .Manufacturer property s "IBM" emits-change writable .Model property s "" emits-change writable .PartNumber property s "02CY415" emits-change writable .SerialNumber property s "YA1934319126" emits-change writable xyz.openbmc_project.Inventory.Decorator.Cacheable interface - - - .Cached property b true emits-change writable xyz.openbmc_project.Inventory.Decorator.Replaceable interface - - - .FieldReplaceable property b true emits-change writable xyz.openbmc_project.Inventory.Decorator.Revision interface - - - .Version property s "22" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "PROCESSOR MODULE" emits-change writable xyz.openbmc_project.Inventory.Item.Cpu interface - - - xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional property b true emits-change writable busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/dimm0 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.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "SK Hynix" emits-change writable .Model property s "HMA84GR7JJR4N-WM " emits-change writable .PartNumber property s "" emits-change writable .SerialNumber property s "0x537f68b1" emits-change writable xyz.openbmc_project.Inventory.Decorator.Cacheable interface - - - .Cached property b true emits-change writable xyz.openbmc_project.Inventory.Decorator.Replaceable interface - - - .FieldReplaceable property b true emits-change writable xyz.openbmc_project.Inventory.Decorator.Revision interface - - - .Version property s "" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "DDR4-2666 32GiB 64-bit ECC RDIMM" emits-change writable xyz.openbmc_project.Inventory.Item.Dimm interface - - - .AllowedSpeedsMT property aq 0 emits-change writable .CASLatencies property q 0 emits-change writable .ECC property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable .FormFactor property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable .MaxMemorySpeedInMhz property q 0 emits-change writable .MemoryAttributes property y 0 emits-change writable .MemoryConfiguredSpeedInMhz property q 0 emits-change writable .MemoryDataWidth property q 0 emits-change writable .MemoryDeviceLocator property s "" emits-change writable .MemorySizeInKB property u 0 emits-change writable .MemoryTotalWidth property q 0 emits-change writable .MemoryType property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable .MemoryTypeDetail property s "" emits-change writable .RevisionCode property q 0 emits-change writable xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional property b true emits-change writable (From meta-inspur rev: 323e5dd3bb9ad6dd87ea6bb59f27b2562fcf4a7d) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I23ffd5fea6ab9f9057e0b72b87c1e6cd6ff5f430 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-fp5280g2: Remove references to vcs-workaroundJoel Stanley2-2/+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-07-24fp5280g2: power: fix the configuration related to PSUGeorge Liu2-4/+10
Add the configuration related to PSU and confirm that these services successfully updated to the image. Tested: built successfully on fp5280g2 busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 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) 5 "sensors" "inventory" "/xyz/openbmc_p… emits-change writable xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "" emits-change writable .Model property s "PS-2801-12L" emits-change writable .PartNumber property s "V03101G000000000" emits-change writable .SerialNumber property s "6K12A0118446MM" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "powersupply0" emits-change writable xyz.openbmc_project.Inventory.Item.PowerSupply interface - - - (From meta-inspur rev: 90408ad10ce0647f51f44e9642b7c7901f625ed4) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I37a347a21c217425d28a10fcebaced862e3e0218 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-24fp5280g2: gpio: update PSU driverGeorge Liu2-2/+2
Replace `pmbus` driver by `inspur-ipsps` driver (From meta-inspur rev: 474ba7c9ca46ecd70e9b4924e2bc1ae161cd3438) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4edea4c151f962e1bd5cdea9cb557d646a4331b6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22fp5280g2: remove pldm related configurationGeorge Liu8-204/+0
Previously these configs were included in the bitbak matadata of fp5280g2, now they are being moved the pldm repo, so deleted these configs. (From meta-inspur rev: 0e52a3351b72fe40ab4e13b73b0fa29bcf8900b2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6b3f35cbbebd76f390cf2d163fb80fa94b46378a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-21fp5280g2: replace --enable-use_json by --enable-use-jsonGeorge Liu1-1/+1
For consistency, use hyphen and not a mix of underscore and hyphen. (From meta-inspur rev: 21b37ce156ec4301f08aae1a70e049c37dadc7bf) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I93965d7534f10a88d61e656833414c70b7f5822c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-21Remove John from MAINTAINERSJohn Wang1-1/+0
(From meta-inspur rev: 7de8bd88a1edb656e88ccba76128d3404c813f18) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Ie0d50cd04bab2f3cd7eac8b3477d510eba913663 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10fp5280g2: Load LED manager with JSON configurationGeorge Liu3-2/+65
Since the led manager used the default YAML to generated led-gen.hpp and creates D-Bus object for the groups, and we tend to use JSON instead of YAML to create it. Tested: built successfully on phosphor-led-manager and create D-Bus object used JSON configuration. (From meta-inspur rev: 911c71c43beb4a3696f5c846bee06bc0a0d7bab2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ibc72f26519bb968ed4b4c8df4e068206ab9c0704 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-05inspur: fp5280g2 : Add mctp/pldm packages to fp5280g2George Liu9-1/+205
In order to ensure that normal ran of the mctp/pldm, temporarily add these to the fp5280g2 machine. Tested: Built successfully on fp5280g2 and mctp/pldm ran well. (From meta-inspur rev: 82e0a6261199c73158f2244d819c2d9dce4e491b) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia344ba4467b3334e138f50f8b8c902d052e76315 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29inspur: fp5280g2: Add fp5280g2 psu fw update functionChicago Duan4-1/+40
Add phosphor-psu-software-manager and use inspur specific binary tool to update fp5280g2's psu firmware. (From meta-inspur rev: 38802b27a5b96f2d406f17805e77971fc76e46ec) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I366453eda485e6f96cbb6ef8672ea4011abf463e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-28fp5280g2: Fix the file extra path errorGeorge Liu1-1/+1
When built the related SDK on fp5280g2, since the wrong FILESEXTRAPATHS were defined and the build failed. Tested: built successfully on fp5280g2 using related SDK. (From meta-inspur rev: 68b943d9f121e11b01e9a60a595930d50b16d13e) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6e1edd74883e8d7910facd15f800aa954bd402a7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-13meta-inspur: Add George as MaintainerGeorge Liu1-1/+1
(From meta-inspur rev: 3c7ca17e5a52696781a45c57aa8ace28ed0cd196) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If42108455174dd2108df35193eaf1e417ecff865 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-inspur: layer.conf: add dunfell compatibilityGeorge Liu3-3/+3
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-12-12fp5280g2: Fix missing power-supply-monitor configsGeorge Liu1-0/+2
Since the SYSTEMD_ENVIRONMENT_FILE_${PN} defined in obmc-phosphor-systemd.bbclass, and the phosphor-power_%.bbappend have not inherit obmc-phosphor-systemd, so all of the power-supply-monitor-*.conf are not installed. Tested: Built fp5280g2 successfully and includes the power-supply-monitor configs. (From meta-inspur rev: 05c197192a813e5d276e9b2c0c7d4ac19f726b7d) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Icd31b517536cd77ced911deb796c7c7549b0b480 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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-11-07fp5280g2: Add phosphor-power recipeGeorge Liu5-1/+53
Add psu.json and power-supply-monitor-*.conf for fp5280g2. Parsed PSUs asset information via pmbus driver and exposed properties to D-BUS interface. Tested: Verified and built successfully on fp5280g2 and obtained correct PSUs asset information by busctl command. busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "" emits-change writable .Model property s "PS-2162-5L" emits-change writable .PartNumber property s "" emits-change writable .SerialNumber property s "6L5LX01173722Z" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "powersupply0" emits-change writable xyz.openbmc_project.Inventory.Item.PowerSupply interface - - - xyz.openbmc_project.Software.Version interface - - - .Purpose property s "xyz.openbmc_project.Software.Version.V… emits-change writable .Version property s "1.000-1.00" emits-change writable (From meta-inspur rev: da7f477ed1ae83cabc291349ee6609ca1890caf5) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ifaad67483f7429223d2066ca233ede58dfbc3149 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-09fp5280g2: Enable TFTP updates via RedfishGeorge Liu1-0/+3
TFTP is already support within bmcweb via Redfish and by default that was disabled. We need to enable it by default on fp5280g2 machine Testd: Updated successfully via the following Redfish curl -k -H "X-Auth-Token: $token" -X POST https://${bmc}/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate -d '{"TransferProtocol":"TFTP","ImageURI":"<ip address of TFTP server>/obmc-phosphor-image-fp5280g2-20190924042243.static.mtd.tar"}' (From meta-inspur rev: a39ad069b6d9b0f9021495661da077a07ead1132) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ic6b2e44b0680e4f4472e702aa51bff1416f6b944 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-08fp5280g2: Fix FRU property interfacesGeorge Liu1-18/+18
Add a specific interface for the Cpu and Dimm`s FRU properties and find all Cpu and Dimm`s paths below the `/xyz/openbmc_project/inventory` path thought this interface. Testd: Saw the addition of `xyz.openbmc_project.Inventory.Item.Cpu` or `xyz.openbmc_project.Inventory.Item.Dimm` interfaces via the D-Bus command. busctl introspect xyz.openbmc_project.Inventory.Manager /system/chassis/motherboard/cpu* or busctl introspect xyz.openbmc_project.Inventory.Manager /system/chassis/motherboard/dimm*. (From meta-inspur rev: 65a4f861c7adbbbc6b4ab8308beaea1c8b4fab5f) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I8d89316be4308d6eb57cf8899d44cc78df5a9b6d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-24sync MAC from VPD to shared NICGeorge Liu3-3/+7
There are two MACs on the fp5280g2 machine. eth0 is the shared NIC and eth1 is the dedicated NIC. Testd: Correctly read MAC for eth0 and eth1 from eeprom and expose it to D-BUS interface. (From meta-inspur rev: 18417299bbe04a1728ff58f588f26c6a16d06bb8) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id2c7a9551e5c0fc2115a7021a103095439dc242f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23meta-inspur: layer.conf: add zeus compatibilityJohn Wang3-3/+3
(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 Duan3-0/+40
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-09-16meta-inspur: Remove references to INSPURBASEBrad Bishop5-6/+4
INSPURBASE 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-inspur rev: 052786ad38fa172500a9f641ed26e95e25e6fbc6) Change-Id: I5394fc045042a30bdc958a6e528d9a7f947d49b9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-12fp5280g2: Add recipe file for phosphor-gpio-monitorGeorge Liu5-1/+27
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>