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

Issue 6628009: Add a wrapper function of LoadKernel() (Closed)

Created:
9 years, 9 months ago by Che-Liang Chiou
Modified:
9 years ago
CC:
chromium-os-reviews_chromium.org, dneiss, Olof Johansson, robotboy, chromeboy, amoljadi
Visibility:
Public.

Description

Add a wrapper function of LoadKernel() BUG=chromium-os:1034 TEST=MAKEALL successfully Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=43ea8c6

Patch Set 1 : Fix return value #

Total comments: 4

Patch Set 2 : Code review #

Patch Set 3 : Update to latest vboot_reference changes #

Patch Set 4 : Fix bug found when integrated with recovery firmware #

Total comments: 2

Patch Set 5 : Code review: set gbb to NULL on error #

Total comments: 4

Patch Set 6 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -4 lines) Patch
M include/chromeos/firmware_storage.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M include/chromeos/hardware_interface.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
A include/chromeos/load_util.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
M include/configs/chromeos/tegra2/common.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M lib/chromeos/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
A lib/chromeos/load_util.c View 1 2 3 4 5 1 chunk +114 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Che-Liang Chiou
9 years, 9 months ago (2011-03-04 10:35:09 UTC) #1
sjg
Please see comments http://codereview.chromium.org/6628009/diff/2001/lib/chromeos/load_util.c File lib/chromeos/load_util.c (right): http://codereview.chromium.org/6628009/diff/2001/lib/chromeos/load_util.c#newcode16 lib/chromeos/load_util.c:16: int load_kernel(LoadKernelParams *params, uint8_t *kernel_sign_key_blob, It's ...
9 years, 9 months ago (2011-03-06 21:34:09 UTC) #2
Che-Liang Chiou
Hi Simon, Thanks for comments. I should close this issue. http://codereview.chromium.org/6628009/diff/2001/lib/chromeos/load_util.c File lib/chromeos/load_util.c (right): http://codereview.chromium.org/6628009/diff/2001/lib/chromeos/load_util.c#newcode16 ...
9 years, 9 months ago (2011-03-07 05:06:51 UTC) #3
Che-Liang Chiou
Re-open this CL because the CL for recovery firmware also needs a wrapper of LoadKernel(). ...
9 years, 9 months ago (2011-03-09 06:49:33 UTC) #4
robotboy
http://codereview.chromium.org/6628009/diff/18001/lib/chromeos/load_util.c File lib/chromeos/load_util.c (right): http://codereview.chromium.org/6628009/diff/18001/lib/chromeos/load_util.c#newcode105 lib/chromeos/load_util.c:105: release_firmware_storage(&file); Should the malloced gbb_data be freed here if ...
9 years, 9 months ago (2011-03-11 18:56:18 UTC) #5
Che-Liang Chiou
Thanks for the comments. PTAL. http://codereview.chromium.org/6628009/diff/18001/lib/chromeos/load_util.c File lib/chromeos/load_util.c (right): http://codereview.chromium.org/6628009/diff/18001/lib/chromeos/load_util.c#newcode105 lib/chromeos/load_util.c:105: release_firmware_storage(&file); On 2011/03/11 18:56:18, ...
9 years, 9 months ago (2011-03-14 05:51:40 UTC) #6
Tom Wai-Hong Tam
http://codereview.chromium.org/6628009/diff/22001/include/chromeos/load_util.h File include/chromeos/load_util.h (right): http://codereview.chromium.org/6628009/diff/22001/include/chromeos/load_util.h#newcode25 include/chromeos/load_util.h:25: int load_kernel_wrapper(LoadKernelParams *params, uint64_t boot_flags); It seems confused that ...
9 years, 9 months ago (2011-03-14 09:37:27 UTC) #7
Che-Liang Chiou
Done. PTAL. http://codereview.chromium.org/6628009/diff/22001/include/chromeos/load_util.h File include/chromeos/load_util.h (right): http://codereview.chromium.org/6628009/diff/22001/include/chromeos/load_util.h#newcode25 include/chromeos/load_util.h:25: int load_kernel_wrapper(LoadKernelParams *params, uint64_t boot_flags); On 2011/03/14 ...
9 years, 9 months ago (2011-03-14 10:39:34 UTC) #8
Tom Wai-Hong Tam
LGTM
9 years, 9 months ago (2011-03-15 03:54:00 UTC) #9
Peter Huewe (IFX)
Does not compile for me :/ load_util.c: In function 'load_kernel_wrapper': load_util.c:59: error: 'LoadKernelParams' has no ...
9 years, 9 months ago (2011-03-15 10:41:05 UTC) #10
Peter Huewe (IFX)
9 years, 9 months ago (2011-03-15 13:27:41 UTC) #11
Updating the whole chromeos environment helped - so please ignore my previous
message.

Powered by Google App Engine
This is Rietveld 408576698