Commit 1b96da67a0f5c70e4096bec9ce0769925f70513f
Committed by
Tom Rini
1 parent
ea804eb340
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
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>
Showing 1 changed file with 9 additions and 3 deletions Side-by-side Diff
doc/README.chromium
... | ... | @@ -33,12 +33,18 @@ |
33 | 33 | cd u-boot |
34 | 34 | git checkout cros-master |
35 | 35 | |
36 | + cd .. | |
37 | + git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference | |
38 | + cd vboot_reference | |
39 | + git checkout 45964294 | |
40 | + # futility: updater: Correct output version for Snow | |
41 | + | |
36 | 42 | To build for sandbox: |
37 | 43 | |
38 | 44 | UB=/tmp/b/chromeos_sandbox # U-Boot build directory |
39 | - CROS=/home/sglass/cosarm # Chromium OS directory | |
40 | - make O=$UB/chromeos_sandbox_defconfig | |
41 | - make O=$UB -j20 -s VBOOT_SOURCE=$CROS/src/platform/vboot_reference \ | |
45 | + cd u-boot | |
46 | + make O=$UB chromeos_sandbox_defconfig | |
47 | + make O=$UB -j20 -s VBOOT_SOURCE=/path/to/vboot_reference \ | |
42 | 48 | MAKEFLAGS_VBOOT=DEBUG=1 QUIET=1 |
43 | 49 | |
44 | 50 | Replace sandbox with another supported target. |