summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-26 07:07:58 -0700
committerChromeBot <chrome-bot@google.com>2013-06-26 15:02:17 -0700
commit02741688d3fc9763047125f53770589033285ec5 (patch)
treead1d1e9a17cdcfb3858a3ed07b20b5e73e268de2 /bin
parentb8dd2d0cb24399c689324bceef8542593dbbb269 (diff)
downloadchromite-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/crosfw1
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