/openbmc/openbmc-test-automation/docs/ |
H A D | openbmc_test_tools.md | 8 $ ipmitool -V 16 [README](https://github.com/open-power/HTX) 21 [README](https://github.com/openbmc/phosphor-logging/blob/master/README.md#remote-logging-via-rsysl… 25 Pre-requisite: A Power Linux system is required. 27 - Obtain the SEL (System Error Log) parser tools: 29 - Go to https://openpower.xyz/job/openpower/job/openpower-op-build/ 30 - Click the link for the BMC system of interest (e.g. witherspoon) 31 - Click the "host_fw_debug.tar" link in order to download the tar file. 32 - On your Power Linux system, untar the file with the following command: 35 $ tar -xvf host_fw_debug.tar [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 18 PHY it is connected to. In this config, an internal mdio-bus is registered and 20 mdio-bus configurations are not supported by the hardware. 27 - enum: 28 - qca,qca8327 [all …]
|
/openbmc/ipmitool/control/ |
H A D | ipmitool.spec.in | 2 Summary: ipmitool - Utility for IPMI control 8 Source: %{name}-%{version}.tar.gz 9 Buildroot: /var/tmp/ipmitool-root 14 an open standard for machine health, inventory, and remote power control. 16 This utility can communicate with IPMI-enabled devices through either a 19 communications and remote Serial-over-LAN functionality. 23 Log (SEL), printing Field Replaceable Unit (FRU) information, reading and 24 setting LAN configuration, and chassis power control. 28 rm -rf $RPM_BUILD_ROOT 34 ./configure --with-kerneldir \ [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1 22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT} 23 ${HOST}= -H 37 # (e.g. "power status"). 40 # -C=3, -I=lanplus, etc.). Currently, only 64 # -C=3, -I=lanplus, etc.). Currently, only 93 ... ${IPMITOOL_PATH} -I dbus ${command} return_stdout=True 100 [Documentation] Run the raw IPMI command in-band. 123 [Documentation] Run the standard IPMI command in-band. [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | LogEntry.v1_17_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 57 … "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", 68 …operties contained in this object shall conform to the Redfish Specification-described requirement… 74 … "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", 118 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | LogEntry.v1_17_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 57 … "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", 68 …operties contained in this object shall conform to the Redfish Specification-described requirement… 74 … "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", 118 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… [all …]
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 1 version 1.8.15 2014-11-24 2 * ID: 340 - ipmitool sol session improperly closes on packet retry 3 * ID: 277 - support for hostnames longer than 64 chars 4 * ID: 313 - ipmitool doesn't support hostname long than 64 symbols 5 * ID: 277 - Minor issue with ipmi_intf_session_set_hostname() 6 * ID: 247 - 'sensor thresh' help output is wrong 7 * ID: 324 - conflicting declaration write_fru_area() 8 * ID: 337 - Add support for 13G Dell PowerEdge 9 * ID: 325 - DDR4 DIMM Decoding Logic 10 * ID: 328 - HPM.2 fixes [all …]
|
/openbmc/docs/designs/ |
H A D | hw-fault-monitor.md | 23 locally analyze fault and sensor information and then based on specified 32 - Host Error Monitor logs CPU error information such as CATERR details and takes 34 https://github.com/openbmc/host-error-monitor 36 - bmcweb implements a Redfish webserver for openbmc: 41 - Phosphor Debug Collector (phosphor-debug-collector) collects various debug 43 https://github.com/openbmc/phosphor-debug-collector 45 - Dbus-sensors reads and saves sensor values and makes them available to other 46 modules via D-Bus: https://github.com/openbmc/dbus-sensors 48 - SEL logger logs to the IPMI and Redfish system event logs when certain events 50 https://github.com/openbmc/phosphor-sel-logger [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | ti-abb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2012-2013 Texas Instruments, Inc. 27 * FAST_OPP: sets ABB LDO to Forward Body-Bias 28 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias 35 * struct ti_abb_info - ABB information per voltage setting 48 * struct ti_abb_reg - Register description for ABB block 51 * @sr2_wtcnt_value_mask: setup register- sr2_wtcnt_value mask 52 * @fbb_sel_mask: setup register- FBB sel mask 53 * @rbb_sel_mask: setup register- RBB sel mask 54 * @sr2_en_mask: setup register- enable mask [all …]
|
H A D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 8 // This driver is based on max8998.c 20 #include <linux/mfd/max8997-private.h> 51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio() 52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio() 53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio() 55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio() 56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio() 57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio() [all …]
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 17 * "Normal", and "Turbo".) A lower policy number has lower power 27 /* Produces a mask of set bits covering a range of a 32-bit value */ 30 return ((1 << width) - 1) << shift; in bitfield_mask() 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 68 combined <<= div->u.s.frac_width; in scaled_div_build() 78 return (u64)div->u.fixed; in scaled_div_min() 89 return (u64)div->u.fixed; in scaled_div_max() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 69 /* Protect struct usb_device->state and ->children members 70 * Note: Both are also protected by ->dev.sem, except that ->state can 78 /* synchronize hub-port add/remove and peering operations */ 81 /* cycle leds on hubs that aren't blinking for attention */ 84 MODULE_PARM_DESC(blinkenlights, "true to cycle leds on hubs"); 88 * 10 seconds to send reply for the initial 64-byte descriptor request. 90 /* define initial 64-byte descriptor request timeout in milliseconds */ 94 "initial 64-byte descriptor request timeout in milliseconds " 95 "(default 5000 - 5.0 seconds)"); [all …]
|
/openbmc/fb-ipmi-oem/src/ |
H A D | selcommands.cpp | 3 * Copyright (c) 2018-present Facebook. 9 * http://www.apache.org/licenses/LICENSE-2.0 12 * distributed under the License is distributed on an "AS IS" BASIS, 22 #include <phosphor-logging/log.hpp> 58 //---------------------------------------------------------------------- 60 //---------------------------------------------------------------------- 95 return -1; in fromHexStr() 100 return -1; in fromHexStr() 106 namespace fb_oem::ipmi::sel namespace 144 lg2::info("Failed to create SEL JSON file with empty JSON."); in writeEmptyJson() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | LogEntry_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: LogEntry v1.17.0 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | LogEntry_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: LogEntry v1.17.0 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 14 u-boot,dm-pre-reloc; 15 stdout-path = "serial2:115200n8"; 16 u-boot,spl-boot-order = &spi_flash; 20 u-boot,spl-payload-offset = <0x40000>; 24 * Power Tree 29 * - Rails that only connect to the EC (or devices that the EC talks to) [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 19 stdout-path = "serial2:115200n8"; 23 * Power Tree 28 * - Rails that only connect to the EC (or devices that the EC talks to) 30 * - Rails _are_ included if the rails go to the AP even if the AP 31 * doesn't currently care about them / they are always on. The idea 39 * - The EC controls the enable and the EC always enables a rail as [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tas5720.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 22 #include <sound/soc-dapm.h> 37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 38 "pvdd", /* Class-D amp and analog power supply (connected). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() 79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * stuffed) on it. This device tree tries to encapsulate all the things that 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /* PMICs depend on spmi_bus label and so must come after SoC */ 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; [all …]
|
/openbmc/openbmc-tools/openbmctool/ |
H A D | openbmctool.py | 9 http://www.apache.org/licenses/LICENSE-2.0 12 distributed under the License is distributed on an "AS IS" BASIS, 42 jsonHeader = {'Content-Type' : 'application/json'} 69 self.conn.request("GET",uri, headers={"X-Auth-Token":token}) 132 cookie = resp.headers['Set-Cookie'] 140 pid = map(int, check_output(["pidof", "-s",name])) 147 ps = subprocess.Popen("ps -eaf | grep "+process_name, shell=True, stdout=subprocess.PIPE) 165 nbdServerPath = path + "/nbd-server" 167 …print("Error: this program did not run as sudo!\nplease copy nbd-server to current directory and … 170 if isThisProcessRunning('nbd-server') == True: [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include <linux/dma-mapping.h> 23 #include "xhci-trace.h" 24 #include "xhci-debugfs.h" 25 #include "xhci-dbgcap.h" 32 /* Some 0.95 hardware can't handle the chain bit on a Link TRB being cleared */ 35 MODULE_PARM_DESC(link_quirk, "Don't clear the chain bit on a link TRB"); 43 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 45 if (!td || !td->start_seg) in td_on_ring() 48 if (seg == td->start_seg) in td_on_ring() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tvp5150.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 7 #include <dt-bindings/media/tvp5150.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/v4l2-mc.h> 24 #include <media/v4l2-rect.h> [all …]
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | ep0.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling 5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/ep0.c) and ported 13 * commit c00552ebaf : Merge 3.18-rc7 into usb-next 27 #include "linux-compat.h" 58 dep = dwc->eps[epnum]; in dwc3_ep0_start_trans() 59 if (dep->flags & DWC3_EP_BUSY) { in dwc3_ep0_start_trans() 60 dev_vdbg(dwc->dev, "%s still busy", dep->name); in dwc3_ep0_start_trans() 64 trb = &dwc->ep0_trb[dep->free_slot]; in dwc3_ep0_start_trans() [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> 47 ret = bus->write(bus, phy_id, regnum, lo); in qca8k_mii_write_lo() 49 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_lo() 62 ret = bus->write(bus, phy_id, regnum, hi); in qca8k_mii_write_hi() 64 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_hi() 75 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_lo() 83 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_lo() 95 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_hi() 103 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_hi() [all …]
|