/openbmc/libpldm/include/libpldm/ |
H A D | transport.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 19 * @pre The pldm transport instance must be initialised; otherwise, 23 * @param[in] transport - Wait until this transport instance is ready 24 * @param[in] timeout - Wait for readiness for up to timeout milliseconds. 25 * Specifying a timeout value of zero yields an immediate return. 26 * Specifying a negative value means an indefinite timeout. 28 * @return 0 if a timeout occurs, 1 if the transport becomes ready, PLDM_REQUESTER_INVALID_SETUP if 31 int pldm_transport_poll(struct pldm_transport *transport, int timeout); 37 * @pre The pldm transport instance must be initialised; otherwise, 42 * @param[in] ctx - pldm transport instance [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_watchdog.robot | 60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits 61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer. 62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits 71 Test IPMI Watchdog Timer Timeout Action Bits 72 [Documentation] Execute out of band set/get timer timeout bits for watchdog timer. 86 Test IPMI Watchdog Timer Timeout Flag Bits 87 [Documentation] Execute out of band set/get timer timeout flag bits for watchdog timer. 134 # Start_timer_value is bits 6 - 7; set to 0x64 0x00 (100 ms decimal). 135 # Reverse bits 6 - 7 due to BMC being little endian; new value is 0x00 0x64. 160 Verify Pre-timeout Values [all …]
|
/openbmc/openbmc-test-automation/data/ |
H A D | ipmi_raw_cmd_table.py | 6 - Define IPMI interface index, commands and expected output. 14 # openbmc/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipe 15 # s-phosphor/ipmi/phosphor-ipmi-host/cipher_list.json 162 "Last two bits are payload vlan number, - FFFFh if VLAN" 284 "pre-timeout interrupt None", 286 "pre-timeout interrupt NMI", 288 "timeout action None", 290 "timeout action Reset", 292 "timeout action PowerDown", 294 "timeout action PowerCycle", [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | bitmain-antminer-s9.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include "zynq-7000.dtsi" 13 compatible = "bitmain,antminer-s9", "xlnx,zynq-7000"; 27 reserved-memory { 28 #address-cells = <1>; 29 #size-cells = <1>; 34 no-map; 39 no-map; 45 stdout-path = "serial0:115200n8"; [all …]
|
H A D | zynq-dlc20-rev1.0.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-dlc20-rev1.0", "xlnx,zynq-dlc20", 13 "xlnx,zynq-7000"; 30 stdout-path = "serial0:115200n8"; 34 compatible = "ulpi-phy"; 35 #phy-cells = <0>; 37 view-port = <0x0170>; 38 drv-vbus; [all …]
|
H A D | at91sam9260-smartweb.dts | 2 * at91sam9260-smartweb.dts 7 * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board 9 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 13 /dts-v1/; 21 u-boot,dm-pre-reloc; 22 stdout-path = &dbgu; 31 clock-frequency = <32768>; 35 clock-frequency = <18432000>; 52 u-boot,dm-pre-reloc; 57 pinctrl-0 = [all …]
|
H A D | at91sam9g20-taurus.dts | 2 * at91sam9g20-taurus.dts 7 * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board 9 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 13 /dts-v1/; 21 u-boot,dm-pre-reloc; 22 stdout-path = &dbgu; 31 clock-frequency = <32768>; 35 clock-frequency = <18432000>; 52 u-boot,dm-pre-reloc; 57 pinctrl-0 = [all …]
|
/openbmc/openbmc/meta-google/recipes-google/systemd/ |
H A D | gbmc-systemd-config.bb | 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 12 file://firmware-updates.target \ 13 file://firmware-updates-pre.target \ 14 file://gbmc-psu-hardreset-pre.target \ 15 file://gbmc-psu-hardreset-time.service \ 16 file://gbmc-psu-hardreset.target \ 17 file://gbmc-enqueue-powercycle.sh \ 18 file://40-gbmc-forward.conf \ 19 file://40-gbmc-sysctl.conf \ [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | integrator-common.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 28 * then the U-Boot initialisation code will 29 * e.g. ARM Boot Monitor or pre-loader is repeated once 30 * (to re-initialise any existing CM_INIT settings to safe values). 33 * will either reboot into the ARM monitor (or pre-loader) 34 * or continuously cycle thru it without U-Boot running, 35 * depending upon the setting of Integrator/CP switch S2-4. 37 * However it may be needed if Integrator/CP switch S2-1 38 * is set OFF to boot direct into U-Boot. 47 * However, the default U-Boot code also performs the initialization. [all …]
|
/openbmc/phosphor-state-manager/target_files/ |
H A D | meson.build | 2 'obmc-bmc-service-quiesce@.target', 3 'obmc-chassis-blackout@.target', 4 'obmc-chassis-hard-poweroff@.target', 5 'obmc-chassis-powered-off@.target', 6 'obmc-chassis-poweroff@.target', 7 'obmc-chassis-poweron@.target', 8 'obmc-chassis-powerreset@.target', 9 'obmc-chassis-powercycle@.target', 10 'obmc-fan-control-ready@.target', 11 'obmc-fan-control.target', [all …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | virtex2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 * file and add board-specific support for checking BUSY status. By default, 60 * The default timeout in mS for INIT_B to deassert after PROG_B has 72 * The default timeout for waiting for BUSY to deassert during configuration. 80 /* Default timeout for waiting for FPGA to enter operational mode after 98 switch (desc->iface) { in virtex2_load() 111 __FUNCTION__, desc->iface); in virtex2_load() 120 switch (desc->iface) { in virtex2_dump() 133 __FUNCTION__, desc->iface); in virtex2_dump() 144 * Virtex-II Slave SelectMap configuration loader. Configuration via [all …]
|
H A D | spartan2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <common.h> /* core U-Boot definitions */ 8 #include <spartan2.h> /* Spartan-II device family */ 41 /* ------------------------------------------------------------------------- */ 42 /* Spartan-II Generic Implementation */ 48 switch (desc->iface) { in spartan2_load() 61 __FUNCTION__, desc->iface); in spartan2_load() 71 switch (desc->iface) { in spartan2_dump() 84 __FUNCTION__, desc->iface); in spartan2_dump() 96 /* ------------------------------------------------------------------------- */ [all …]
|
H A D | spartan3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <common.h> /* core U-Boot definitions */ 13 #include <spartan3.h> /* Spartan-II device family */ 45 /* ------------------------------------------------------------------------- */ 46 /* Spartan-II Generic Implementation */ 52 switch (desc->iface) { in spartan3_load() 65 __FUNCTION__, desc->iface); in spartan3_load() 75 switch (desc->iface) { in spartan3_dump() 88 __FUNCTION__, desc->iface); in spartan3_dump() 100 /* ------------------------------------------------------------------------- */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/ |
H A D | mysql-systemd-start | 3 # Needed argument: pre | post 5 # pre mode : try to run mysql_install_db and fix perms and SELinux contexts 13 ret=$(/usr/bin/my_print_defaults $section | grep '^--'${option}'=' | cut -d= -f2-) 14 [ -z $ret ] && ret=$default 23 [ -d "$datadir" ] || install -d -m 0755 -omysql -gmysql "$datadir" || exit 1 25 [ -e $log ] || touch $log 28 if [ -x /usr/sbin/restorecon ]; then 34 [ -d "$datadir/mysql" ] && exit 0 37 /usr/bin/mariadb-install-db --rpm --datadir="$datadir" --user=mysql 44 # MySQL systemd service will timeout script if no answer [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/com/intel/Control/ |
H A D | NMISource.interface.yaml | 4 - name: BMCSource 9 - name: Enabled 16 - name: BMCSourceSignal 20 - name: None 23 - name: FpBtn 26 - name: WdPreTimeout 28 Via watchdog pre-timeout. 29 - name: PefMatch 32 - name: ChassisCmd 35 - name: MemoryError [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/Control/ |
H A D | NMISource.interface.yaml | 5 - name: BMCSource 10 - name: Enabled 17 - name: BMCSourceSignal 21 - name: None 24 - name: FrontPanelButton 27 - name: Watchdog 29 Via watchdog pre-timeout. 30 - name: ChassisCmd 33 - name: MemoryError 36 - name: PciBusError [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/ |
H A D | phosphor-state-manager_git.bb | 5 HOMEPAGE = "https://github.com/openbmc/phosphor-state-manager" 8 LICENSE = "Apache-2.0" 11 include phosphor-state-manager-systemd-links.inc 14 ${PN}-host \ 15 ${PN}-chassis \ 16 ${PN}-bmc \ 17 ${PN}-hypervisor \ 18 ${PN}-discover \ 19 ${PN}-host-check \ 20 ${PN}-reset-sensor-states \ [all …]
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | fsl_mmdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 int timeout = 1000; in set_wait_for_bits_clear() local 22 timeout--; in set_wait_for_bits_clear() 24 if (timeout <= 0) in set_wait_for_bits_clear() 25 printf("Error: %p wait for clear timeout.\n", ptr); in set_wait_for_bits_clear() 34 out_be32(&mmdc->mdscr, MDSCR_ENABLE_CON_REQ); in mmdc_init() 37 out_be32(&mmdc->mdotc, priv->mdotc); in mmdc_init() 38 out_be32(&mmdc->mdcfg0, priv->mdcfg0); in mmdc_init() 39 out_be32(&mmdc->mdcfg1, priv->mdcfg1); in mmdc_init() 40 out_be32(&mmdc->mdcfg2, priv->mdcfg2); in mmdc_init() [all …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | redfish_bmc_code_update.robot | 30 Test Timeout 45 minutes 39 # Refer: https://github.com/open-power/guard 63 ${state}= Get Pre Reboot State 113 [Timeout] NONE 114 # Override default 30 minutes, Disabling timeout with NONE explicitly 133 BMC Execute Command guard -I 140 # Old - /redfish/v1/UpdateService/ 141 # New - /redfish/v1/UpdateService/update 223 # image_version The Firmware image version (e.g. 2.8.0-dev-1107-g512028d95). 242 # image_version The Firmware image version (e.g. 2.8.0-dev-1107-g512028d95). [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/ |
H A D | cpu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * (C) Copyright 2000-2003 7 * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc. 8 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 25 out_be16(&gptmr->pre, 10); in do_reset() 26 out_be16(&gptmr->cnt, 1); in do_reset() 28 /* enable watchdog, set timeout to 0 and wait */ in do_reset() 29 out_8(&gptmr->mode, GPT_TMS_SGPIO); in do_reset() 30 out_8(&gptmr->ctrl, GPT_CTRL_WDEN | GPT_CTRL_CE); in do_reset() 44 switch ((in_be32(&siu->jtagid) & 0x000FF000) >> 12) { in print_cpuinfo() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | fsl_dspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2003 6 * Copyright (C) 2004-2009, 2015 Freescale Semiconductor, Inc. 7 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 39 /* tx/rx data wait timeout value, unit: us */ 42 /* CTAR register pre-configure value */ 51 /* CTAR register pre-configure mask */ 61 * struct fsl_dspi_platdata - platform data for Freescale DSPI 76 * struct fsl_dspi_priv - private data for Freescale DSPI 136 mcr_val = dspi_read32(priv->flags, &priv->regs->mcr); in dspi_halt() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/ |
H A D | client.py | 4 # SPDX-License-Identifier: GPL-2.0-only 55 timeout=30, argument 64 self.timeout = timeout 72 return StreamConnection(reader, writer, self.timeout, self.max_chunk) 89 return StreamConnection(reader, writer, self.timeout, self.max_chunk) 119 open_timeout=self.timeout, 122 raise ConnectionError("Timeout while connecting to websocket") 125 return WebsocketConnection(websocket, self.timeout) 133 "needs-headers: %s" % ("true" if self.needs_server_headers else "false") 190 if isinstance(msg, dict) and "invoke-error" in msg: [all …]
|
/openbmc/openbmc-test-automation/bin/plug_ins/Stop/ |
H A D | cp_stop_check | 22 # Initialize default plug-in parms.. 32 description='If the "Stop" plug-in is selected by the user, %(prog)s' 39 + " command returns non-zero, then %(prog)s will return " 48 prefix_chars="-+", 52 # want. These stock parms are pre-defined by gen_get_options. 116 timeout = "0 seconds" 121 + timeout 168 "esel_stop_check --esel_stop_file_path=" + STOP_ESEL_STOP_FILE_PATH 204 # If pel_stop_file_path is unqualified and cannot be found, pre-pend 271 " Verify_hardware plug-in detects a hardware error."
|
/openbmc/phosphor-state-manager/ |
H A D | obmcutil | 1 #!/bin/bash -e 3 set -euo pipefail 9 USAGE="Usage: obmcutil [-h] [--wait] [--verbose] [--id=<INSTANCE_ID>] 20 HOST_TIMEOUT_TARGET=obmc-host-timeout@0.target 21 HOST_CRASH_TARGET=obmc-host-crash@0.target 36 # continuing on with the program or reporting an error if timeout reached. 62 echo "obmcutil recoveryoff Disable handling boot watchdog timeout and host crash" 65 echo "obmcutil recoveryon Enable handling boot watchdog timeout and host crash" 68 … echo "obmcutil recoverystatus Display the status of handling boot watchdog timeout and host crash" 74 echo "obmcutil listlogs List all phosphor-logging entries on the" [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 10 #include <asm/arch/imx-regs.h> 31 reg = __raw_readl(&imx_ccm->CCGR2); in enable_ocotp_clk() 36 __raw_writel(reg, &imx_ccm->CCGR2); in enable_ocotp_clk() 44 clrbits_le32(&imx_ccm->CCGR4, in setup_gpmi_io_clk() 52 clrbits_le32(&imx_ccm->CCGR4, MXC_CCM_CCGR4_QSPI2_ENFC_MASK); in setup_gpmi_io_clk() 54 clrsetbits_le32(&imx_ccm->cs2cdr, in setup_gpmi_io_clk() 60 setbits_le32(&imx_ccm->CCGR4, MXC_CCM_CCGR4_QSPI2_ENFC_MASK); in setup_gpmi_io_clk() 62 clrbits_le32(&imx_ccm->CCGR2, MXC_CCM_CCGR2_IOMUX_IPT_CLK_IO_MASK); in setup_gpmi_io_clk() [all …]
|