summaryrefslogtreecommitdiff
path: root/doc/README.chromium
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-10 20:04:13 +0300
committerTom Rini <trini@konsulko.com>2019-07-18 18:31:30 +0300
commit1b96da67a0f5c70e4096bec9ce0769925f70513f (patch)
treee5e048f999d3d334a38f9ef773569e7a909c69ae /doc/README.chromium
parentea804eb340906c7e3434310de3fa647e747d4eeb (diff)
downloadu-boot-1b96da67a0f5c70e4096bec9ce0769925f70513f.tar.xz
chromium: Update docs to clone vboot_reference directly
We don't need a full checkout of Chrome OS to build U-Boot with Chromium OS verified boot. Update the instructions accordingly and fix a typo which joins the output directory and defconfig. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.chromium')
-rw-r--r--doc/README.chromium12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/README.chromium b/doc/README.chromium
index 096bc4f1f7..8f67da6c72 100644
--- a/doc/README.chromium
+++ b/doc/README.chromium
@@ -33,12 +33,18 @@ To obtain:
cd u-boot
git checkout cros-master
+ cd ..
+ git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference
+ cd vboot_reference
+ git checkout 45964294
+ # futility: updater: Correct output version for Snow
+
To build for sandbox:
UB=/tmp/b/chromeos_sandbox # U-Boot build directory
- CROS=/home/sglass/cosarm # Chromium OS directory
- make O=$UB/chromeos_sandbox_defconfig
- make O=$UB -j20 -s VBOOT_SOURCE=$CROS/src/platform/vboot_reference \
+ cd u-boot
+ make O=$UB chromeos_sandbox_defconfig
+ make O=$UB -j20 -s VBOOT_SOURCE=/path/to/vboot_reference \
MAKEFLAGS_VBOOT=DEBUG=1 QUIET=1
Replace sandbox with another supported target.