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

Issue 6538014: Add transitional flag for enabling arm kernel signing (Closed)

Created:
9 years, 10 months ago by Che-Liang Chiou
Modified:
9 years ago
Reviewers:
gauravsh, Will Drewry
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Add transitional flag for enabling arm kernel signing For now arm kernel partitions are not signed. This CL is a transitionsl. That is, the added flag should be removed after arm verified boot is stable. To properly create an arm kernel partition, we also need another CL for vbutil_kernel utility that turns off x86-only modifications on kernel image. See CL:6538015. BUG=chromium-os:3790, chromium-os:12352 TEST=see below Build images for x86 and arm successfully, and notice that load_kernel_test passes for x86 and signed arm image. $ build_image --board=tegra2_seaboard --crosbug12352_arm_kernel_signing $ build_image --board=tegra2_seaboard --nocrosbug12352_arm_kernel_signing $ build_image --board=x86-generic Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=75ac2be

Patch Set 1 #

Total comments: 12

Patch Set 2 : Code review #

Total comments: 8

Patch Set 3 : Code review #

Total comments: 2

Patch Set 4 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -27 lines) Patch
M bin/cros_make_image_bootable View 1 3 chunks +11 lines, -0 lines 0 comments Download
M build_image View 1 2 5 chunks +20 lines, -5 lines 0 comments Download
M build_kernel_image.sh View 1 2 3 6 chunks +40 lines, -22 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Che-Liang Chiou
9 years, 10 months ago (2011-02-17 09:14:48 UTC) #1
Will Drewry
Thanks for starting down this treacherous path! :) That said, I'm not a huge fan ...
9 years, 10 months ago (2011-02-17 16:54:09 UTC) #2
gauravsh
Like Will, I am missing the background on why this change is required. Can you ...
9 years, 10 months ago (2011-02-17 22:02:06 UTC) #3
Che-Liang Chiou
Thanks for the consideration. Comments below. On 2011/02/17 16:54:09, Will Drewry wrote: > Thanks for ...
9 years, 10 months ago (2011-02-18 08:28:10 UTC) #4
Che-Liang Chiou
Hi, I made changes based on your comments. Please take another look. Thanks very much. ...
9 years, 10 months ago (2011-02-21 11:08:39 UTC) #5
Will Drewry
LGTM with optional changes This looks good, but it could be tweaked a bit more ...
9 years, 10 months ago (2011-02-22 19:33:31 UTC) #6
gauravsh
lgtm http://codereview.chromium.org/6538014/diff/5001/build_image File build_image (right): http://codereview.chromium.org/6538014/diff/5001/build_image#newcode813 build_image:813: [[ "${ARCH}" = "arm" && \ you don't ...
9 years, 10 months ago (2011-02-22 22:07:02 UTC) #7
Che-Liang Chiou
Hi Will, I made changes based on your comments. And also reformat the code a ...
9 years, 10 months ago (2011-02-23 08:36:18 UTC) #8
Will Drewry
LGTM after fixing the one nit. Thanks for streamlining it as much as possible given ...
9 years, 10 months ago (2011-02-23 18:46:07 UTC) #9
gauravsh
lgtm
9 years, 10 months ago (2011-02-23 19:25:28 UTC) #10
Che-Liang Chiou
9 years, 10 months ago (2011-02-24 02:34:11 UTC) #11
Thanks for the suggestions. They made this CL much clearer.

http://codereview.chromium.org/6538014/diff/10001/build_kernel_image.sh
File build_kernel_image.sh (right):

http://codereview.chromium.org/6538014/diff/10001/build_kernel_image.sh#newco...
build_kernel_image.sh:150: mkdir -p ${FLAGS_working_dir}
On 2011/02/23 18:46:07, Will Drewry wrote:
> Wasn't this called on line 126?

Done.

Powered by Google App Engine
This is Rietveld 408576698