summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-08-09meta-google: layer.conf: Revert 45725 and add honister as Yocto releaseWilly Tu1-3/+3
Reverting the changes in https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/45725 and adding `honister` to LAYERSERIES_COMPAT for the next Yocto release. Change-Id: I32c138127dc3508d6925c990643b9efce2bda0b6 Signed-off-by: Willy Tu <wltu@google.com>
2021-08-09phosphor-nvme: srcrev bump be3439961f..31c3a2f7c9Andrew Geissler1-1/+1
George Hung (1): Filter meaningless characters for reading NVMe model name Change-Id: Ia234010e85a4b5c965e925f95a6a89a205c1a95f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09phosphor-watchdog: srcrev bump 61bc6cdd56..9ef0d0fbacAndrew Geissler1-1/+1
Willy Tu (1): watchdog: Add signal for timeout event Change-Id: Ib1c65311ebfd6719df0d82513da45e48871e0972 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09phosphor-sel-logger: srcrev bump 147b1fd75e..e295fd9d6fAndrew Geissler1-1/+1
William A. Kennington III (1): build: Remove cmake Change-Id: I3ce79e7bb3cc4c0e4c93374e053374f44b802115 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09sdbusplus: srcrev bump 2dcf64bf84..cf0c072281Andrew Geissler1-1/+1
Rashmica Gupta (1): match: Add new PropertiesChanged rule Change-Id: I32b8757931b31b2327306bf5b94129723827a9aa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09phosphor-host-ipmid: srcrev bump 8f1b0b932a..43a8810983Andrew Geissler1-1/+1
Jayaprakash Mutyala (1): Fix for getSystemBootOptions for unsupported param Change-Id: I2b189fe0f679e67139c79b78942d17e0c294dc43 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09phosphor-net-ipmid: srcrev bump 60d6e4ed2b..05c1447d75Andrew Geissler1-1/+1
Jayaprakash Mutyala (1): rakp12: Clear security sensitive data sunitakx (1): Log Redfish event for invalid login via RMCPP interface Change-Id: I6a3ee827e3ea43bb67fd707fd8e29d2c385994a1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09phosphor-logging: srcrev bump 7f1ec94d55..2ccdcef997Andrew Geissler1-1/+1
Sumit Kumar (1): PEL: Guard against hostboot sending down duplicate PEL Ids Change-Id: Ib33fc7ef179d3718778bdf03635c3eca23860e4d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09bmcweb: srcrev bump ff3f835ad4..e6a7165064Andrew Geissler1-1/+1
Abhishek Patel (1): Fix event_service privileges Sunitha Harish (1): Event subscriber persistency: Fix restoring subscribers Change-Id: I60099ac59cbf86d0cd7ab24e0d5837944820963b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09pldm: srcrev bump ab8017917e..33ac59dd77Andrew Geissler1-1/+1
Manojkiran Eda (1): Update OWNERS file to match the format in docs Tom Joseph (1): tools: Fix bug in pldm_fwup_pkg_creator.py Change-Id: Iaf8296676804d34886a3613d109aff9d8305a020 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09openpower-proc-control: srcrev bump c3d6b876e7..07e9a6a1ccAndrew Geissler1-1/+1
Jayanth Othayoth (6): PHAL: add phal-export-devtree app PHAL: export devtree attribute support PHAL: import devtree tool support PHAL: remove devtree import data file in genesis boot PHAL: add devtree import service PHAL: add devtree data export service Change-Id: I3710ecd40a35af626ae5e685f86cad7bf5ace506 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-09openpower-hw-diags: Add valijson dependencyZane Shelley1-1/+1
For JSON data file validation. Change-Id: I46fce804d0481e7f245e1b4e690e83482172f524 Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
2021-08-07meta-google: layer.conf: Cleanup for Yocto override syntax changeWilly Tu1-3/+3
Update `_google-layer` to `:google-layer`. Change-Id: I3443c265aa3ff3bb711f65c016942bfd53ecf153 Signed-off-by: Willy Tu <wltu@google.com>
2021-08-07meta-ampere: Cleanup for Yocto override syntax changeThang Q. Nguyen36-109/+109
Run convert-overrides.py meta-ampere and update missing changes as below: - Change all _mtjade to :mtjade - Change all _${PN} to :${PN} Tested: 1. Check compilation without problem. 2. Check basic functions like switch UART mux, power control. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I42038b2a98ed1951d6c770bdf49f5fc440f8163e
2021-08-07meta-google: packagegroups: Add obmc-apps bbappendZhenfei Tai1-0/+17
Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: I10ca13b80eaa9259a72c1d1957bebe2fb2eb2978
2021-08-07meta-google: Add glome serial console login recipeJie Yang1-0/+26
Signed-off-by: Jie Yang <jjy@google.com> Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu42-147/+147
``` convert-overrides.py meta-google git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" git grep -l _gbmc -- meta-google | grep ".bb" \ | xargs sed -i 's/_gbmc/:gbmc/' git grep -l _prod -- meta-google | grep ".bb" \ | xargs sed -i 's/_prod/:prod/' git grep -l _dev -- meta-google | grep ".bb" \ | xargs sed -i 's/_dev/:dev/' git grep -l _hoth -- meta-google | grep ".bb" \ | xargs sed -i 's/_hoth/:hoth/' git grep -l _bandaid -- meta-google | grep ".bb" \ | xargs sed -i 's/_bandaid/:bandaid/' ``` Some small fix includes ``` platforms_gbmc_bringup platforms_gbmc_secure ``` Tested: ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() { meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() { meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() { meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() { meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--` meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() { meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() { meta-google/recipes-google/networking/network-sh.bb:do_install:append() { meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file" meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() { meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() { meta-google/recipes-google/test/test-sh.bb:do_install:append() { meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() { meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)" ``` Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd Signed-off-by: Willy Tu <wltu@google.com>
2021-08-07meta-google: sslh: Remove ecosrv from the buildWilliam A. Kennington III1-0/+4
This is not used in the installed output and is breaking the build non-deterministically. Change-Id: I3f7193e9f0aac5e5cdcd45d4c736c3d31bb2858b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams36-107/+107
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-08-06phosphor-sel-logger: Convert to mesonWilliam A. Kennington III1-7/+6
This switches from the CMake build to the meson one. Change-Id: I24ca927bcb02ca60250400ae44266b72911c0737 Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06phosphor-sel-logger: srcrev bump e9da2599f1..147b1fd75eAndrew Geissler1-1/+1
William A. Kennington III (3): sel_logger: Fix temporary int creation sel_logger: Annotate unused variables build: Add meson Change-Id: I81ba810121c92b94aeff2cb3678d18237e09829a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06perlcross: not break build if already patchedMingli Yu1-1/+1
Currently the build will break if the patch already applied as the return value of "test ! -f $@" is not 0, so make sure to return 0 if the patch already applied. Fixes: $ bitbake perl-native Make a change as below $ git diff diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb index b77bbd1fd4..4c5e35ab80 100644 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb @@ -33,6 +33,7 @@ do_compile () { do_install_class-native() { mkdir -p ${D}/${datadir}/perl-cross/ cp -rf ${S}/* ${D}/${datadir}/perl-cross/ + echo "test" > ${D}/${datadir}/perl-cross/testfile } $ bitbake perl-native NOTE: make -j 40 make crosspatch make[1]: Entering directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0' test ! -f cnf/diffs/perl5-5.34.0/posix-makefile.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied) test ! -f cnf/diffs/perl5-5.34.0/dynaloader.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/dynaloader.patch && touch cnf/diffs/perl5-5.34.0/dynaloader.applied) make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/posix-makefile.applied] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/dynaloader.applied] Error 1 make[1]: Leaving directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0' make: *** [Makefile:78: all] Error 2 (From OE-Core rev: 354163db5588d87941f53a2763be62b2430cc1fc) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dd5ebf4fdd3ccbe937001a777ad7fcc1e1319e94) Change-Id: I5ff726eb777d5efcfe0cab7364763c646cab1ecb
2021-08-06meta-quanta: gbs: modify i2cool_1 sensor UCT to 75CGeorge Hung1-1/+1
Modify i2cool_1 sensor UCT to 75C according to thermal requirement Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I48fb5cada8e893688e450207985fe8466119bb3b
2021-08-06meta-google: sslh: Ensure that autogenerated files aren't staleWilliam A. Kennington III2-6/+9
These files sometimes get checked into the repo and we don't want non-determinism around their generation. Ensure they are cleaned up and regenerated for every build since that is very fast. Change-Id: If20c79f8308c117a20983c8cb54c3420d872d64b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06meta-ampere: mtjade: fix Mt.Jade recipes not enabledThang Q. Nguyen1-4/+1
Using IMAGE_INSTALL in mtjade.conf makes other Ampere recipes not included in the build. This commit fixes the issue by enabling the mtd-utils in OBMC_IMAGE_EXTRA_INSTALL_append instead. Tested: 1. Check if all Ampere services and scripts available. 2. Check power control operations Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I17293ba520c05a7b5a438767c790f00220156d3f
2021-08-06sslh: Bump de0ec95..63f9c4aWilliam A. Kennington III1-2/+2
Uptream moved from PCRE to PCRE2 Change-Id: I62434762a7e0485f4fe49ad6f181290cf6d34844 Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06conf2struct: Bump 06ddd92..6bc9eedWilliam A. Kennington III1-1/+1
Change-Id: Ia4843efa02ed9f3f7587580e4cb83711054637cb Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06openpower-vpd-parser: srcrev bump b0f3749d79..8cc5b15ca6Andrew Geissler1-1/+1
PriyangaRamasamy (1): Vpd-tool defect fix:data not shown for primed objects Change-Id: I1bdfc7ddc5126817ddc47d0cacf936442dc6dc62 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06phosphor-host-ipmid: srcrev bump 08a080ab62..8f1b0b932aAndrew Geissler1-1/+1
Willy Tu (1): Revert "config: update the dbus-sdr flag to remove underscores" Change-Id: Ib085cbad635d90dab53614eea48e556d3db4c5bb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06telemetry: srcrev bump 3a617023ea..a74e44f6efAndrew Geissler1-1/+1
Lukasz Kazmierczak (1): Extending meson build system to support fast compilation during development stage Change-Id: I1d8a22ded36c5003a8feb879ed7940308d1bb239 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06bmcweb: srcrev bump c21865c469..ff3f835ad4Andrew Geissler1-1/+1
Ed Tanous (2): Enable pycodestyle Rearrange mtls code Ravi Teja (1): Fix PATCH on hypervisor IPv4Addresses Change-Id: I02412dc678c46bef52f7b9056f758f0d76b14b9d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06webui-vue: srcrev bump 512dfb7021..03dc2b7b9fAndrew Geissler1-1/+1
Paul Fertser (1): docs: guide: fix broken links to guidelines and customization Change-Id: Ibbd6e916d2761944eef1fd90b5eca4cc76b94916 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-06pldm: srcrev bump d169dd164c..ab8017917eAndrew Geissler1-1/+1
Andrew Geissler (1): make pldmd a dbus systemd service George Liu (2): Remove getBitfieldCount method Fix enum_attrs.json error Manojkiran Eda (1): Owners file for pldm Pavithra Barithaya (2): BMC RR : Read and update the status for BMC reset PLDM: Implement host-condition interface Sampa Misra (1): Avoid redundant entity association PDRs after merge sampmisr (1): BMC RR: check whether the Host is running Change-Id: I137c88f92c70898a1f71b8c566db436532a6ef11 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-05meta-google: Add google-usb-network recipeMaksym Sloyko5-0/+559
Add recipe for bringing up USB ECM network devices. The recipe generates * network configuration file for the interface; * systemd service that starts(stops) the USB Gadget The ECM gadget, as well as the network interface are expected to be fully configured in the bbappend file. Signed-off-by: Maksym Sloyko <maxims@google.com> Change-Id: Ibb57584ce2bfd838e650eae7a4d3935c9580e502
2021-08-05meta-bletchley: configure 57600 baudrateHoward Chiu3-0/+41
Specific patch for bletchley only Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849 Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
2021-08-04meta-ampere: mtjade: add mtjade-gpio-config packageThuBaNguyen7-1/+118
The OCP module in Mt.Jade platform supports the GPIO pins to set the power state. The SPI0 module also supports the GPIO pins to config SPI mode. These gpio pins have to be set to the right states before power off/on. The mtjade-gpio-config package will support that. Tested: 1. Power off/on the host. 2. The OCP and SPI0 gpio pins should be in the corrected states. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: I46bca50222b0428f73aa9c05003f650f6ec0cc0b
2021-08-04meta-ampere: power control: correct the scriptThuBaNguyen1-17/+1
The power functions are failed to work. There is one mistake in merging ampere_power_utils.sh script. This commit fixes the mistake. Tested: 1. Power off the host when it is on. 2. The host state should be changed to off. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Iaa253e4b8d0f645a2b7097501e8c602d693cb37a
2021-08-04meta-ampere: host-check: overide phosphor-reset-host-checkThuBaNguyen2-0/+26
When BMC boots, phosphor-host-check uses the software interfaces(IPMI inband Hearbeat command or PLDM interface) to verify the host state and creates the host on indicator file. Ampere Altra SoCs do not support those software interfaces. They use the GPIO interface. GPIO pin S0_FW_BOOT_OK go high when the host is on. This commit appends ampere-reset-host-check@.service to phosphor-state-manager This service will replaces the role of phosphor-reset-host-check@.service. Tested: 1. Boot up BMC with the host is off/on. 2. Verify the CurrentHostState. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Ie4f73538266fff7d8c5fd40b437ffebc82cb12c5
2021-08-04meta-ampere: host-check: verify the host stateThuBaNguyen5-0/+100
When phosphor-state-manager handles the power action to turn on the host, phosphor-state-manager does not use the software interfaces to verify the host state. It set the host state to running after all of required services of the power action target are done. The power on watchdog is used to verify the host state and handle the failure in the host state changing. But Mt.Jade platforms do not handle power on watchdog. This causes the CurrentHostState dbus property is Running before the host is ready. In Mt.Jade platform, the SCP drives S0_FW_BOOT_OK to high when the host is already on. This GPIO can be used to identify the host state. One service should be added to the required list. This service checks the host state in power on and triggers obmc-host-quiesce@%i.target when the host is failed to boot. ampere-host-check package adds ampere-host-on-host-check@.service for that purpose. Tested: 1. Boot up BMC with the host is off/on. Check CurrentHostState. 2. Call Ipmitool power off/on. Check the CurrentHostState. 3. Call Ipmitool chassis power off/on. Check the CurrentHostState. 4. Call Ipmitool power cycle. Check the CurrentHostState. 5. Call Ipmitool chassis power cycle. Check the CurrentHostState. 6. Power off the host. Set power policty to Always-on. AC power. The host should be on. And CurrentHostState should be Running. 7. Power on the host. Set power policty to Always-off. AC power. The host should be off. And CurrentHostState should be Off. Change-Id: I9b0b346883a5f0203bf078453065c18ae4603311 Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
2021-08-04meta-ampere: power control: restructure source codeThuBaNguyen10-27/+88
ampere-hostctrl package includes the generic codes and the platform specific codes. The generic sources are applied for all of the Ampere platforms, they are the service files and the scripts to setting the GPIO pins. The platform specific sources are the GPIO pin config file and the gpio monitor config files. This commit moves the platform specific files to the platform code. Tested: 1. Do the power control actions use ipmitool, BMC web and Redfish. 2. Make sure the server states are changed as expected. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Ic0e261109f7a5dfaf38c883bff0afedab763a0b6
2021-08-04meta-ampere: power control: refactor host power controlThuBaNguyen12-131/+69
Refactor the Mt.Jade Host power control operations to support Altra CPU following the Altra SoC BMC Interface specification which still satisfying the OpenBMC power control framework. Tested: check the below cases and ensure Host state report correctly: 1. Run "reboot" from Host Linux. Check the Host is graceful shutdown, then SYS_RESET is asserted and the Host is booted. 2. Run "shutdown" from Host Linux. Check the Host is graceful shutdown then the chassis power is turned OFF. 3. Run "ipmitool chassis power soft". Check the Host is graceful shutdown 4. Execute Redfish GracefulShutdown. Check the Host is graceful shutdown then the chassis power is turned OFF. 5. Execute Redfish GracefulRestart. Check the Host is graceful shutdown then turned ON. 6. Check other IPMI chassis power and Redfish Reset actions work. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: I3a9716f37d7e80bdc1a1d0422e561c8fc51ad040
2021-08-04meta-ampere: mtjade: flash UEFI firmware at 4MB offsetThang Q. Nguyen4-13/+157
UEFI firmware for Ampere Altra-based platform starts at offset 0x400000 but currently the firmware image is flashed start at offset 0. This makes the Host fail to boot. This commit supports offset option for the mtd-util's flashcp utility and update the script to flash UEFI firmware starting at offset 0x400000. Tested: 1. Turn on the Host. 2. Flash UEFI firmware. Wait for the flash complete and check if Host can boot successfully. 4. Turn off the Host. 5. Flash UEFI firmware. Wait for the flash complete. 6. Turn on the Host and check if Host can boot successfully. Signed-off-by: Tung Nguyen <tung.nguyen@amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I0d48bfd0a7b7350b46a98bf10fe4de3887f09f02
2021-08-04meta-ampere: power control: refactor power soft/off functionsThuBaNguyen8-59/+79
The current ampere-hostctl package removes the power off/on services of phosphor-state-manager and uses Ampere services. This solution is not correct. Ampere platform should use power control functions of phosphor-state-manager. And only appends or overides the default services by Ampere's services if need. By default, to handle power soft action, phosphor-state-manager will trigger obmc-host-shutdown@0.target. This target then call xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service to request OS shutdown. When the host OS shutdown is already done, the target will trigger obmc-chassis-poweroff@0.target to turn off the chassis. The default xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service uses Ipmi inband to communicate with the host. It is different with Ampere Mt.Jade platform. We use the GPIO pin SHD_REQ to request shutdown the host OS. The host will trigger SHD_ACK when shutdown is done. So *.Ipmi.Internal.SoftPowerOff.service will be overide by Ampere service named ampere.*.Ipmi.Internal.SoftPowerOff.service. This service will trigger SHD_REQ pin and wait for SHD_ACK before start obmc-chassis-poweroff@0.target. This commit removes ampere-chassis-poweroff, ampere-host-shutdown serives which handle power off/soft actions and restore phosphor-state-manager's services. It also supports ampere.xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service which will overide xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service. Tested: 1. Create "power soft" actions use ipmitool, redfish and BMC web. 2. Make sure the power order will be shutdown the host then power of the chassis. 3. Create "power off" actions use ipmitool, redfish and BMC web. 4. Make sure the power action will be power off the chassis. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Ibc0dc8c62408e8282520c9b70e41ab75c10137f6
2021-08-04meta-ampere: mtjade: disable the poweron watchdogThuBaNguyen1-0/+9
Ampere Mt.Jade power control involves different action during the course of action which does not involve rebooting the Host. Thus disable the use of Host Power-On watchdog. Tested: 1. Power on host. 2. In bmc console call "journalctl -f". 3. "ipmitool power reset" make sure there are no phosphor-watchdog messages. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Iaedd120f203b4222bf57e5fbdc7be84cd22d2e2e
2021-08-04phosphor-dbus-interfaces: srcrev bump 73989f1d73..5795dacbc5Andrew Geissler1-1/+1
Tejas Patil (1): Network: Add support for MTU propery Vijay Lobo (1): PEL.Entry: Add Subsystem property Willy Tu (1): Drive: Add Drive Type for Item.Drive Interface Change-Id: Iaa16ee058b8231a9d463d6e86584b6aac8720b09 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-04phosphor-debug-collector: srcrev bump 796a92ee40..0eadeb7e78Andrew Geissler1-1/+1
Lei YU (1): core_manager: Handle dbus exceptions Change-Id: I7071c6a2ae409e7272dbecd0f578a36f320127ac Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-04phosphor-logging: srcrev bump c28601ad44..7f1ec94d55Andrew Geissler1-1/+1
Shawn McCarney (1): PEL: Add regulator phase faults to registry Change-Id: Ic986026fd0ef92150d6918940df7b53d0daf6cc6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-04openpower-proc-control: srcrev bump 25e39c84f7..c3d6b876e7Andrew Geissler1-1/+1
Jayanth Othayoth (3): PHAL: Helper function to set PDBG_DTB PHAL: added createPEL wrapper function PHAL: refactoring common_utils Change-Id: Iddd4a1480ce548014927700c5b4624a80a3465d2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-04webui-vue: srcrev bump 7e2ba5432d..512dfb7021Andrew Geissler1-1/+1
Derick Montague (1): Resovle POST code logs missing page message Change-Id: I41d908b76705429522c7d683c00088e96cd75c19 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-04entity-manager: srcrev bump ad2b133708..ee70147addAndrew Geissler1-1/+1
Andrew Jeffery (7): meson: nlohmann/json has a meson build meson: Rework valijson subproject dependency test: fru-utils: Exercise the FRU checksum algorithm FruUtils: Rework calculateChecksum() implementation FruUtils: Avoid truncation in derivation of fruAreaSize subprojects: valijson: Update to v0.4 docs/my_first_sensors.md: Fix example busctl invocation Avenash Asai Thambi (1): legacy.json: Add vout9 to vout17 max and min support Bruce Mitchell (1): Support the PCIE_x_Temp Sensors for Everest Ed Tanous (1): Revert "meson: nlohmann/json has a meson build" Rashmica Gupta (2): Units: add enum for valid unit types schema: add restricted range for severity Change-Id: Id5e698ba320dffa617ae2a821412e2b70e85a2dc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>