[efi] Use normal PSCI reboot in efi_reset_system_boottime When GBL executes 'fastboot reboot', it calls UEFI ResetSystem(), which invokes efi_reset_system_boottime(). Previously this called do_reset() directly, triggering an Amlogic hardware watchdog reset and setting reboot_mode=watchdog_reboot (which Fuchsia tefmocheck flags as a failure). Run the U-Boot 'reboot' command first to perform a clean PSCI normal reboot (reboot_mode=normal), keeping do_reset() only as a fallback. TAG=agy CONV=c70f76ae-b2c9-4230-a95a-7bc71b076485 Bug: 496295142 Change-Id: Ibca6de07f39de8a2215d6122df80d6f35f7f606b Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/1667958 Commit-Queue: Sergii Parubochyi <sergiip@google.com> Presubmit-Verified: fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Pursell <dpursell@google.com> GitOrigin-RevId: 83b8ef28f93500ef74993a145c4ef113bbbf21e1
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
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.
go/fuchsia-firmware-licensing-publishing