board_status: Make board_status more friendly for local usage

Hardware / Coreboot - David Hendricks [gmail.com] - 16 February 2018 22:40 EST

board_status.sh was originally written for use cases where the DUT is remote, i.e. accessed via serial port or SSH. This lead to some issues when attempting to run the script on the DUT itself.

This patch attempts to handle the local use case more gracefully. sudo is used when running the cbmem command, and the '-c' option can be used to set cbmem path in case it's not in the default path used by sudo.

Change-Id: I62957678ccae65fc46fd6ddf5ae92983d36cffad

bb90fb55d0 board_status: Make board_status more friendly for local usage
util/board_status/board_status.sh | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share