Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
util/board-status: Reject logs with unknown timestamps
Check the output of `cbmem -t` for unknown timestamps. If present, ask the user to rebuild `cbmem`.
Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40 Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M util/board_status/board_status.sh 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/41857/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 2e93fe2..e772238 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -431,6 +431,11 @@
echo "Getting timestamp data" cmd_nonfatal $LOCAL "$cbmem_cmd -t" "${tmpdir}/${results}/coreboot_timestamps.txt" + if [ $(grep -- unknown "${tmpdir}/${results}/coreboot_timestamps.txt") ]; then + echo "Unknown timestamps found in 'coreboot_timestamps.txt'." \ + "Please rebuild the utility 'cbmem'." + exit $EXIT_FAILURE + fi
if [ "$cmos_enabled" -eq 1 ]; then echo "Verifying that nvramtool is available"
Paul Menzel has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
util/board-status: Reject logs with unknown timestamps
Check the output of `cbmem -t` for unknown timestamps. If present, ask the user to rebuild `cbmem`.
Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40 Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M util/board_status/board_status.sh 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/41857/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/41857/2/util/board_status/board_sta... File util/board_status/board_status.sh:
https://review.coreboot.org/c/coreboot/+/41857/2/util/board_status/board_sta... PS2, Line 464: utility 'cbmem' I'd say:
'cbmem' utility and try again
Hello build bot (Jenkins), Angel Pons, Arthur Heymans,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41857
to look at the new patch set (#3).
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
util/board-status: Reject logs with unknown timestamps
Check the output of `cbmem -t` for unknown timestamps. If present, ask the user to rebuild `cbmem`.
Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40 Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M 3rdparty/amd_blobs M 3rdparty/vboot M util/board_status/board_status.sh 3 files changed, 8 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/41857/3
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41857/2/util/board_status/board_sta... File util/board_status/board_status.sh:
https://review.coreboot.org/c/coreboot/+/41857/2/util/board_status/board_sta... PS2, Line 464: utility 'cbmem'
I'd say: […]
Done
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 3: Code-Review+2
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41857/3/3rdparty/amd_blobs File 3rdparty/amd_blobs:
PS3: not intentional, right?
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41857/3/3rdparty/amd_blobs File 3rdparty/amd_blobs:
PS3:
not intentional, right?
Thank you for spotting that. No idea, why these are not updated correctly, when I switch branches and rebase.
Hello build bot (Jenkins), Angel Pons, Arthur Heymans,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41857
to look at the new patch set (#4).
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
util/board-status: Reject logs with unknown timestamps
Check the output of `cbmem -t` for unknown timestamps. If present, ask the user to rebuild `cbmem`.
Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40 Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M util/board_status/board_status.sh 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/41857/4
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
Patch Set 4: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/41857 )
Change subject: util/board-status: Reject logs with unknown timestamps ......................................................................
util/board-status: Reject logs with unknown timestamps
Check the output of `cbmem -t` for unknown timestamps. If present, ask the user to rebuild `cbmem`.
Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40 Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de Reviewed-on: https://review.coreboot.org/c/coreboot/+/41857 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi pgeorgi@google.com --- M util/board_status/board_status.sh 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index dd3d8f2..31c3e7c 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -459,6 +459,12 @@ exit $EXIT_FAILURE fi
+if [ $(grep -- unknown "${tmpdir}/${results}/coreboot_timestamps.txt") ]; then + echo "Unknown timestamps found in 'coreboot_timestamps.txt'." \ + "Please rebuild the 'cbmem' utility and try again." + exit $EXIT_FAILURE +fi + # # Finish up. #