| Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes openbmc/openbmc#4022.
It was pointed out that sourcing the oe-init-build-env can potentially
use PATH rather than the one in the repository. Explicitly source
the local file (with ./) to prevent this.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I62a5561d6150ebc9c24de9716b3f0efe4358d9c7
|
|
Alexander Hansen (1):
Update LED service bus name
Change-Id: I8127aee8a51b03613e6b8def8b00160421267909
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add more non fru devices to blacklist.json to avoid issue caused by
FruDevice access.
Change-Id: I12e0e18f13198014c2128bcf82dbee022d9c5724
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Daniel Hsu (1):
usb-dbg: Update to determine when the BIOS should be displayed
Change-Id: I49dafccbe5d4389ab46a007d189babff4fb52f33
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add flock to chassis-powercycle to enforce sequential power cycles.
This prevents multiple simultaneous cycles.
Additionally, add a 20-second sleep in wait-until-mctp-connection-done
to allow PLDM devices time to initialize before cycling the next chassis.
Change-Id: Ib973e326a346c6dd727ace5b6d888f8fe4ea61e9
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>
|
|
There are two linenames in dts file were too long, kernel only keep
first 31 characters.
Adjust the linename in script to avoid unexpected linename error.
Original:
- OCP_V3_2_PWRBRK_FROM_HOST_ISO_PLD_N
- OCP_SFF_PWRBRK_FROM_HOST_ISO_PLD_N
gpioinfo shows:
- OCP_V3_2_PWRBRK_FROM_HOST_ISO_P
- OCP_SFF_PWRBRK_FROM_HOST_ISO_PL
Change-Id: Ibd073ca3a3c83b3654e0d288fc7c2c68a59a8c45
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Use `CONFIG_BOOTCOMMAND` to select which flash is booting with
`fixed-partitions` layout according devicetree.
Related commit:
https://gerrit.openbmc.org/c/openbmc/openbmc/+/73544
Tested:
root@bmc:~# cat /proc/mtd
dev: size erasesize name
mtd0: 08000000 00010000 "bmc"
mtd1: 002c0000 00010000 "u-boot"
mtd2: 00040000 00010000 "u-boot-env"
mtd3: 00600000 00010000 "kernel"
mtd4: 05600000 00010000 "rofs"
mtd5: 02000000 00010000 "rwfs"
mtd6: 08000000 00010000 "bmc2"
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Id754171f97717445fe6bf11e8c176e339221e1f6
|
|
John Wedig (1):
Use new template gbmc-bare-metal-active@.target
Change-Id: I0131440461f303aa8c8a4f4380e28af9a90afe56
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This commit converts the systemd target gbmc-bare-metal-active.target to
a template, so that we can have multiple systemd targets on platforms
with multiple hosts. The host number will get passed in when
instantiating the template, e.g. gbmc-bare-metal-active@0.target.
A number of other recipes are updated to account for this new systemd
template.
Tested:
- Set the bare metal flag /var/google/config-package/enable-bm.flag.
- Started host-gpio-monitor@0.service, which started
gbmc-bare-metal-active@0.target. That target caused
disable-obmc-console.service and disable-ipmi-kcs.service to start.
- Rebooted the host. At this point, the host-gpio-monitor@0.service
disabled gbmc-bare-metal-active@0.target. That caused
disable-obmc-console.service and disable-ipmi-kcs.service to stop.
- Set /run/bm-drive-cleaning-done-ack.flag and /run/bm-ready.flag.
- Ran “ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x11” on the host
- Confirmed that IPMI stopped working and checked the status of
gbmc-bare-metal-active@0.target and host-gpio-monitor@0.service.
Change-Id: I5ecac13570fb6d167edd2175c94e65464a9c18aa
Signed-off-by: John Wedig <johnwedig@google.com>
|
|
John Wedig (1):
host-gpio-monitor: Use systemd template
Mo Elbadry (1):
ncsid: Set MAC address using ioctl calls
Change-Id: Iad547979ada5a015d9ef09be7818f12245ab296b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Currently, it placed machine specific settings for AST2400, AST2500 and AST2600
in common config, aspeed.conf, with MACHINEOVERRIDE for different machine
settings. However, ASPEED will upstream to support AST2700 and it should add
"aspeed-g7" for AST2700 support.
To make aspeed.inc more readable and simple, move all specific machine settings
to individual machine config.
Change-Id: I3cc1a5b57df3f24e75accdf689e8d1dbb0351238
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
|
|
We sometimes see that image downloading gets stuck until maximum
timeout. This allow us to have another chance to retry the curl.
Tested: passed a invalid url and make sure the retry and time remaining are correct, and timed out with no issue.
Change-Id: Id64acdafa54734815b8a56335fe12821572c9a14
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Faisal Awada (1):
psutils: Partial AEI Updater class
Change-Id: Iac283fc2724d40186317320d0f46bc4e7e8b1826
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jagpal Singh Gill (1):
leak detection: add support for leak detectors
Change-Id: I0af3e99a90164c3bd0bb57dec03fdf9490b5f8fe
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (3):
scripts: pre-submit: Ensure changelog captures API updates
scripts: pre-submit: Be informative on meson formatting failures
scripts: pre-submit: Print meson format diff on failure
Thu Nguyen (2):
platform: add PLDM Command numbers
base: add PLDM Command numbers
Change-Id: I2f756db8a338042d679dbda66bdba43256bf60dd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
HuyLe (1):
Fix the KVM terminal screen not displaying
Change-Id: I831fad82835bda6d94145ae3d9dda2ae8ef7dd71
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Alexander Hansen (1):
log-create: fix listOnly variable
Patrick Williams (2):
lg2: commit: avoid double quoting strings
refactor metadata pack/unpack functions
Change-Id: I0a6d32086d4605d47eca81ec3bc4f31758145117
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Leo Yang (1):
configurations: yosemite4: Add max min config of Medusa Board INA238
Peter Yin (1):
configurations: harma: add chassis information
Ricky CX Wu (1):
configurations: yosemite4: adjust fan control configs
Change-Id: Id510e85493a46aa6b2eadf46d2ec11b8c4037396
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Dung Cao (1):
oem-ampere: eventManager: Add CPER Event class handler
Thu Nguyen (3):
platform-mc: Support multi-handlers for polled events
oem-ampere: eventManager: Trigger `CrashCapture` signal in BERT
oem-ampere: eventManager: Handle pldmMessagePollEvent event class
Change-Id: I240c829db4a140f6bd36e3d5608fd74dee421422
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Apply the upstream security and bug fixes.
Change-Id: Ie471184fdba19f355ebc54296443d497e67322df
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|
|
Apply the upstream security and bug fixes.
Change-Id: I3ac7e296521db080a79d56d8b7a783493aa2f267
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|
|
We have systems which experience various stability issues with warm
resets of the system. Allow them to powercycle instead of warm reset.
Tested: Enable this setting on a system and verified that the netboot
process causes the BMC to go into powercycle instead of warm reset.
Change-Id: I08bb56978c4e400d9201389047d9dfcdacbcc78d
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
command
1. Add conflict to the options of the power control command.
If two controls are executed on the same slot at the same time,
the power command executed first will be stopped before the next
command is executed.
2. Check the i3c hub when chassis power control fails to ensure that
the i3c port is correctly enabled/disabled.
3. When the conflict is added between all power-control options, the
command executed later will kill the previous command, causing the
execution of the previous command to fail. Therefore, we need to
confirm the power status before setting the power state.
Tested:
1. Power control: Pass
2. Sled-cycle/Reboot: Pass
Change-Id: I0eaf0958fe9d94d089b6f523904f6a1e582ecb5d
Signed-off-by: Lora Lin <lora.lin.wiwynn@gmail.com>
|
|
Revise the default value of the pin for the valve control in
minerva-early-sys-init.
Change-Id: I91888bf19878c4a14c0632b17b5d4204f34f77fc
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
|
|
Add the new PSU_MODEL_UTIL meson option to the
phosphor-psu-software-manager bitbake recipe.
This option specifies the command line tool that is used to obtain model
information from a power supply. Default to using the psutils tool.
Change-Id: I34cef9709b01ea88032adde0deb0e1780f4dae26
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
|
|
Summary:
After NIC power fault occurs, it is possible that CPLD keeps holding
alert pin, and only the first fault will be recorded.
If other faults occur later, they will not be recorded.
Thus, BMC needs to recovery CPLD alert pin after NIC power fault.
Test Plan:
Trigger NIC power fault and check logs.
Testing:
1. Clear logs
root@bmc:~# mfg-tool log-clear
<6> Calling DeleteAll on Logging service
"success"
2. Check if any NIC got power fault
root@bmc:~# i2ctransfer -f -y 28 w1@0x25 0x01 r1
0x00
3. Trigger NIC0 & NIC2 power fault
root@bmc:~# i2ctransfer -f -y 28 w2@0x25 0x0a 0x5
4. Check NIC power fault
root@bmc:~# i2ctransfer -f -y 28 w1@0x25 0x01 r1
0x05
5. Check logs
root@bmc:~# mfg-tool log-display | grep -i NIC
<6> Finding log entries.
<7> Iterating over entries.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/1.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/2.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/3.
"NIC0 Power Fault=1"
"message": "NIC0 Power Fault",
"NIC2 Power Fault=1"
"message": "NIC2 Power Fault",
6. Deassert & trigger NIC0 power fault
root@bmc:~# i2ctransfer -f -y 28 w2@0x25 0x0a 0x0
root@bmc:~# i2ctransfer -f -y 28 w2@0x25 0x0a 0x1
7. Check NIC power fault
root@bmc:~# i2ctransfer -f -y 28 w1@0x25 0x01 r1
0x01
8. Check logs
root@bmc:~# mfg-tool log-display | grep -i NIC
<6> Finding log entries.
<7> Iterating over entries.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/1.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/2.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/3.
<6> Examining xyz.openbmc_project.Logging.Entry at /xyz/openbmc_project/logging/entry/4.
"NIC0 Power Fault=1"
"message": "NIC0 Power Fault",
"NIC2 Power Fault=1"
"message": "NIC2 Power Fault",
"NIC0 Power Fault=1"
"message": "NIC0 Power Fault",
Change-Id: Id8cd8e2bc32757d9f95eebd9d9cd3a8c0ffe56cc
Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@gmail.com>
|
|
Potin Lai (1):
configurations: add catalina_hdd_nvme config
Change-Id: I230143767524407d6a3e90109bf558ca23df7230
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Fix timestamp buffer length overrun
Change-Id: Ice3d67d2675be22ae2ee2be00e96f54a36879b14
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (5):
dsp: firmware_update: Fix local include of stdbool
tests: firmware_update: Fix 'complition' typo
tests: firmware_update: Clean up some use of reinterpret_cast<>()
dsp: firmware_update: Iterators for downstream device descriptors
libpldm: Install api header, update changelog
Change-Id: Ie8ca2fcae944e0e0033f370a7519f9bc5b730730
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jagpal Singh Gill (2):
disable service files for Updater and Version
update usb-code-update service dependencies
Change-Id: If757e0d157261f940f5f458e99133148c4e328f7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (1):
Get model using command line tool
Change-Id: Idb0f7de1b66bdfa97bc6f01c833d2a7c267fad7a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jagpal Singh Gill (1):
leak detector: add leak events
Ravi Teja (1):
TOTP: Add D-bus errors
Change-Id: I4b51d97e23bdd23b9e862e8f6a68d110ade81afb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Previously, the adjustment of the tachometer sample count relied on the
fanX_target attribute. However, this attribute is not available for all
tachometer channels.
Change to use `i2cget` and `i2cset` commands instead of set fanX_target
until a proper fix is implemented at the driver layer.
Change-Id: I0ae876d09f227d95a55f8092061fd3f2cbdb8048
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Add following calibrated HSC sensors
- VIRTUAL_PDB_P48V_HSC1_CURR_A
- VIRTUAL_PDB_P48V_HSC2_CURR_A
- VIRTUAL_PDB_P48V_HSC1_PWR_W
- VIRTUAL_PDB_P48V_HSC2_PWR_W
Change-Id: Iea245aa680f13599197a0d12f6c4a38143919ea0
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Alexander Hansen (2):
Refactor: extract src/event_log.cpp
Refactor: move registries functions to their file
Potin Lai (1):
Change primary postcode interface to byte array
Change-Id: I43bff611ca766fb39a7487b63f01b647643b10b5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
run-repotest is currently not failing when the `supported-machines.md`
needs an update. Add an `exit 1` so that this fails visibly rather
than just reporting a warning.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Idd3332e4433b4d9b4792d6d1bfef8911930e4ffa
|
|
A few meta-layer changes occurred that were not reflected in
supported-machines.md. Run the tool and commit the changes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibb216a7bc5843ec60f545d177066f57e085a8c08
|
|
Description:
Add wait-until-mctp-EID-remove(180s) in chassis-powercycle
Modify the chassis_power_cycle.sh to ensure the SD/WF MCTP EIDs
to be removed after blade AC power off.
Motivation:
From blade AC power off sequence, we observed that the
rescan-fru-ocp-setting service had not completed after blade AC
powered on.
This caused the MCTP EID not to change, and consequently, no
‘add interface signal’ was sent to the pldmd service.
At this moment, the pldmd called the getSubTree method of the
object-mapper with a timeout, which caused the PLDM tree of the slot
to be moved by pldmd.
Other successful slots were able to recover because they followed the
correct sequence to remove the EID and then add it, which allowed them to
receive the 'add interface signal' necessary for the PLDM
initialization process.
The failure occurred on failed slot because the power-off sequence was
incorrect, which resulted in the loss of the 'add interface signal'
necessary for the PLDM initialization process.
Modify the chassis_power_cycle.sh to ensure the SD/WF MCTP EIDs to be
removed after blade AC power off.
Add wait time until MCTP EID to be removed after slot power off with
sleep 20s.
Test plan
Build Code -pass
Change-Id: I99398aacc8dcbcb362a698572c660721a240412b
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>
|
|
Add a wait mechanism to check whether WF BIC is coming up or not.
If WF BIC is not coming up with 60s, then call dbus method
to set EID for WF BIC.
Test plan:
Build Code - pass
Change-Id: I406e662da65dae09fcb220ea3149a7e3914f2b51
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>
|
|
Description:
The default timeout of busctrl is 25s, so we add the busctrl timeout
to 120s for “busctrl RescanBus for fru rescan” due to D-bus busy
Motivation:
We found a failure is related to the timeout of “busctrl RescanBus
for fru rescan” due to D-bus busy.
That means the rescan-fru-ocp-setting service had not completed after
blade AC powered off.
Test plan:
Build code - pass
Change-Id: I7c82fd7fe39d19efad0fd51ecb37ffb4b43baed1
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>
|
|
Caleb Palmer (1):
RAS Data: Update EQ_L2_FIR[24] to potential checkstop root cause
Change-Id: I66dd2345cd6c0d2ba3b2d24dba76f748349c3dd8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (1):
Add Slot interface to all NVMe drives
Priyanga Ramasamy (2):
delete-vpd:Do not throw exception if FRU is absent
Everest:Missing EXP_PRSNT GPIO pin for PCIe cards
Sunny Srivastava (1):
Update FRU status on recollection
Change-Id: I1a78f3e4d1a2dfd5b7a669195a7211b79346e58f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Chris Cain (2):
Add chassis association for total_power sensor
Update occ-control to use lg2 for all logging
Change-Id: Ia8d832b5875f3b434830853252bf024d629c7dab
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Thang Tran (1):
state: add errors for transition request
Change-Id: I7592970c252fab67d13bed0505124448c1575aa4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
There are two build options for TIP or NOTIP mode image.
Set `TIP_IMAGE` and `SECURED_IMAGE` to `True`
to build TIP mode image.
Set `TIP_IMAGE` and `SECURED_IMAGE` to `False`
to build NOTIP mode image.
Tested:
TIP device can boot into openbmc with both build options are True.
NOTIP device can boot into openbmc with both build options are False.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ic4d23259f80049471a90efff8f9f3e3831f7b5bb
|
|
Cosmo Chou (1):
Change primary postcode interface to byte array
Change-Id: I53001bc57eadc941512efdcb75c630b709c7e80f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Cosmo Chou (1):
Change primary postcode interface to byte array
Change-Id: I42627e966062d3a7e8719c0b9491b83c0d55a073
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Potin Lai (1):
Change primary postcode interface to byte array
Change-Id: I8ce50575ed40066e8494c81343bf84f57f676555
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Potin Lai (1):
Change primary postcode interface to byte array
Change-Id: Iea6a3b8db334159bf154978afc4553d2e4a8a3a0
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Vernon Mauery (1):
update transporthandler.cpp to use lg2
Change-Id: I87af50398932c87b65647fde2ca767b7dfae99f6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|