mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
ea804eb340
commit
1b96da67a0
1 changed files with 9 additions and 3 deletions
|
@ -33,12 +33,18 @@ To obtain:
|
||||||
cd u-boot
|
cd u-boot
|
||||||
git checkout cros-master
|
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:
|
To build for sandbox:
|
||||||
|
|
||||||
UB=/tmp/b/chromeos_sandbox # U-Boot build directory
|
UB=/tmp/b/chromeos_sandbox # U-Boot build directory
|
||||||
CROS=/home/sglass/cosarm # Chromium OS directory
|
cd u-boot
|
||||||
make O=$UB/chromeos_sandbox_defconfig
|
make O=$UB chromeos_sandbox_defconfig
|
||||||
make O=$UB -j20 -s VBOOT_SOURCE=$CROS/src/platform/vboot_reference \
|
make O=$UB -j20 -s VBOOT_SOURCE=/path/to/vboot_reference \
|
||||||
MAKEFLAGS_VBOOT=DEBUG=1 QUIET=1
|
MAKEFLAGS_VBOOT=DEBUG=1 QUIET=1
|
||||||
|
|
||||||
Replace sandbox with another supported target.
|
Replace sandbox with another supported target.
|
||||||
|
|
Loading…
Reference in a new issue