summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-01-06meta-phosphor: webui-vue: set inherit python3nativePatrick Williams1-0/+5
With a Yocto subtree update we started seeing webui-vue fail and during investigation, I noticed that it was using the host Python instead of the Yocto Python. ``` 13:52:14 | npm ERR! gyp info find Python using Python version 3.10.12 found at "/var/jenkins-openbmc/workspace/ci-openbmc/distro/ubuntu/label/docker-builder/target/p10bmc/build/hosttools/python3" ``` There are Yocto patches to npm that anticipate we are using the Yocto one, so we need to `inherit python3native`. Change-Id: Ifbfc0a2358e561ddffe892010e45050761d7ac4a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2024-01-06meta-fii: meta-mori: Launch apps by correct path to avoid anti-patternKyle Nieman5-7/+7
As specified by OpenBMC anti-pattern document, calls to a binary/script should be the fully qualified path to the application being launched. https://github.com/openbmc/docs/blob/717d273cf8bceac3868a278aeb34d19e8d74c1b3/anti-patterns.md#resolution-4 This follows the systemd recommendation to use the full path to avoid ambiguity. https://www.freedesktop.org/software/systemd/man/systemd.service.html#:~:text=Using%20an%20absolute%20path%20is%20recommended%20to%20avoid%20ambiguity In addition, OpenBMC applications that are intended to be used by users should be located in /usr/bin. Changes: Place user scripts in /usr/bin instead of /usr/sbin. Start scripts by their absolute path in service files. Testing: The services that are modified can find and start their scripts. The scripts that had their locations modified can be called by the user without providing their full path. Change-Id: Ibe7fbb1644aa1b0df0f296ea1f1a8ceaf444fe35 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2024-01-05meta-harma: add ipmb channelsPotin Lai1-0/+6
Harma using /dev/ipmb-14 to communicate with the BIC on debug card. Add channel and remote-addr information for creating ipmb-channels.json file. Tested on Harma: ``` root@harma:~# cat /usr/share/ipmbbridge/ipmb-channels.json { "channels": [ { "type": "ipmb", "slave-path": "/dev/ipmb-14", "bmc-addr": 32, "remote-addr": 96, "devIndex": 0 } ] } ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I8f1fc1e7443d6e3f79346c66f1ce900272863879
2024-01-05meta-facebook: fix remote-addr type in ipmb-channels.jsonPotin Lai1-1/+1
ipmbbridged only allow remote-addr as integer. Convert remote-addr from string to integer. Tested On Harma: ``` root@harma:~# cat /usr/share/ipmbbridge/ipmb-channels.json { "channels": [ { "type": "ipmb", "slave-path": "/dev/ipmb-14", "bmc-addr": 32, "remote-addr": 96, "devIndex": 0 } ] } root@harma:~# systemctl status ipmb * ipmb.service - IPMB bridge Loaded: loaded (/usr/lib/systemd/system/ipmb.service; enabled; preset: enabled) Active: active (running) since Thu 2024-01-04 22:54:48 PST; 1h 3min ago Main PID: 425 (ipmbbridged) CPU: 4.887s CGroup: /system.slice/ipmb.service `-425 /usr/bin/ipmbbridged Jan 04 22:54:48 harma systemd[1]: Started IPMB bridge. ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I9823d3e6d219737c6426880d1a9fbaa407cd9c75
2024-01-05meta-facebook: minerva: leds: Add led-manager configYang Chen2-0/+53
Add LEDs for the Minerva as below list: heartbeat, power on, identify, fan fault Change-Id: Ief4283150ab39314cfb1ca9d7b6e56c0a65fe720 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-01-05meta-facebook: minerva: phosphor-state-manager: Fix BMC not readyYang Chen1-0/+8
Temporary workaround for fixing some services stuck waiting for non-existing object path Change-Id: I375c5a4b010f8832c2b5101be1ed8ff2fabd6ba7 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-01-05meta-facebook: minerva: enable spi-gpio on kconfigYang Chen1-0/+3
Enable spi-gpio configuration for the TPM2 Change-Id: I0a7aa48b53454cbe558cdfa1697a89cdfd98e248 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-01-05meta-facebook: yosemite4: support nic reseatDelphine CC Chiu1-0/+52
- Add config for phosphor-gpio-monitor to monitor nics' present. - If the NIC is plugged in, perform 12V cycle to the serving Hosts to let the Hosts reload new NIC's information. Change-Id: I178c5ca7d2bc6b25585e907bad7494c2bb90b961 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-01-04phosphor-logging: srcrev bump 972dd4f628..6f533669c0Andrew Geissler1-1/+1
BonnieLo-wiwynn (1): Add event log for log cleared Change-Id: I78d93f72258fc3e8b20ec3b58dce8095ded1112e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04dbus-sensors: srcrev bump 15a39dfd55..ae46396671Andrew Geissler1-1/+1
Ian Woloschin (1): Add debounce timer to intrusion sensor rescan Zhikui Ren (1): hwmontempsensor: Handle failure to canonicalize device path Change-Id: I745f01b1c54a3be60af0eb820270675da88a1c4d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04sdbusplus: srcrev bump 4059635ff0..f36d90308aAndrew Geissler1-1/+1
Patrick Williams (1): OWNERS: remove inactive reviewers Change-Id: If020d527acbec811e50284bfc084504109e7f574 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04meta-facebook: harma: flash:biosPeter Yin3-0/+104
Support for BIOS update. root@harma:/tmp# ./bios-update.sh F0M_1A02.BIN Bios upgrade started at Tue Dec 19 07:06:04 PST 2023 Power off host server Host server powered off Set GPIO to access SPI flash from BMC used by host switch bios GPIO to bmc set_gpio: set bmc-spi-mux-select-0 = 1 success bind aspeed-smc spi driver Bios image is F0M_1A02.BIN mtd6 is not a pnor device mtd6 not available Flashing bios image to mtd7... Erasing block: 256/256 (100%) Writing kb: 16384/16384 (100%) Verifying kb: 16384/16384 (100%) bios updated successfully... Unbind aspeed-smc spi driver Set GPIO back for host to access SPI flash switch bios GPIO to CPU set_gpio: set bmc-spi-mux-select-0 = 0 success Please do sled cycle. Change-Id: I9e1c8afca44abb1917fa342ee505ad38e845d192 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-04pldm: srcrev bump 0a4ae8a819..90314a3f09Andrew Geissler1-1/+1
Patrick Williams (1): OWNERS: add Patrick for Meta-specific files Sagar Srinivas (1): Reorganize the setEventReceiver code Change-Id: I54e1db4f8e90be5fa330ebf3c732c236af20e762 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04fb-ipmi-oem: srcrev bump 8713427cf5..8fe3a44723Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I364360bf10757cf78db51086d5cbbde0ed75e1bd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04meta-facebook: harma: phosphor-gpio-monitorPeter Yin17-0/+356
Add gpio monitor for power good, power reset button and post end. Change-Id: Ibd18b04eaf2db45fb12765a922ce3cbd2787e32e Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-04meta-facebook: harma: power control supportPeter Yin15-0/+233
To support power on, power off, power-cycle reset and sled-cycle. Change-Id: Ib26fbe7087d7ab2b68c61d46a7dcf3ab5f7847b0 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-04phosphor-power: srcrev bump 3a492527fd..e4b76830edAndrew Geissler1-1/+1
Shawn McCarney (1): pseq: Document enhanced JSON config file format Change-Id: Icd795f5a9b7f13c1226168a49fd68e4b12dc1754 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04phosphor-bmc-code-mgmt: srcrev bump 83d7d406f7..2851e0d56cAndrew Geissler1-1/+1
George Liu (1): Updated to use errno instead of error_code in lg2 Change-Id: I64561ec915ae108401516acabeb72fb70d953a12 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-04meta-facebook: harma: usb-netPeter Yin3-0/+29
Setting the USB network address for SITV. Change-Id: Ice43dfbb230ec5a97f73449dc1460e75e2d8d9dc Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-04meta-facebook: harma: initrdscriptsPeter Yin2-0/+26
1.Enable ESPI register 2.Disable WDT2 for Dual image. Change-Id: Id3dc4cefeb10b58b5bb24f6ac5470e82758b4b5a Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-04meta-facebook: yosemite4: Support power policyDelphine CC Chiu3-0/+4
There are three power policy options: AlwaysOn, AlwaysOff, and Restore. After the system AC returns, the service `phosphor-discover-system-state` would get the property `PowerRestorePolicy` under `/xyz/openbmc_project/ control/host{id}/power_restore_policy` to do its power policy. The power policy also needs to be done after chassis power returns. Support restarting the `phosphor-discover-system-state` service for doing the policy after the chassis power on and cycle. Tested: tested on yv4 system. Change-Id: I3412741cd25aff1e980b377a9af16606314e6965 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-01-04Remove meta-inspurPing Guo120-10418/+0
Remove meta-inspur because of Inspur is no longer active in the OpenBMC community. Change-Id: I581f8f07bcb7e7b9b09792fd4d438f96af32b860 Signed-off-by: Ping Guo <guoping@inspur.com>
2024-01-04README: update TSCPatrick Williams1-9/+9
Benjamin Fair is taking over for Google. Update the TSC list, sort alphabetically. Run prettier on the README. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ica6cc590d818a0546aba6df3fae397ab3bfad175
2024-01-03meta-ibm: p10bmc: fix inconsistency in stringPatrick Williams1-1/+1
bitbake uses double-quotes for strings. Switch the stray single-quoted string to use double-quote. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icbc9295ce2468ed7646ab0039b9bc5480a43e6fa
2024-01-03dbus-sensors: srcrev bump 4cfa64f539..15a39dfd55Andrew Geissler1-1/+1
Joseph Fu (1): PSUSensor: add max11607 support Change-Id: I223d1fc659b188d4c1ea040a2b8fa0697db7cabe Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-03pldm: srcrev bump 4cc1f7cf3a..0a4ae8a819Andrew Geissler1-1/+1
Patrick Williams (1): meson: simplify add_project_arguments for OEM_IBM Change-Id: Ib34baa1de883f2d8698a0d487460385df77ad8c2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-03telemetry: srcrev bump 38c6409c16..4444a13c9aAndrew Geissler1-1/+1
George Liu (1): meson_options.txt: Support for reading options from meson.options Patrick Williams (3): clang-format: copy latest and re-format build: upgrade to C++23 meson: adjust nlohmann-json dependency Change-Id: I1f43296f42e260c1903031c37844318e1f1b6cf6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-03phosphor-dbus-interfaces: srcrev bump 800f708024..cc4ce70daaAndrew Geissler1-1/+1
Jagpal Singh Gill (2): health-metric: add dbus path for read-write storage health-metric: add dbus path for total cpu Change-Id: I6d4448f500efc7cdf0c718931285e0cbed20942e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-02meta-phosphor: repotest: prohibit new DTS filesPatrick Williams1-2/+3
DTS files should be submitted upstream to the kernel, just like patches. Allowing individual DTS files to be added to the tree is just another form of patching the kernel. Explicitly search and prohibit new ones from being added. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibd176423cda5082ead3bf1d3da1e66507e0ea475
2024-01-02google-misc: srcrev bump 47a0ada2a7..dca92e47d7Andrew Geissler1-1/+1
Willy Tu (2): build: Remove dependencies on fmtlib update libcr51sign to support MAUV Change-Id: Id6830e707faae772771fde9234baa169ddaf3906 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-02meta-facebook: minerva: dbus-sensors: initial commitYang Chen1-0/+8
Initial commit the configuration of dbus-sensors use in the Minerva. Change-Id: I798d995ffec285ded6aaa56f65bc4d2deb28b0b8 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-01-02meta-facebook: yosemite4: Add bios version propertiesDelphine CC Chiu2-0/+22
- Add bios version & after activated bios version in phosphor-settingsd. Change-Id: If617ffb587b2f45411483dda655d7a0ce99105e2 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-01-02meta-facebook: harma: enable SPI-GPIO in kconfigPeter Yin1-0/+3
Add spi gpio from tpm2 Change-Id: Id6b82fc29a01ec327cc50a9edbde0810d28f15ea Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-01-02meta-facebook: add ability to set remote-addr in ipmb configPotin Lai2-4/+11
Some platforms will need to assign different remote-addr for each channel. Add a IPMB_REMOTE_ADDR for assigning remote-addr for each corresponding channel instead of assign fixed remote-addr to all channels. If the size of IPMB_REMOTE_ADDR not consistent and less than the size of IPMB_CHANNEL, the remote-addr will be filled with 64 for the channels does not assigned. Test results of tiogapass: ``` { "channels": [ { "type": "ipmb", "slave-path": "/dev/ipmb-4", "bmc-addr": 32, "remote-addr": "44", "devIndex": 0 }, { "type": "ipmb", "slave-path": "/dev/ipmb-9", "bmc-addr": 32, "remote-addr": "96", "devIndex": 1 } ] } ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I785201c2c643cf6aa7b83e61df9601ae581f34ad
2024-01-01phosphor-pid-control: srcrev bump efda1ceda3..df597657fdAndrew Geissler1-1/+1
Josh Lehan (1): Changing wording of failsafe transition messages Change-Id: I0c3faed6806ee00bcf9976d67c056f6d37068216 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-01estoraged: srcrev bump ff1b64f0e8..043af59f7fAndrew Geissler1-1/+1
Tom Tung (1): Get eraseMaxGeometry and eraseMinGeometry from dbus Change-Id: I0ead8070a28deeff2119a7360d084293bfefc26e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-30pldm: srcrev bump d2e48991c2..4cc1f7cf3aAndrew Geissler1-1/+1
Pavithra Barithaya (1): README.md: update the error scenario output Change-Id: Ib748a95bc3c33baef54cc081828dbd40e5748548 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-30bmcweb: srcrev bump c48377db9e..a88942019fAndrew Geissler1-1/+1
zhaogang.0108 (1): bmcweb: Add nullptr check for weakptr Change-Id: I869e09b600f841652ef27978b68c838aa246c465 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-27meta-quanta: gbs: conf: remove obmc-webuiTom Tung1-0/+1
Tested: can build Change-Id: Id99ae67689f13b2f71fbe8ab3edad03700f9291b Signed-off-by: Tom Tung <shes050117@gmail.com>
2023-12-24dbus-sensors: srcrev bump f47c2b48f6..4cfa64f539Andrew Geissler1-1/+1
Potin Lai (1): PSUSensor: add mp2856/mp2867 support Change-Id: I0e27f9e3aa53d124f9dae98d7854c518f0c71599 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-24meta-facebook: tiogapass: powerctrlPeter Yin10-27/+33
The setup_gpio.sh, power service, and power-util are not applicable to all platforms. They will be moved to the tiogapass platform layer. The setup_gpio.sh uses exported GPIO, which can impact the libgpio function. Change-Id: I7a95f8a5466f220d3c5fb8aadb2507d0f23ce857 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2023-12-23openpower-host-ipmi-oem: srcrev bump ff1c872b6c..11b2dbaa3eAndrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Remove Andrew Jeffery Change-Id: Ibdadce211a081d8c15b22bdfd5d45fe4a9a6845f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23btbridge: srcrev bump 8ee19a4d70..b847a932b7Andrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: I1009b5e72be5ccfd3a40dbed188990b41ebd3704 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23hiomapd: srcrev bump 820775114c..77692f50a3Andrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: Iedfb77f9801138b65b387ebb6d4461748b6b280d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23dbus-sensors: srcrev bump 28b88233a5..f47c2b48f6Andrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: I25f6f2ba02c1877ecc0c303b9783eff9a110552d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23debug-trigger: srcrev bump 1161642d22..92eb22223dAndrew Geissler1-1/+1
Andrew Jeffery (3): main: Address strncat() overflow warning README: Fix header formatting OWNERS: Update Andrew's preferred email Change-Id: Ic9e90e7583c21d4304a3481f428947726b7207f1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23obmc-console: srcrev bump 3453084b57..66ddf711d1Andrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: I987c163723b11b06a234f87670c1d18fa34782c1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23libmctp: srcrev bump 8003c71053..5c90129312Andrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: Ib94aa65b47e4e54c3d3765cb6add5617ccb9aebb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23dbus-top: srcrev bump 9774909fb2..0725dbb8ecAndrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: I40f1605f71943e50d35732966091b8b0acfb30bf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-23phosphor-led-sysfs: srcrev bump 001e2a3dad..d508bfb51dAndrew Geissler1-1/+1
Andrew Jeffery (1): OWNERS: Update Andrew's preferred email Change-Id: Ic96f9a786ff2a41f454769b727cc25a817a7d985 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>