Revert "[efi] Honor ABR one-shot bootloader flag on EFI reset"
This reverts commit 8e7ac1835c7d1d9a54fca2fa5b4a3a139b887fd6.
Once the VIM3 GBL U-Boot rollout is complete, GBL handles the ABR
one-shot bootloader flag on boot (zircon_check_enter_fastboot()), so
checking it on the way down in efi_reset_system_boottime() for legacy
U-Boot rollback compatibility is no longer needed.
Test: Built VIM3 U-Boot with ./fuchsia_build.py; verified on VIM3
(ffx target flash pass 1 + pass 2, ffx target fastboot reboot
bootloader, dm reboot-bootloader, and normal dm reboot).
TAG=agy
CONV=b821c1df-3ef9-44e9-9223-94d83eba602b
BUG: 573411501
Change-Id: Iba6a50199a3ff25d63e4fa7871ceca8d8b86b54d
Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/1700634
Lint: android-build-ayeaye@system.gserviceaccount.com <android-build-ayeaye@system.gserviceaccount.com>
Reviewed-by: Yecheng Zhao <zyecheng@google.com>
Presubmit-Verified: fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Sergii Parubochyi <sergiip@google.com>
GitOrigin-RevId: 348f57507b9da9e38f426978e800624b0182dc06
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