[gbl] Implement software-based EFI_RNG_PROTOCOL Implement a software-based EFI_RNG_PROTOCOL using a Pseudo-Random Number Generator (LCG) seeded by the system timer. This is used when CONFIG_EFI_RNG_PROTOCOL (hardware-based) is disabled, satisfying GBL's requirement for generating stack canaries. TAG=agy CONV=236c2e4e-69e4-48b6-a8ea-8986bc68bb04 Change-Id: I0b00e0b37ef168d57111060a1454b449920784f5 Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/1369888 Reviewed-by: David Pursell <dpursell@google.com> Commit-Queue: Sergii Parubochyi <sergiip@google.com> GitOrigin-RevId: ffe301df3f23f90350c526c9464eb37de022d887
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.