blob: 4588de3cb99d6649902e019186f96401a891803e [file] [view]
This is a version of u-boot, modified to support Fuchsia on the Khadas vim3
Building vim3 Bootloader for Fuchsia
=====================================
To build the vim3 bootloader for Fuchsia:
CIPD access. All build tools are downloaded to `cipd_deps`.
Run the build script from repo root
```
./fuchsia_build.py
```
Options:
* `--clean-cipd` option can be used to make sure CIPD checkout is clean. It will
remove `cipd_deps` directory and download dependencies again.
* `--gbl-path <path>` option specifies a path to a local GBL (`gbl.efi`)
binary. If provided, CIPD GBL is not used; otherwise, the script downloads
GBL from CIPD and uses `gbl_aarch64_dev.efi`.
You now have a `build/u-boot.bin.unsigned` that you can flash to a target
using fastboot.
Releasing and Uploading
=======================
go/fuchsia-firmware-licensing-publishing