Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Side by Side Diff: utility/dev_debug_vboot

Issue 6883024: Fix stupid typo in informational message. (Closed) Base URL: ssh://gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh -u 1 #!/bin/sh -u
2 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Usage: dev_debug_vboot [ --cleanup | DIRECTORY ] 6 # Usage: dev_debug_vboot [ --cleanup | DIRECTORY ]
7 # 7 #
8 # This extracts some useful debugging information about verified boot. A short 8 # This extracts some useful debugging information about verified boot. A short
9 # summary is printed on stdout, more detailed information and working files are 9 # summary is printed on stdout, more detailed information and working files are
10 # left in a log directory. 10 # left in a log directory.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 TMPDIR="$1" 102 TMPDIR="$1"
103 [ -d ${TMPDIR} ] || die "${TMPDIR} doesn't exist" 103 [ -d ${TMPDIR} ] || die "${TMPDIR} doesn't exist"
104 USE_EXISTING=yes 104 USE_EXISTING=yes
105 fi 105 fi
106 fi 106 fi
107 107
108 [ -d ${TMPDIR} ] || mkdir -p ${TMPDIR} || exit 1 108 [ -d ${TMPDIR} ] || mkdir -p ${TMPDIR} || exit 1
109 cd ${TMPDIR} || exit 1 109 cd ${TMPDIR} || exit 1
110 echo "$0 $*" > "$LOGFILE" 110 echo "$0 $*" > "$LOGFILE"
111 log date 111 log date
112 echo "Saving verbose log as $(pwd)/$LOGFILE" 112 echo "Saving verbose log as $LOGFILE"
113 113
114 BIOS=bios.rom 114 BIOS=bios.rom
115 115
116 # Find BIOS and kernel images 116 # Find BIOS and kernel images
117 if [ -n "${USE_EXISTING:-}" ]; then 117 if [ -n "${USE_EXISTING:-}" ]; then
118 info "Using images in $(pwd)/" 118 info "Using images in $(pwd)/"
119 else 119 else
120 require_chromeos_bios 120 require_chromeos_bios
121 info "Extracting BIOS image from flash..." 121 info "Extracting BIOS image from flash..."
122 log flashrom -p internal:bus=spi --wp-status 122 log flashrom -p internal:bus=spi --wp-status
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 loghead od -Ax -tx1 $keyblock 181 loghead od -Ax -tx1 $keyblock
182 done 182 done
183 183
184 # Test each kernel with each key 184 # Test each kernel with each key
185 for key in kernel_subkey_a.vbpubk kernel_subkey_b.vbpubk recoverykey.vbpubk; do 185 for key in kernel_subkey_a.vbpubk kernel_subkey_b.vbpubk recoverykey.vbpubk; do
186 for kern in *kern*.blob; do 186 for kern in *kern*.blob; do
187 infon "Verify $kern with $key... " 187 infon "Verify $kern with $key... "
188 log vbutil_kernel --verify $kern --signpubkey $key ; result 188 log vbutil_kernel --verify $kern --signpubkey $key ; result
189 done 189 done
190 done 190 done
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698