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
3 files changed
tree: 4aed1c2778a6dc93a8c6aebfdfd8246f2b2af112
  1. api/
  2. arch/
  3. bl2/
  4. bl30/
  5. bl31/
  6. bl31_1.3/
  7. board/
  8. common/
  9. configs/
  10. disk/
  11. doc/
  12. drivers/
  13. dts/
  14. examples/
  15. fip/
  16. fs/
  17. include/
  18. lib/
  19. Licenses/
  20. net/
  21. post/
  22. scripts/
  23. test/
  24. tools/
  25. vim3_aml_tools/
  26. .checkpatch.conf
  27. .clang-format
  28. .gitignore
  29. .mailmap
  30. amlogic_help.sh
  31. check_compile.sh
  32. config.mk
  33. fuchsia_build.py
  34. fuchsia_upload.py
  35. Kbuild
  36. Kconfig
  37. MAINTAINERS
  38. MAKEALL
  39. Makefile
  40. mk
  41. README
  42. README.md
  43. snapshot.commit
README.md

SPDX-License-Identifier: GPL-2.0+

u-boot

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

--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.