/openbmc/docs/designs/ |
H A D | redfish-postcodes.md | 1 # Logging BIOS POST Codes Through Redfish 11 BIOS Power-On Self-Test (POST) codes are exposed on DBUS but not currently over 12 Redfish. This describes a method to expose the BIOS POST codes over the Redfish 18 POST codes. An additional log service (PostCodes) will be added to the 34 "Description": "POST Code Log Service", 38 "Id": "BIOS POST Code Log", 39 "Name": "POST Code Log Service", 53 "Description": "Collection of POST Code Log Entries", 57 "@odata.id": "/redfish/v1/Systems/system/LogServices/PostCodes/Entries/B1-03", 59 "Created": "2019-12-06T14:10:30+00:00", [all …]
|
H A D | multi-host-postcode.md | 1 # Multi-host Postcode Support 7 Created: 2020-07-02 11 The current implementation in the phosphor-host-postd supports only single host 15 contingent and needs multiple-host post code access to be implemented. 19 The below component diagram shows the design for single-host postcode and 20 history at high-level overview. The single-host design is updated slightly from 22 D-Bus objects). 24 Diagram Legend: |Label|Signifies| |-----|---------| |`I:` |D-Bus interface| 25 |`S:` |D-Bus service name (well-known bus name)| |`R:` |Repository name| |`U:` 29 +-----------+ [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 24 - [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | api.py | 6 # SPDX-License-Identifier: GPL-2.0-only 76 def post(self, request, *args, **kwargs): member in XhrBuildRequest 81 Method: POST 97 if 'buildCancel' in request.POST: 98 for i in request.POST['buildCancel'].strip().split(" "): 107 if 'buildDelete' in request.POST: 108 for i in request.POST['buildDelete'].strip().split(" "): 119 if 'targets' in request.POST: 121 s = str(request.POST['targets']) 145 def post(self, request, *args, **kwargs): member in XhrProjectUpdate [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/Boot/ |
H A D | PostCode.interface.yaml | 2 Monitor Post code coming and buffer all of them based on boot cycle into 6 - name: CurrentBootCycleCount 9 It is used to indicate number of boot cycles that have post codes 11 - name: MaxBootCycleNum 14 The max cached boot cycles for post code. It is used to indicate end 18 - name: GetPostCodesWithTimeStamp 20 Method to get the cached post codes of the indicated boot cycle with 23 - name: Index 26 Index indicates which boot cycle of post codes is requested. 1 30 - name: Codes [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.POST | 1 Power-On-Self-Test support in U-Boot 2 ------------------------------------ 4 This project is to support Power-On-Self-Test (POST) in U-Boot. 6 1. High-level requirements 11 and running Power-On-Self-Test in U-Boot. This framework shall 16 The framework shall allow adding/removing/replacing POST tests. 17 Also, standalone POST tests shall be supported. 21 The framework shall allow run-time configuration of the lists 22 of tests running on normal/power-fail booting. 26 The framework shall support manual running of the POST tests. [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/LogServices/ |
H A D | test_post_codes.robot | 2 Documentation Test suite to verify BIOS POST code log entries. 32 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 33 Should Be True ${post_codes['Members@odata.count']} >= 1 msg=No BIOS POST Codes populated. 40 # Boot to runtime and clear post codes. 50 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 51 Should Be True ${post_codes['Members@odata.count']} >= 1 msg=No BIOS POST Codes populated. 58 # Boot to runtime and clear post codes. 68 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 70 ... msg=BIOS POST Codes populated. 75 ... on host reboot. In the ID value 'B2-49', '2' represents [all …]
|
/openbmc/phosphor-post-code-manager/ |
H A D | README.md | 1 # phosphor-post-code-manager 3 This phosphor-post-code-manager repository provides an infrastructure to persist 4 the POST codes in BMC filesystem & it also owns the systemd services that are 5 responsible for exposing the BIOS Post Codes to rest of the world via redfish. 9 To build phosphor-post-code-manager package , do the following steps: 13 ninja -C <build directory> 20 [template version](https://github.com/openbmc/docs/blob/master/designs/multi-host-postcode.md) 22 [dbus interfaces & methods](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xy… 23 to extract the POST codes per boot cycle. 28 [phosphor-host-postd](https://github.com/openbmc/phosphor-host-postd) OpenBMC [all …]
|
H A D | meson.options | 2 'max-boot-cycle-count', 6 description: 'Maximum boot cycles for which the post codes should be persisted', 10 'bios-post-code-log', 12 description: 'bios post code log', 16 'max-post-code-size-per-cycle', 20 description: 'Maximum post code file size per cycle', 24 'postcode-display-path',
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_get_bios_post_code.robot | 3 Documentation Module to test IPMI Get BIOS POST Code Command. 16 Test Get BIOS POST Code via IPMI Raw Command 17 [Documentation] Get BIOS POST Code via IPMI raw command. 23 Verify POST Code Response Length ${resp} 25 Test Get BIOS POST Code via IPMI Raw Command After Power Cycle 26 [Documentation] Get BIOS POST Code via IPMI raw command after power cycle. 34 Verify POST Code Response Length ${resp} 36 Test Get BIOS POST Code via IPMI Raw Command With Host Powered Off 37 [Documentation] Get BIOS POST Code via IPMI raw command after power off. 48 Verify POST Code Response Length [all …]
|
/openbmc/qemu/tests/migration/guestperf/ |
H A D | comparison.py | 30 Comparison("pause-iters", scenarios = [ 31 Scenario("pause-iters-0", 33 Scenario("pause-iters-1", 35 Scenario("pause-iters-5", 37 Scenario("pause-iters-20", 42 # Looking at use of post-copy in relation to bandwidth 44 Comparison("post-copy-bandwidth", scenarios = [ 45 Scenario("post-copy-bw-100mbs", 47 Scenario("post-copy-bw-300mbs", 49 Scenario("post-copy-bw-1gbs", [all …]
|
/openbmc/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | fuse-allow-other.out | 1 QA output created by fuse-allow-other 6 --- allow-other=off --- 9 {'execute': 'block-export-add', 13 'node-name': 'node-format', 14 'mountpoint': 'TEST_DIR/fuse-export', 15 'allow-other': 'off' 19 Permissions post-chmod: 0 21 Permissions post-chmod: 400 23 chmod: changing permissions of 'TEST_DIR/fuse-export': Operation not permitted 24 Permissions post-chmod: 400 [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gm200.c | 35 struct nvkm_device *device = init->base.subdev.device; in pmu_code() 36 struct nvkm_bios *bios = device->bios; in pmu_code() 55 struct nvkm_device *device = init->base.subdev.device; in pmu_data() 56 struct nvkm_bios *bios = device->bios; in pmu_data() 67 struct nvkm_device *device = init->base.subdev.device; in pmu_args() 76 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() 83 pmu_load(struct nv50_devinit *init, u8 type, bool post, in pmu_load() argument 86 struct nvkm_subdev *subdev = &init->base.subdev; in pmu_load() 87 struct nvkm_bios *bios = subdev->device->bios; in pmu_load() 92 return -EINVAL; in pmu_load() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | rest_client.robot | 46 ${headers}= Create Dictionary X-Auth-Token=${XAUTH_TOKEN} Accept=application/json 55 OpenBMC Post Request 56 [Documentation] Do REST POST request and return the result. 66 # Post Request call. For example, the caller might 72 ${headers}= Create Dictionary Content-Type=application/json 73 ... X-Auth-Token=${XAUTH_TOKEN} 75 Run Keyword If '${quiet}' == '${0}' Log Request method=Post 77 ${ret}= POST On Session openbmc ${base_uri} &{kwargs} timeout=${timeout} 97 ${headers}= Create Dictionary Content-Type=application/json 98 ... X-Auth-Token=${XAUTH_TOKEN} [all …]
|
H A D | dmtf_redfishtool_utils.robot | 38 # payload Payload with POST operation (e.g. data for user name, role, etc. ). 44 ${cmd}= Catenate ${cmd_args} PATCH ${uri} --data=${payload} 52 Redfishtool Post 53 [Documentation] Execute redfishtool for Post operation. 57 # payload Payload with POST operation (e.g. data for user name, password, role, 59 # uri URI for POST operation (e.g. /redfish/v1/AccountService/Accounts/). 64 ${cmd}= Catenate ${cmd_args} POST ${uri} --data=${payload} 73 [Documentation] Execute redfishtool for Post operation. 111 …{rsp_code}= Run Keyword If ${status} == False Get Regexp Matches ${cmd_output} [0-9][0-9][0-9]
|
/openbmc/docs/ |
H A D | REDFISH-cheatsheet.md | 14 curl -k https://${bmc}/redfish/v1 17 --- 25 curl --insecure -H "Content-Type: application/json" -X POST -D headers.txt https://${bmc}/redfish/v… 28 A file, headers.txt, will be created. Find the `"X-Auth-Token"` in that file. 39 …-k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username" : "root", "pa… 40 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/... 45 --- 50 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis 51 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers 52 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Systems [all …]
|
/openbmc/linux/tools/testing/selftests/livepatch/ |
H A D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_lock_management.robot | 34 HMCID-01 ReadCase1 False 35 HMCID-01 ReadCase2 False 36 HMCID-01 ReadCase3 False 37 HMCID-01 WriteCase1 False 38 HMCID-01 WriteCase2 False 39 HMCID-01 WriteCase3 False 48 HMCID-01 57 HMCID-01 ReadCase7,WriteCase6 58 HMCID-01 WriteCase6,WriteCase6 59 HMCID-01 WriteCase6,ReadCase7 [all …]
|
H A D | test_discovery.robot | 34 Discover BMC Pre And Post Reboot 54 Discover BMC Pre And Post Firmware Update Of Same Release 57 [Template] Discover BMC Pre And Post Firmware Update 63 Discover BMC Pre And Post Firmware Update Of Different Release 66 [Template] Discover BMC Pre And Post Firmware Update 75 [Template] Discover BMC Pre And Post Firmware Update 81 Discover BMC Pre And Post When Host Boot InProgress 84 [Template] Discover BMC Pre And Post When Host Boot 103 [Documentation] To check for avahi-tools package. 106 # avahi-tools-0.6.31-19.el7.x86_64 [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 3 inherit obmc-phosphor-systemd systemd 5 SRC_URI += "file://assert-gpio-log@.service \ 6 file://assert-post-end \ 7 file://assert-post-end.service \ 8 file://assert-power-good \ 9 file://assert-power-good.service \ 10 file://assert-reset-button \ 11 file://assert-reset-button.service \ 12 file://auto-power \ 13 file://auto-poweroff \ [all …]
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <media/v4l2-common.h> 9 #include <media/drv-intf/cx25840.h> 11 #include "cx25840-core.h" 35 if (state->aud_input != CX25840_AUDIO_SERIAL) { in cx25840_set_audclk_freq() 39 * VID_PLL Integer = 0x0f, VID_PLL Post Divider = 0x04 in cx25840_set_audclk_freq() 40 * AUX_PLL Integer = 0x06, AUX PLL Post Divider = 0x10 in cx25840_set_audclk_freq() 47 * 432 MHz pre-postdivide in cx25840_set_audclk_freq() 53 * 196.6 MHz pre-postdivide in cx25840_set_audclk_freq() 61 * SA_MCLK_DIV = 0x10 = 384/384 * AUX_PLL post dvivider in cx25840_set_audclk_freq() [all …]
|
/openbmc/bmcweb/http/ |
H A D | verb.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 10 // NOLINTNEXTLINE(misc-include-cleaner) 21 Post, enumerator 26 static constexpr size_t maxVerbIndex = static_cast<size_t>(HttpVerb::Max) - 1U; 42 case boost::beast::http::verb::post: in httpVerbFromBoost() 43 return HttpVerb::Post; in httpVerbFromBoost() 63 case HttpVerb::Post: in httpVerbToString() 64 return "POST"; in httpVerbToString()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Security/ |
H A D | RestrictionMode.interface.yaml | 5 - name: RestrictionMode 11 - name: Modes 15 - name: None 18 - name: Allowlist 21 - name: Blocklist 24 - name: Provisioning 27 are allowed in system interface in both pre and post BIOS boot. 28 - name: ProvisionedHostAllowlist 31 interface after BIOS POST complete. All KCS commands are 32 supported before POST complete. [all …]
|
/openbmc/phosphor-host-postd/ |
H A D | meson.options | 2 'snoop-device', 7 'post-code-bytes', 8 description: 'Post code byte size.', 13 'host-instances', 24 'systemd-target', 27 value: 'multi-user.target', 30 '7seg', type: 'feature', description: 'Enable building 7seg POST daemon.', 36 'rate-limit', 37 description: 'Maximum number of POST codes to read from snoop device every'
|