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

Issue 2366001: Pack firmware into an image and do update in factory install process. (Closed)

Created:
10 years, 6 months ago by Tom Wai-Hong Tam
Modified:
9 years, 5 months ago
Reviewers:
Nick Sanders, adlr
CC:
chromium-os-reviews_chromium.org, dneiss, adlr, Mandeep Singh Baines, anush
Base URL:
ssh://git@chromiumos-git/chromiumos
Visibility:
Public.

Description

Pack firmware into an image and do update in factory install process. Since different platforms have different instructions to update their firmware. In order not to depend on the install shim, we pack all firmware update files into a single file, i.e. an executable shell script with embedded files. This CL is now broken into 5 CLs in different git repositories: http://codereview.chromium.org/2792013 http://codereview.chromium.org/2767011 http://codereview.chromium.org/2795004 http://codereview.chromium.org/2794006 http://codereview.chromium.org/2715012

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix bugs #

Patch Set 3 : fix comment #

Patch Set 4 : make firmware-update optional #

Total comments: 4

Patch Set 5 : fix feedback of review #

Patch Set 6 : add 2 emtpy firmware images #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -27 lines) Patch
M src/platform/dev/autoupdate.py View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M src/platform/factory_installer/factory_install.sh View 1 2 3 4 2 chunks +19 lines, -11 lines 0 comments Download
A src/platform/firmware/x86-generic/ec_rom.bin View Binary file 0 comments Download
A src/platform/firmware/x86-generic/install_firmware.sh View 1 1 chunk +14 lines, -0 lines 0 comments Download
A src/platform/firmware/x86-generic/pack_firmware.sh View 1 chunk +37 lines, -0 lines 0 comments Download
A src/platform/firmware/x86-generic/system_rom.bin View Binary file 0 comments Download
M src/platform/memento_softwareupdate/memento_updater.sh View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M src/scripts/make_factory_package.sh View 6 chunks +34 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nick Sanders
http://codereview.chromium.org/2366001/diff/1/3 File src/platform/factory_installer/factory_install.sh (right): http://codereview.chromium.org/2366001/diff/1/3#newcode45 src/platform/factory_installer/factory_install.sh:45: for i in EFI OEM STATE RELEASE FACTORY FIRMWARE; ...
10 years, 6 months ago (2010-05-28 22:01:48 UTC) #1
adlr
http://codereview.chromium.org/2366001/diff/1/4 File src/platform/firmware/x86-generic/install_firmware.sh (right): http://codereview.chromium.org/2366001/diff/1/4#newcode1 src/platform/firmware/x86-generic/install_firmware.sh:1: #!/bin/bash our final image won't have bash, so please ...
10 years, 6 months ago (2010-06-01 22:11:18 UTC) #2
Tom Wai-Hong Tam
Tested and worked in factory install shim. http://codereview.chromium.org/2366001/diff/1/3 File src/platform/factory_installer/factory_install.sh (right): http://codereview.chromium.org/2366001/diff/1/3#newcode45 src/platform/factory_installer/factory_install.sh:45: for i ...
10 years, 6 months ago (2010-06-02 12:13:15 UTC) #3
adlr
LGTM if nsanders is happy
10 years, 6 months ago (2010-06-02 16:53:14 UTC) #4
Nick Sanders
lgtm w/ those changes.. http://codereview.chromium.org/2366001/diff/16001/17002 File src/platform/factory_installer/factory_install.sh (right): http://codereview.chromium.org/2366001/diff/16001/17002#newcode68 src/platform/factory_installer/factory_install.sh:68: if [ "$RESULT" != "UPDATED" ...
10 years, 6 months ago (2010-06-02 19:36:32 UTC) #5
Tom Wai-Hong Tam
http://codereview.chromium.org/2366001/diff/16001/17002 File src/platform/factory_installer/factory_install.sh (right): http://codereview.chromium.org/2366001/diff/16001/17002#newcode68 src/platform/factory_installer/factory_install.sh:68: if [ "$RESULT" != "UPDATED" ]; then On 2010/06/02 ...
10 years, 6 months ago (2010-06-03 08:36:22 UTC) #6
Nick Sanders
lgtm
10 years, 6 months ago (2010-06-03 21:27:24 UTC) #7
Tom Wai-Hong Tam
Due to the reorganization of git repo that each subdirectory under platform has its own ...
10 years, 6 months ago (2010-06-07 09:49:35 UTC) #8
anush
Does it make sense to consider putting the code in platform/firmware as a tarball ebuild ...
10 years, 6 months ago (2010-06-07 15:08:05 UTC) #9
Tom Wai-Hong Tam
I am not familiar with ebuild and may misunderstand. Please correct if I am wrong. ...
10 years, 6 months ago (2010-06-08 02:06:17 UTC) #10
anush
Tom, I think then we should just write an ebuild that installs the package like ...
10 years, 6 months ago (2010-06-09 05:55:27 UTC) #11
Tom Wai-Hong Tam
We can do that, writing an ebuild that installs those things to the *factory install ...
10 years, 6 months ago (2010-06-09 07:37:56 UTC) #12
Tom Wai-Hong Tam
10 years, 6 months ago (2010-06-11 07:40:46 UTC) #13

Powered by Google App Engine
This is Rietveld 408576698