/openbmc/pldm/pldmtool/ |
H A D | README.md | 1 # Overview of pldmtool 3 pldmtool is a client tool that acts as a PLDM requester which runs on the BMC. 4 pldmtool sends the request message and displays the response message also 8 pldmtool supports the subcommands for PLDM types such as base, platform, bios, 21 Source files in pldmtool repository are named with respect to the PLDM type. 29 pldmtool commands for corresponding PLDM type is constructed with the help of 34 Given a PLDM command "foo" of PLDM type "base" the pldmtool should consume 42 If PLDM commands are not yet supported in the pldmtool repository user can 43 directly send the request message with the help of **pldmtool raw -d \<data\>** 48 User can see the pldmtool supported PLDM types in the usage output available [all …]
|
H A D | pldmtool.cpp | 11 namespace pldmtool namespace 17 using namespace pldmtool::helper; 71 pldmtool::raw::registerCommand(app); in main() 72 pldmtool::base::registerCommand(app); in main() 73 pldmtool::bios::registerCommand(app); in main() 74 pldmtool::platform::registerCommand(app); in main() 75 pldmtool::fru::registerCommand(app); in main() 76 pldmtool::fw_update::registerCommand(app); in main() 79 pldmtool::oem_ibm::registerCommand(app); in main() 83 pldmtool::platform::parseGetPDROption(); in main()
|
H A D | pldm_base_cmd.cpp | 14 namespace pldmtool namespace 23 using namespace pldmtool::helper; 177 pldmtool::helper::DisplayInJson(data); in printPldmTypes() 234 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 275 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 395 pldmtool::helper::DisplayInJson(output); in printPldmCommands() 443 pldmtool::helper::DisplayInJson(data); in parseResponseMsg()
|
H A D | meson.build | 10 'pldmtool.cpp', 18 'pldmtool',
|
H A D | pldm_bios_cmd.cpp | 13 namespace pldmtool namespace 22 using namespace pldmtool::helper; 79 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 155 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 516 pldmtool::helper::DisplayInJson(stringdata); in decodeStringTable() 647 pldmtool::helper::DisplayInJson(output); in decodeAttributeTable() 667 pldmtool::helper::DisplayInJson(output); in decodeAttributeValueTable() 754 pldmtool::helper::DisplayInJson(avdata); in exec() 945 pldmtool::helper::DisplayInJson(data); in exec()
|
H A D | pldm_fw_update_cmd.cpp | 8 namespace pldmtool namespace 17 using namespace pldmtool::helper; 144 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 407 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 611 pldmtool::helper::DisplayInJson(data); in parseResponseMsg()
|
H A D | pldm_fru_cmd.cpp | 14 namespace pldmtool namespace 23 using namespace pldmtool::helper; 81 pldmtool::helper::DisplayInJson(output); in parseResponseMsg() 195 pldmtool::helper::DisplayInJson(frutable); in print()
|
H A D | pldm_bios_cmd.hpp | 4 namespace pldmtool namespace
|
H A D | pldm_fru_cmd.hpp | 5 namespace pldmtool namespace
|
H A D | pldm_base_cmd.hpp | 5 namespace pldmtool namespace
|
H A D | pldm_fw_update_cmd.hpp | 5 namespace pldmtool namespace
|
H A D | pldm_platform_cmd.hpp | 5 namespace pldmtool namespace
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_base.robot | 103 Should Contain ${pldm_output} pldmtool: Tx: 104 Should Contain ${pldm_output} pldmtool: Rx: 107 Should Contain ${pldm_output} pldmtool: Tx: 108 Should Contain ${pldm_output} pldmtool: Rx: 116 # pldmtool raw -d 0x80 0x00 0x04 117 # pldmtool: Tx: 80 00 04 118 # pldmtool: Rx: 00 00 04 00 1d 00 00 00 00 00 00 80 129 # pldmtool raw -d 0x80 0x00 0x04 -v 130 # pldmtool: Tx: 80 00 04 131 # pldmtool: Rx: 00 00 04 00 1d 00 00 00 00 00 00 80 [all …]
|
H A D | test_pldm_bios_attributes.robot | 31 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${random_attr} 35 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a hjkhkj 47 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${random_str} -d ${random_str} 51 # pldmtool bios SetBIOSAttributeCurrentValue -a hjkhkj -d 0 68 # pldmtool bios SetBIOSAttributeCurrentValue -a pvm_os_boot_side -d hhhhhj 72 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${enum_attr} -d 0 87 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_if_count -d 12 91 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${int_attr} -d ${count} 107 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_if0_ipv4_ipaddr -d 1234566788999 111 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${str_attr} -d ${random_value} [all …]
|
H A D | test_firmware_boot_side.robot | 3 Documentation Test firmware boot side switch using pldmtool. 9 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a fw_boot_side 14 # pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side -d Temp 42 [Documentation] Power off the host , set the firmware boot side via pldmtool,
|
/openbmc/pldm/pldmtool/oem/ibm/ |
H A D | pldm_oem_ibm.cpp | 12 namespace pldmtool namespace 20 using namespace pldmtool::helper; 87 pldmtool::helper::DisplayInJson(data); in parseResponseMsg() 195 pldmtool::helper::DisplayInJson(kwVal); in printFileAttrTable()
|
H A D | pldm_oem_ibm.hpp | 5 namespace pldmtool namespace
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | host-powercycle | 31 pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x02 -m "$EID" 56 pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x01 -m "$EID"
|
H A D | host-powerreset | 12 if ! pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x04 -m "$EID"
|
H A D | host-poweroff | 43 pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x02 -m "$EID"
|
H A D | host-poweron | 45 resp=$(pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x01 -m "$EID" | grep "39 00 $")
|
/openbmc/openbmc-test-automation/docs/ |
H A D | openbmc_test_tools.md | 227 ## pldmtool: 229 pldmtool is an open-source client tool that acts as a PLDM requester which runs 230 on the BMC. pldmtool supports the subcommands for PLDM types such as base, 231 platform, bios, fru, and oem-ibm as mentioned in the 'pldmtool --help'. Refer to 232 [README](https://github.com/openbmc/pldm/tree/master/pldmtool#README.md)
|
/openbmc/openbmc-tools/pldm/ |
H A D | pdrdump.sh | 9 pldmtool platform GetPDR -d $i >> $pdrdump_file
|
/openbmc/openbmc-test-automation/lib/ |
H A D | pldm_utils.py | 18 def pldmtool(option_string, **bsu_options): function 210 value = pldmtool(command)
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | rescan-wf-bic | 39 output=$(pldmtool raw -m "$sd_eid" -d 0x80 0x02 0x3A 0x4c 0xff)
|