ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

Bring-up and lab debug tools. #226

Closed ojayanth closed 4 years ago

ojayanth commented 5 years ago

Requirements:

ojayanth commented 5 years ago

Existing I2C tools in BMC:

i2cget: i2cget is a small helper program to read registers visible through the I2C bus (or SMBus).  https://linux.die.net/man/8/i2cget:

i2cset: I2cset is a small helper program to set registers visible through the I2C bus. https://linux.die.net/man/8/i2cset:

i2cdump: i2cdump is a small helper program to examine registers visible through the I2C bus.
https://linux.die.net/man/8/i2cdump :

i2cdetect: i2cdetect is a userspace program to scan an I2C bus for devices. It outputs a table with the list of detected devices on the specified bus https://linux.die.net/man/8/i2cdetect

Requirements:

* get/put vpd image and keywords. 
ojayanth commented 5 years ago

GPIO Utility:

gpioutil --help Usage: 
gpioutil -n GPIO_NAME  [-v value]
 gpioutil -i GPIO_NUM  -d [-v value] 
gpioutil -p PIN_NAME  -d [-v value]
 gpioutil -l PIN_NAME     (lookup pin name only)

ojayanth commented 5 years ago

Primary ecmd-pdbg requirements

There are already plans in place to support the following requirements in ecmd-pdbg to allow eCMD style commands to be executed directly on the BMC. No issues were identified with using ecmd-pdbg to satisfy the following requirements:

ojayanth commented 4 years ago

Closing this epic