summaryrefslogtreecommitdiff
path: root/util/board_status
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2018-09-06 17:32:58 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-09-17 13:53:02 +0000
commitb7b085dc656e3977b3f5a6c9b7079c9ee996d227 (patch)
treed2fd4419054f215df3d8104a665eb1dfb7179e0a /util/board_status
parentb0c6cffb093d82b8a24b00e1914e5195bcc0b50d (diff)
downloadcoreboot-b7b085dc656e3977b3f5a6c9b7079c9ee996d227.tar.gz
board-status: Only store CBMEM console from last boot
Since CBMEM console became a ring buffer, logs from several boots can be stored. We are only interested in the current boot. > -c | --console: print cbmem console > -1 | --oneboot: print cbmem console for last boot only For CBMEM time stamps only the time stamps of the current boot are stored, so only the commands for the CBMEM console need to be adapted. Change-Id: I18caa4aeebbd5576b9e218d176a7db5a8e868b74 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/28531 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/board_status')
-rwxr-xr-xutil/board_status/board_status.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 13c58e1740..4acbb6c994 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -376,7 +376,7 @@ elif [ -n "$REMOTE_HOST" ]; then
echo "Verifying that CBMEM is available on remote device"
test_cmd $REMOTE "$cbmem_cmd"
echo "Getting coreboot boot log"
- cmd $REMOTE "$cbmem_cmd -c" "${tmpdir}/${results}/coreboot_console.txt"
+ cmd $REMOTE "$cbmem_cmd -1" "${tmpdir}/${results}/coreboot_console.txt"
echo "Getting timestamp data"
cmd_nonfatal $REMOTE "$cbmem_cmd -t" "${tmpdir}/${results}/coreboot_timestamps.txt"
@@ -398,7 +398,7 @@ else
fi
echo "Getting coreboot boot log"
- cmd $LOCAL "$cbmem_cmd -c" "${tmpdir}/${results}/coreboot_console.txt"
+ cmd $LOCAL "$cbmem_cmd -1" "${tmpdir}/${results}/coreboot_console.txt"
echo "Getting timestamp data"
cmd_nonfatal $LOCAL "$cbmem_cmd -t" "${tmpdir}/${results}/coreboot_timestamps.txt"