| Age | Commit message (Collapse) | Author | Files | Lines |
|
The reset-fan-watchdog service needs to toggle a GPIO in order to unlock
the fan watchdog circuit so fans can be controlled after the watchdog
has expired and locked them at high speed. This gets called on every
power on to bring the fans under control again in case the watchdog had
expired on the previous boot.
This was done previously using a custom application which used libgpiod
under the covers, which was written before gpioset was around.
Now that gpioset is available, just use it instead to toggle the GPIO so
there's less custom code we have to worry about maintaining.
The actual minimum timing requirement of the toggle is around 5ns, so
the 1us being used by all the config files meets that.
Tested:
Expired the watchdog by stopping the fan-watchdog service, then powered
off and back on and made sure the fans can still be controlled.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ibd36ff17e83b57d521364f0092dfa1f5abf34856
|
|
Add phosphor-ipmi-fru and ipmi-fru-properties configurations
to parse the MAC address from board IPMI EEPROM.
Add config for phosphor-network to sync MAC to u-boot env.
Change-Id: I76c294f8822da11da2fedef5fdd842ce6d10efd0
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Enable the fan control PID loop. It depends on the D-Bus
configuration posted here:
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/58421
Change-Id: I32979f5705a745dcf0abdab5cce9d62340c33fbf
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Change-Id: I5be5a644de26648d194b66ae70148201b4dafd58
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Change-Id: Ic6a5bc3547e6416897a2a27eb59c0484a9abf67e
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Change-Id: Iffad7afabba59e0c50d2d7151847f166f9af0b9d
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
IBM systems do not always configure both eth0 and eth1 ports. This
causes this service to fail and hold up the boot of the BMC by the 2
minute timeout.
Override this service file to have IBM systems only wait for eth0 OR
eth1 to become active.
The Genesis3 BMC has two NICs. Be happy with a link up on one of them.
TEST=Build for Genesis3 & make sure with waits for either of the two
NIC to be active.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Change-Id: I0ffd652fabd5e998b14e23621d89046a9eed5455
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The argument class will be removed in the future and CLI11 will be
used instead[1].
[1]: https://gerrit.openbmc.org/c/openbmc/phosphor-led-sysfs/+/65711
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I5fc34324e2139d31b0a338a9f2075ca865b4ff41
|
|
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ib980d63ad96aa235990ea060fbab37ae4049f66f
|
|
Ed Tanous (1):
Port to meson
Jason M. Bills (1):
Fix build warning
Change-Id: I7619ac24615208d47f6b2f9e516fb3a526cae53b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
We have seen that smartnic workaround is running after dhcp done.
If we see dhcp-done service running, no need to restart dhcp.
Change-Id: I83ad8bc376f6727ec98a4ce4b2e545d00a2b9c82
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
In case FLASH_SIZE is undefined, default to the minimum value of
ERR_INFO_CAP instead of failing the build.
Tested:
With FLASH_SIZE undefined, confirmed that the build succeeds and
ERR_INFO_CAP is set to the minimum value of "10".
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: I03942ffcb3d238f5231c312e418b4f35079da6b6
|
|
This kernel config is not intended to be set on production kernels and
has side-effects of enabling non-mainline compiles, which aren't always
supported with the typical compilers. Right now this enables a
RANDSTRUCT gcc-plugin that doesn't compile with GCC-13.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I47947aec4de54e11b6b5afccb6607b8c14d6cc95
|
|
Changelog:
IGPS 02.01.18 - Jul 27th 2023
==============
- BootBlock 10.10.18 Date: 24.07.24
================== ===============
Add support for baud rate setting
supported baud rates 115200, 460800
- Support BAUD Rate configuration (115200, 460800)
- XML: Add baud rate setting to BootblockAndHeader.XML
Default value is 115200.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I93d6b37fdf1d4662cfe84b11dd73d7aa3d24aaf6
|
|
Changelog:
IGPS 03.09.02 - Jul 24th 2023
==============
- bootblock 0.3.5
https://github.com/Nuvoton-Israel/npcm8xx-bootblock/
releases/tag/A35_BootBlock_0.3.5
* bug fix: support NO_TIP mode + updated memory map.
all images are loaded to DRAM. (from version bootblock 0.3.4)
* Call CLK_ConfigureFIUClock only in PORST
(update SPI dividers from header).
* re-enable HOST_IF field in header. Supported values:
0xFF: do nothing
0x00: LPC.
0x01: eSPI
0x02: GPIOs TRIS.
0x03: release host wait, disable eSPI
configuration is done only in PORST.
- add baud rate field to header:
* Supported values: 9600,14400,19200,38400,57600,115200,230400,
380400,460800,921600. Default is 115200.
- Update README with signing options.
- Support pkcs11-tool on Linux.
- Bingo 0.0.6.
https://github.com/Nuvoton-Israel/bingo/releases/tag/Bingo_0.0.6
- update Monitor 1.0.9 (contact Nuvoton for internal users only)
- Optee npcm845x_3.22.0-rc1-7:
https://github.com/Nuvoton-Israel/optee_os/releases/tag/3.22.0-rc1-7
* change load address of OPTEE-OS from 0x36000000 to 0x02100000
* added HUK reading from TIP Mailbox DME PCR0
- TIP_FW 0.6.1 L0 0.5.0 L1:
* Update RCR regs whenever PORST bit is set in TIP_SCR1
(ignore all other bits)
* Export PCI parameters on any reset,
re-order the parameter locations.
* Fix typos un uptime and similar.
* SWRST4 is TIP_RESET.
##uboot https://github.com/Nuvoton-Israel/u-boot/
releases/tag/v2021.04-npcm8xx-20230724
* u-boot.bin is built with extra config to skip
UART initialization in u-boot (CONFIG_SYS_SKIP_UART_INIT=y)
- Update bootblock XML:
* Add host IF field. eSPI in all flavors except Google XML.
* Add BAUD rate field. default is 115200.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ib9d19566ef42d4bbcc3c15df599e396b25e2eede
|
|
Manojkiran Eda (1):
use fs.copyfile instead of deprecated copy
Change-Id: I1371d43e21a5a4201dcfcb9dde83577addd22be8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
time: changes to support 64bit time
Change-Id: I5b88b32c299ea07015d1c0aed57f4126bdc1d8d4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
ipmbsensor: remove debug log
Change-Id: I2656a5afa5da759e3743488a25118177decc923b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Alexander Hansen (1):
configurations: add GOSPOWER G1136-1300WNA PSU
Change-Id: I4ca72cc3e5d404a52b21c6d27f327538843769f2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (1):
Add support for deleting authentication failure record files
Change-Id: I48940ae1021641aeeedf6459fe0843328a6ab97f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (1):
msgbuf: Remove duplicate fixup of _Static_assert() for C++
Thu Nguyen (1):
transport: free un-wanted responses in pldm_transport_send_recv_msg()
Change-Id: Ic83517773a9cac6235ab85f525e01a0763b60d63
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayaprakash Mutyala (1):
Populate Memory attributes
Change-Id: I41710fb4888e55d45bcb23f05f50bfea6b33528a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Refactor login/logout
Gunnar Mills (1):
Revert "Cache user role in session object"
Lukasz Kazmierczak (1):
Add PATCH for MetricReportDefinition
Patrick Williams (1):
sdbusplus: use shorter type aliases
Change-Id: I7026e3844745d3d628d8437b1cb5771322500cc6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tang Yiwei (1):
Add privilege check in activate payload
Change-Id: Ia92c7b7276e1055253e957f195fbc75fbb0f0aa2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Modify ACBEL PSU configuration file to read output voltage from sysfs
in2_label and to read the output current from curr2_label.
Testing: Placed the modified config file in
/etc//default/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf
then verified the output voltage and current output shows up on the BMC
sensors web page and redfish.
Change-Id: Iacf1469295b99f6a7363d26983786f9c7ed8826a
Signed-off-by: Faisal Awada <faisal@us.ibm.com>
|
|
Currently same subnet IPv4 configuration on both ethernet interfaces
does not work.
This commit sets kernel ARP settings which allow same subnet routes on
both ethernet interfaces at the same time.
Tested by:
Configure same subnet IP addresses on both interfaces and network
configuration works
Change-Id: I01962b8bf066ccf7006915e77f07287b6e5544d4
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
|
|
By setting CHASSIS_TARGETS = "", obmc-chassis-poweron/off@0.target will
not have a dependency on obmc-led-groups-start/stop@power_on.service.
This keeps us from having to add the led.yaml file for
phosphor-led-manager since we do not require
obmc-led-groups-start/stop@power_on.service to activate.
Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
Change-Id: I8e9581b067cf2a5589da9dc18a6a140c40130c63
|
|
Move gbmc ramoops collector into private repo.
This is to reduce the customized systemd script in public openbmc.
Change-Id: I9e8861fc2261852eb86b9b222749cb340ac66dad
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Priyanga Ramasamy (1):
Unable to set minimum ship level
jinuthomas (1):
Catching File Exceptions in openpower-vpd-parser
Change-Id: I90533ae5df1aa936cf7fa9371c0892d3976d07a6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
In the Redfish Data Model Specification, it deprecated Power and Thermal
schemas from v1.7 version (release on 2020.4). It used PowerSubsystem
and ThermalSubsystem instead.
This commit replaces deprecated Power/Thermal schemas with
PowerSubsystem/ThermalSubsystem schemas.
Tested:
1. The /redfish/v1/Chassis/<ChassisId>/<Power | Thermal> schemas have
been removed.
2. The /redfish/v1/Chassis/<ChassisId>/<PowerSubsystem |
ThermalSubsystem> schemas have been added.
Change-Id: I4868cde726c07f68fc94986d9659fc9377bdaf5e
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
|
BMC shall assert SPECIAL_BOOT GPIO to the CPU to trigger Host Secure
Provision. Then BMC shall reset the system, or turn on the system if
it is being OFF.
After the host enters Provisioning Boot Mode successfully (or having
failure), BMC shall deassert the SPECIAL_BOOT GPIO to LOW.
Tested:
1. Flash HostFW with PASS case.
- $ ampere_flash_bios.sh spinor.img 1 1
- Host boot with logs:
[00:00:00.248,000] <inf> scu_stat: is_special_boot() = 1
[00:00:00.383,000] <inf> SECpro_cert_ext: Assert FW_BOOT_OK
[00:00:00.383,000] <inf> SECpro_cert_ext: Deassert FAULT_ALERT
[00:00:00.383,000] <inf> SECpro_cert_ext: SEC provision completed \
successfully
2. Flash HostFW with FAULT case.
- $ ampere_flash_bios.sh spinor_fault.img 1 1
- Host boot with logs:
[00:00:00.253,000] <inf> scu_stat: is_special_boot() = 1
[00:00:00.388,000] <err> SECpro_cert_ext: Invalid version cert 0.0
[00:00:00.388,000] <inf> SECpro_cert_ext: Assert FW_BOOT_OK
[00:00:00.388,000] <err> SECpro_cert_ext: SEC provision failed
[00:00:00.388,000] <err> SECpro_cert_ext: Sending error on \
FAULT_ALERT
3. Turn off the Host, flash HostFW with PASS case. After flash done,
Host boot with logs is the same with step #1.
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I546c7ffd80474edf6165e67f1b96eacbedcd0939
|
|
Allow the state file for rsyslog as configured by the default
rsyslog.conf. This prevent us from reading the the whole logs again (if
the logs persists across reboots).
Reference:
- https://gerrit.openbmc.org/c/openbmc/openbmc/+/64418
Change-Id: Ia3650627a26e2dbdcc62f1c464e389e4e668e3a8
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Josh Lehan (1):
lg2: Add mutex to avoid stderr line corruption
Change-Id: I3c17a3566f68fb1bccf9d32a40de02f1a0aa2693
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Saitwal, Meghan (1):
Add GNR-D to cpuinfoapp support
Change-Id: I4543bf0fe9c53dafbe56bda9cf3a2cb5cfa37fda
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (2):
print: Split out function for directly writing out strings
fd: Use zstrings
Change-Id: I78ca782244b90e2263e97c27d76ebf27b5faee2e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Nikhil Ashoka (1):
WebSocket tries to connect with 'console/default' instead of 'console0'
Change-Id: I1cd42a7677414e2412b72ab93da1a038405a1679
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jeremy Kerr (1):
tools: fw-update: allow ISO 8610 date formats
Manojkiran Eda (1):
bump cryptography from 3.4.7 to 39.0.1
Pavithra Barithaya (1):
README: Move to "meson setup [options]"
Change-Id: Ic49a6a61e9e4b73a146965ddb32837d4f679475e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Jeffery (5):
changlog: Fix ordering of Deprecated header under [Unreleased]
transport: pldm_transport_poll(): Handle errors from ->init_pollfd()
transport: pldm_transport_poll(): Adjust return value semantics
libpldm: Migrate ARRAY_SIZE() to internal header
transport: Introduce a transport for testing purposes
Pavithra Barithaya (3):
state-set: Add the enum for Operational Stress Status state
platform: Uniform struct field name for FRU Record Set PDR
platform: Uniform struct field name for Numeric SensorValue PDR
Thu Nguyen (1):
transport: Correct comparison in while loop condition
Change-Id: If60d61dc1e0dab9eed05ae2b4e5bc8301d9168df
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Chau Ly (1):
chassis: Change intrusion sensor look up method
Ed Tanous (3):
Fix logging
Add missing nullptr checks
Cache user role in session object
Gunnar Mills (1):
Fix RestorePolicy map
Change-Id: I3470e127e5aa693e1f3fc8f1899b9f9a5f52c078
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Manojkiran Eda (1):
Build test cases by default
Change-Id: I7e206879f36ffca92b47b159bd195b2c5f566f9e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tests are enabled by default in the repository, disabling them in the
recipe so that they won't be compiled during the full image build.
Change-Id: Icd00f36afbc490101a6936d4aebcc9ccf926b41d
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
|
|
Adjust meta-ibm to add support for the new machine.
Change-Id: I2eb61f3d9c85c23b16f026f8f9eb4506c78e97ad
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Remove unused service files and add missing call for
ampere-host-reboot@.service.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If25d92343a23c313705213fba8f13446dcdb933e
|
|
The meta-phosphor recipe now includes a variable for setting the cap
on info logs. Leverage that rather than an explicit EXTRA_OEMESON
extension.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib0bc935691f4e1acb8fb667dffd60df8ce4d8118
|
|
The phosphor-defaults.inc file has some free-standing line continuations
that aren't in strings. While this might be accepted by bitbake, I
don't think it is intended to be valid syntax, and the upstream
vimsyntax file isn't happy about it. Clean this up by removing the
continuation.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iee63c7eec4f940b28d45d3b9a1d0d97d93fff2e6
|
|
Change the default err_info_cap length according "flash-${FLASH_SIZE}"
to get more appropriate for larger flash systems about this option.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I769d24957f48552aabbd198cff1ca31b435af379
|
|
Switch to meson.
Patrick Williams (3):
build: add basic meson config
build: add meson for unit-tests
build: remove autotools support
William A. Kennington III (1):
build: Some minor refactoring
Change-Id: I3697ef580954f5423af0620df5c25e496de7e1c2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Duke Du (1):
Filter some probe fail fru
Fran (8):
Merge pull request #6 from quanta-bmc/dev_harvey_retry_get
Merge pull request #7 from quanta-bmc/dev_harvey_retry_get
Merge pull request #9 from quanta-bmc/dev_scron_using_cmake_and_googletest_and_find_fru_bus
Merge pull request #10 from quanta-bmc/dev_scron_Update_README
Merge pull request #12 from quanta-bmc/dev_scron_0204_fixed_bug_when_empty_line_in_config
Merge pull request #11 from quanta-bmc/dev_scron_0107_Renamed_parameters
Merge pull request #13 from quanta-bmc/dev_scron_0205_Modified_mac_address
Merge pull request #16 from quanta-bmc/dev_duke_filter_multiple_same_fru_name_1001
Harvey Wu (4):
add retry get fru data loop & output log
only print first 256 bytes FRU data in log
Merge pull request #18 from wltu/dev-cstdint
Merge pull request #19 from wltu/dev-cmake-systemd-unit
Scron Chang (9):
Use Cmake, gtest, and add find-fru-bus.sh as well as config.txt.
Add new line in the end of find-fru-bus.sh
Add install config.txt and find-fru-bus.sh in CMake.
Add PERMISSIONS to find-fru-bus
Add new line to mac-address.cpp mac-address.hpp
Update README.md.
Renamed parameters
Fixed mac-address gets "is empty".
Improve the code efficiency and robustness.
Scron-Chang (1):
Merge branch 'master' into dev_scron_using_cmake_and_googletest_and_find_fru_bus
Willy Tu (2):
include cstdint for uint8_t
cmake: Update system unit dir location to install
Change-Id: I56abce1b6eca8e4a5a64a59c1949263e4eab462f
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Change-Id: I03a92e0d873dea306222b036accb931cf033e84e
Signed-off-by: Charles Kearney <charles.kearney@hpe.com>
|
|
Pmsg type will generate pmsg-, which will be used by kdump, this is to
let this service not processing the core file.
Change-Id: Ida4f8038a07ccea4be659cd734acc1a7d5c86e59
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|