fuchsia_build: Prevent signing scripts from deleting TMPDIR The vendor signing scripts 'sign-boot-g12a.sh' and 'sign-boot-g12a-dev.sh' deleted the $TMP directory on exit, causing subsequent 'mktemp' calls in 'efuse-gen.sh' to fail. Comment out the directory removal in these scripts. They still clean up their own temp files. Also revert the incorrect workaround in 'fip/c1/build.sh'. Bug: 435534715 TAG=agy CONV=a991dad9-800d-4aff-bf0b-11117211f921 Change-Id: Icc7399ab57168885ace800d04c25e59ed22e07ac Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/1355151 Commit-Queue: David Pursell <dpursell@google.com> Reviewed-by: David Pursell <dpursell@google.com> GitOrigin-RevId: 03a819d3ab014f31d69107c339c912f231305f0c
This is a version of u-boot, modified to support Fuchsia on the Khadas vim3
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
--clean-cipd option can be used to make sure CIPD checkout is clean. It will remove cipd_deps directory and download dependencies again.
You now have a build/u-boot.bin.unsigned that you can flash to a target using fastboot.
fuchsia_upload.py is used to upload commits to open repository. And upload binaries to CIPD.