Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
Enable spi-gpio configuration for the TPM2
Change-Id: I0a7aa48b53454cbe558cdfa1697a89cdfd98e248
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
- 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>
|
|
BonnieLo-wiwynn (1):
Add event log for log cleared
Change-Id: I78d93f72258fc3e8b20ec3b58dce8095ded1112e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Patrick Williams (1):
OWNERS: remove inactive reviewers
Change-Id: If020d527acbec811e50284bfc084504109e7f574
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I364360bf10757cf78db51086d5cbbde0ed75e1bd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add gpio monitor for power good, power reset button
and post end.
Change-Id: Ibd18b04eaf2db45fb12765a922ce3cbd2787e32e
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
To support power on, power off, power-cycle reset and sled-cycle.
Change-Id: Ib26fbe7087d7ab2b68c61d46a7dcf3ab5f7847b0
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Shawn McCarney (1):
pseq: Document enhanced JSON config file format
Change-Id: Icd795f5a9b7f13c1226168a49fd68e4b12dc1754
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Setting the USB network address for SITV.
Change-Id: Ice43dfbb230ec5a97f73449dc1460e75e2d8d9dc
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
1.Enable ESPI register
2.Disable WDT2 for Dual image.
Change-Id: Id3dc4cefeb10b58b5bb24f6ac5470e82758b4b5a
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
Joseph Fu (1):
PSUSensor: add max11607 support
Change-Id: I223d1fc659b188d4c1ea040a2b8fa0697db7cabe
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
meson: simplify add_project_arguments for OEM_IBM
Change-Id: Ib34baa1de883f2d8698a0d487460385df77ad8c2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
Initial commit the configuration of dbus-sensors use in the Minerva.
Change-Id: I798d995ffec285ded6aaa56f65bc4d2deb28b0b8
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
- Add bios version & after activated bios version in phosphor-settingsd.
Change-Id: If617ffb587b2f45411483dda655d7a0ce99105e2
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Add spi gpio from tpm2
Change-Id: Id6b82fc29a01ec327cc50a9edbde0810d28f15ea
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
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
|
|
Josh Lehan (1):
Changing wording of failsafe transition messages
Change-Id: I0c3faed6806ee00bcf9976d67c056f6d37068216
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tom Tung (1):
Get eraseMaxGeometry and eraseMinGeometry from dbus
Change-Id: I0ead8070a28deeff2119a7360d084293bfefc26e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Pavithra Barithaya (1):
README.md: update the error scenario output
Change-Id: Ib748a95bc3c33baef54cc081828dbd40e5748548
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
zhaogang.0108 (1):
bmcweb: Add nullptr check for weakptr
Change-Id: I869e09b600f841652ef27978b68c838aa246c465
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tested: can build
Change-Id: Id99ae67689f13b2f71fbe8ab3edad03700f9291b
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
Potin Lai (1):
PSUSensor: add mp2856/mp2867 support
Change-Id: I0e27f9e3aa53d124f9dae98d7854c518f0c71599
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Andrew Jeffery (1):
OWNERS: Remove Andrew Jeffery
Change-Id: Ibdadce211a081d8c15b22bdfd5d45fe4a9a6845f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: I1009b5e72be5ccfd3a40dbed188990b41ebd3704
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: Iedfb77f9801138b65b387ebb6d4461748b6b280d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: I25f6f2ba02c1877ecc0c303b9783eff9a110552d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: I987c163723b11b06a234f87670c1d18fa34782c1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: Ib94aa65b47e4e54c3d3765cb6add5617ccb9aebb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: I40f1605f71943e50d35732966091b8b0acfb30bf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
OWNERS: Update Andrew's preferred email
Change-Id: Ic96f9a786ff2a41f454769b727cc25a817a7d985
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|