diff options
author | Simon Glass <sjg@chromium.org> | 2013-05-26 07:07:58 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-26 15:02:17 -0700 |
commit | 02741688d3fc9763047125f53770589033285ec5 (patch) | |
tree | ad1d1e9a17cdcfb3858a3ed07b20b5e73e268de2 /bin | |
parent | b8dd2d0cb24399c689324bceef8542593dbbb269 (diff) | |
download | chromite-02741688d3fc9763047125f53770589033285ec5.tar.gz |
Add firmware build script
This script aims to simplify building various types of firmware used during
development. It builds U-Boot with upstream or Chrome OS config files, then
optionally writes it to your board over USB, SD card or em100 using servo.
It can also flash SPI by writing a 'magic flasher' U-Boot with a payload to
the board. For x86 platforms, Coreboot is included also but must be built
separately.
The simplest usage is:
crosfw -b peach_pit
where it builds a non-verified test firmware and writes it to the board over
USB. Many other options are provided, and documented in the script.
BUG=chromium:244076
TEST=manual
Various builds to try out operation over a long time...
Change-Id: I009c07b51c52e7e7b3f4f0533b1df95ca8feefe7
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56705
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'bin')
l--------- | bin/crosfw | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/crosfw b/bin/crosfw new file mode 120000 index 000000000..72196ceea --- /dev/null +++ b/bin/crosfw @@ -0,0 +1 @@ +../scripts/wrapper.py
\ No newline at end of file |