Age | Commit message (Collapse) | Author | Files | Lines |
|
we can use xyz.openbmc_project.State.OperatingSystem.Status.OSStatus to
check the status.
Change-Id: Icf735c61985dab5530c6f5432befab110f9713ec
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
The CMM can't power on the host if the host sled cycles.
Therefore, the host BMC detects the HSC power good rising signal to power on the host.
Change-Id: I121422a5fa862e871b05676dd11ed29a14f745fd
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
While NIC hot remove/plug or replace another NIC,
it must down/up to NCSI re-initialization
and reconfigure net interface to recovery network link.
Tested:
build and test on yosemite4 system
NIC1 (eth0) connected CX7 NIC
root@bmc:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E8:EB:D3:46:D8:71
inet addr:10.10.14.236 Bcast:10.10.255.255 Mask:255.255.0.0
inet6 addr: 2018:5::4ca9/128 Scope:Global
inet6 addr: fe80::eaeb:d3ff:fe46:d871/64 Scope:Link
inet6 addr: 2019:7::eaeb:d3ff:fe46:d871/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23692 errors:0 dropped:11 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2510627 (2.3 MiB) TX bytes:21546 (21.0 KiB)
Interrupt:42
Test 1: remove and plug same NIC
bmc still pingable
ping 10.10.14.236
Pinging 10.10.14.236 with 32 bytes of data:
Reply from 10.10.14.236: bytes=32 time=1ms TTL=64
Reply from 10.10.14.236: bytes=32 time=1ms TTL=64
Reply from 10.10.14.236: bytes=32 time=1ms TTL=64
Reply from 10.10.14.236: bytes=32 time<1ms TTL=64
Test2: Remove CX7 NIC and plug another BRCM NIC
eth0 will reconfigured by correct MAC address and its pingable
ifconfig eth0
eth0 Link encap:Ethernet HWaddr D4:04:E6:36:58:19
inet addr:10.10.12.226 Bcast:10.10.255.255 Mask:255.255.0.0
inet6 addr: fe80::d604:e6ff:fe36:5819/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25736 errors:0 dropped:12 overruns:0 frame:0
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2749245 (2.6 MiB) TX bytes:32907 (32.1 KiB)
Interrupt:42
ping 10.10.12.226
Pinging 10.10.12.226 with 32 bytes of data:
Reply from 10.10.12.226: bytes=32 time=1ms TTL=64
Reply from 10.10.12.226: bytes=32 time=1ms TTL=64
Reply from 10.10.12.226: bytes=32 time=7ms TTL=64
Reply from 10.10.12.226: bytes=32 time=1ms TTL=64
Change-Id: I8130eb4ba317ebd66378d646ca95e03dd7481fd7
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
|
|
Apply same baudrate config in u-boot-fw-utils-aspeed-sdk and
u-boot-aspeed-sdk to avoid garbled text in console during kernel boot.
Change-Id: I67942ff7a478291796b44d63550930a8b506bb7e
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
We notice that SOL (obmc-console-client) shows unexpected garbled text
somtimes, and we find out it is generated by `tty-handler`.
`tty-handler` is a handler for mirroring the data from `upstream-tty`
to `local-tty` device. Because we not expecting mirroring feature,
remove all `local-tty` from all .conf files.
Change-Id: I068c452558309fefc71bf5566f43aba8a8faa88a
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Add phosphor-power-contorl to initialize chassis power status.
Change-Id: Ia03375cfaf6445cbd02d9c81fd90f5e8a3951664
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
The LED cannot be on if the host is on when the BMC reboots.
Add a script to turn it on.
Change-Id: Iad427fe56d7aeffdabf261ffcd0ce50db72a8d51
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Add phosphor-power-contorl to initialize chassis power status.
root@harma:~# busctl introspect org.openbmc.control.Power /org/openbmc/control/power0
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 - -
org.openbmc.control.Power interface - - -
.getPowerState method - i -
.setPowerState method i - -
.setPowerSupplyError method s - -
.pgood property i 1 emits-change
.pgood_timeout property i 10 emits-change writable
.state property i 1 emits-change
.PowerGood signal - - -
.PowerLost signal - - -
Change-Id: I3bb3d4741415d772ec158385465226e355d048c0
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Rename host-ready-n to avoid confusion with host0-ready
The host0-ready signal represents the host power good status
used by the isHostRunning function check.
Change-Id: I641655f2f9db13daef600f27b8d259765c728dfd
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
The LED can't be on by chassis on when the BMC reboots.
Add a script to turn it on.
Change-Id: Ie7b09f2e07e19c8881b234e802b334ee5ac1c124
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
1. Added 2nd source of HSC (XDP710) restart command.
2. Revise compute/network blade power control command.
Change-Id: I38fc0317abbe5e67bb98865fd78a76430cd06df8
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Enable mdio-tools for communication with the PHY chip.
Change-Id: I4c595fc82018648472f2cf985b6afd386c5290ef
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Enable USB UART configuration for smart valve implementation.
Change-Id: I1032c9b4ff078b74168a6f47a0b428b3eb72d7e7
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Initial setting the UART device and send power source configuration command to STM32F for enable POE.
Change-Id: Ic9adab1f9cd36a5aff6aac420c3da3bcc93ec706
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Temporary disable control NIC main/aux mode to avoid Host reboot when
BMC reboot.
Change-Id: If051e1bf49f535335df9abf268baebdef92205cc
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
The redfish log dosen't rotate and it will fill up filesystem
eventually. Configure rotation behavior for it.
Tested: tested on yv4 system.
Change-Id: Icc0904e36179a47c6ca1a8083d11f9a59fd9eca2
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
rsyslog doesn't support reload, so the log rotation is not work.
Changed to do restart.
Tested: tested on yv4 system.
Change-Id: I6b77af4bcbf83ff2dd914a8766e9f21a6a0afbb3
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Add service for storage critical for health monitor. It will remove
files /var/log/redfish and /home/root/ when threshold triggered.
Change-Id: I5b9adc148dd8a0226fa56bbf8699121ceeb37723
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Summary:
Add virtual sensors to calibrate MB FIO temperature sensors with bellow
table.
For expample: if fan PWM exceed 30%, MB FIO temperature need to minus 0.6.
Fan duty(%) Offset(C)
30 0.6
50 0.5
70 0.4
90 -0.1
100 -0.2
Tested: Check the calibrated MB FIO temperature sensors are created.
Change-Id: Ifa33d4924e1aadd87d24d8527fe94c1bc9c6ebbd
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Summary:
- Adjust the fan numbering to correspond with the chassis labels.
- Thermal team tested and updated airflow calculation as below formula:
Airflow = [(Sum of all fan speed reading)/24 *0.0725] – 14.5
Change-Id: Id63c5d2b0684b3eda62425be48f37dcafbffe30f
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Add 99-platform-init to archive the following items:
1. Disable FMC_WDT2
AsT2600 uses the FMC_WDT2 register to archive the ABR feature.
Use this script to disable FMC_WDT2 before the systemd starts.
2. Detect boot flash source
Read the boot source for FMC_WDT2 and write into /run/media/slot
0: boot from primary source
1: boot from alternate source
Change-Id: I1219b870381a7292394635f7ecc29040eac8f555
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Description:
Set feed forward gain to 0 to disable feed forward feature for the
temperature sensors.
Set the integralLimit_min and integralLimit_max so the integral value
won't be zero.
Test Case:
1. Check fan control service is functional.
Change-Id: I2cf0c97581f9fdc424b04a022b566a5079ef2ce6
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
To support sled cycle for 2ND HSC source.
Change-Id: Id51a7cf310d45db31572540d35bee7b7ab780ca6
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
root@harma:~# find / -iname *serial-getty\@ttyS3*
/sys/fs/cgroup/system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS3.service
/run/systemd/units/invocation:serial-getty@ttyS3.service
/etc/systemd/system/getty.target.wants/serial-getty@ttyS3.service
Change-Id: If97e95efd32272a0b88dd39dd3b1f6116e6dc04e
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Networking team asked for tcpdump to be added to facilitate debug
operations. Add it to the set of debug-utilities we include by
default.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie864fc23f8c22db33b41518a923185f4c737b99c
|
|
The SD CPLD IO address has been changed to 0x24 to prevent conflicts with the BIC.
Change-Id: I20ddfed063b650fd99e16623eca9a1d05f7b240f
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
The script to setup NICs' EID has changed to 0 base by a commit,
the commit's hash: 178a2a2b4c1060abc4bea5f01042d6e8a67f4315.
Change this setup script to fit that change. Also let the script
call the service instead of the shell script.
Change-Id: Ic4d660c8226e895de6eb4dfd4a6bd3788d4f1935
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Summary:
We will using power control patch from gerrit 69903, so we add patch here.
Modifed power policy behavior. Avoid gating DVT build.
Motivation:
Avoid power policy fail because of failed with result 'start-limit-hit'.
Test Plan:
1. Build and test pass on YV4 system. pass
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Change-Id: I2c2f4eba3a5757264ed2443b82266ef08cd407ae
|
|
Add I3C hub config to enable I3C driver.
Add MCTP I3C config so that BMC could communicate with BIC using pldm
over mctp over i3c.
Change-Id: I3d125ba7b9885ad03e19bdf7f9748c41891996b0
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Support NIC 1 switch to main mode when one of slot1 or slot2 Host's
ACPI power status reach to S3. NIC 2 targets to slot3 and slot4,
NIC 3 targets to slot5 and slot6, etc.
Support NIC 1 switch to aux mode when slot1 and slot2 Host's ACPI
power status are S4. NIC 3 targets to slot3 and slot4,
NIC 3 targets to slot5 and slot6, etc.
Tested:
- Power off corresponding Hosts and check the NIC's power status.
- Power on one of the corresponding Host and check the NIC's power
status.
- All NICs have been tested.
Change-Id: I2e76ce3d18f81328789bb9a5d5be4025832b21e7
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
1. Extend EID scanning timeout to 60 seconds by the unstable CXL boot time.
2. Add error handling of EID retrieval.
Tested on YV4 system.
Change-Id: I46411c6007d15bf352909a2b7b1477826d7022ce
Signed-off-by: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
|
|
Since NIC's Entity Manager configuration cannot store information of
static EID for Yosemite4 platform, setup the NIC's MCTP Endpoint after
mctpd is successfully initilized if the corresponding slot is plugged
in.
Change-Id: Ida647d60d7ed72897f641dd9783f0105c2a5c0d5
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
add gpio presence monitoring
Testing:
systemctl status phosphor-multi-gpio-presence.service
● phosphor-multi-gpio-presence.service - Phosphor Multi GPIO presence
Loaded: loaded (/usr/lib/systemd/system/
phosphor-multi-gpio-presence.service; enabled;
preset: enabled)
Active: active (running) since
Sun 2024-04-21 23:51:56 PDT; 3h 21min ago
Main PID: 470 (phosphor-multi-)
CPU: 49ms
CGroup: /system.slice/phosphor-multi-gpio-presence.service
└─470 /usr/bin/phosphor-multi-gpio-presence --config
/usr/share/phosphor-gpio-monitor/
phosphor-multi-gpio-presence.json
root@bmc:~# busctl tree xyz.openbmc_project.Inventory.Manager
└─ /xyz
└─ /...
└─ /.../inventory
└─ /.../inventory/system
└─ /.../inventory/system/board
└─ /.../inventory/system/board/Harma_MB
├─ /.../inventory/system/board/Harma_MB/presence_asic_modules_0
├─ /.../inventory/system/board/Harma_MB/presence_asic_modules_1
├─ /.../inventory/system/board/Harma_MB/presence_e1s_0
├─ /.../inventory/system/board/Harma_MB/presence_e1s_1
└─ /.../inventory/system/board/Harma_MB/presence_ocp_0
Change-Id: I10c432c11415869ee8167fd07e7ec0b6105520be
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
|
|
It shouldn't keep waiting for MCTP connection if mctpd somehow
crashed. Limit it to wait for only 1 minutes.
Change-Id: I7b6d70a849c4f2a6be2d7bfcab49ba1b2e152807
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Delphine CC Chiu (1):
configs: add configs for yosemite4 system
Change-Id: I9bffdf66d9ea6f68c7a008360ac1faf26582fe5d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
There are many times we were trying to look into issues but the
journal had been rotated. Increase size to 10MB so we can debug
with more information in journal.
Change-Id: I346508a5506101a9e22f12fcb257fc4a2dcb2fa9
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Add configuration in phosphor-network to get the mac address from FRU.
Change-Id: I6c691aeaeb11731d6639bddf6cb2d77eb8af7b0e
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Summary:
Modify the members of fan fault group to two LEDs.
Tested:
- Assert/de-assert the fan fault led-manager and check the led
```
root@bmc:~# cat /sys/class/leds/fan_status_led/brightness
0
root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness
0
root@bmc:~# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/fan_fault xyz.openbmc_project.Led.Group Asserted b true
root@bmc:~# cat /sys/class/leds/fan_status_led/brightness
1
root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness
1
root@bmc:~# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/fan_fault xyz.openbmc_project.Led.Group Asserted b false
root@bmc:~# cat /sys/class/leds/fan_status_led/brightness
0
root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness
0
```
Change-Id: Ie6da366fffa8b39604d24c0d7fabadb3d79d16ed
Signed-off-by: Yi-Shum <EasonChen1@quantatw.com>
|
|
Description:
Add fan table provided by thermal team for yosemite4.
Test Case:
1. Check fan control service is functional.
Change-Id: I17921097b2567441297651a87255d61c10f2dec0
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Change the NIC slot number from 0 to 3 to meet with system definition.
Change-Id: Ic7f10e8ca81c68ffe410ee2eae9e41b413986519
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Add CONFIG_REGULATOR to yosemite4.cfg, triggering recompilation of the relevant code to ensure successful probing of max11615.
Change-Id: I85c6c95cfe1971a1827d86d6d075ec908d1b369b
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie0ed356908ab5e474760d1e0935e904a4f4c2001
|
|
Because CMM is without any host, we use the "Chassis" of the phosphor-state-manager which the chassis0 to indicate the "CMM sled power cycle" to control the CMM board only and the chassis1 to indicate the "CMM chassis power cycle" to control the entire system including CMM, compute, and network blades.
Change-Id: I17cf0f3e711b35da2d264e1f2fcb2f44d7af26d0
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
No other applications should depend on the fb-ipmi-oem repository
or its headers. Remove this install step. (If this were needed,
it should show up as DEPENDS and be done in the Meson install.)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Idfb678179644302788e4159e63f04d9bb5a2a4ec
|
|
We can't retrieve the BIOS version from Redfish
because the BIOS active property is null. Instead,
we can get the BIOS version from /var/lib/fb-ipmi-oem/appData.json,
which is updated by fb-ipmi-oem. Then,
we write the version to the active property when the host post end.
Test Plan:
curl -u root:0penBmc -k -X GET https://10.10.12.102/redfish/v1/UpdateService/FirmwareInventory/bios_active |grep Version
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 483 100 483 0 0 2639 0 --:--:-- --:--:-- --:--:-- 2653
"Version": "F0M_1A04"
Change-Id: Ia5f68ae9364f61c652ee328cab390804c2a65482
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Add PCC config to support AMD post code.
Change-Id: Id68fb240f266bed881f3a4a2f4eb8ec2f6778e56
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
|
|
Disable autoReboot to avoid host unexpected host restarts.
Change-Id: I03547c4e6df5253bc8c961181018ef4085b0b7ca
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
There are still chance that the CXLs doesn't ready with the 30 seconds sleep.
Extended to 40 seconds.
Tested:
Tested on YV4 system.
Change-Id: I506c8d85d996fcd05fa0da4515efc7b820927f42
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
|
|
Peter Yin (1):
appcommands: modify appData.json path
Change-Id: I42bb9b6b1959577236ae1154f29cc7bbe3797e2d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Enable RTC PCF8563 which is the new device starting from the EVT board.
Change-Id: Ia92e148db48552966d7f36f7b15c1bb551438356
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|