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>
This commit is contained in:
parent
b0c6cffb09
commit
b7b085dc65
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue