commit | 9caaf499895700cd21c2df92a2780cb332d285cc | [log] [tgz] |
---|---|---|
author | David Pursell <dpursell@google.com> | Fri Dec 13 10:21:07 2024 -0800 |
committer | David Pursell <dpursell@google.com> | Fri Dec 13 10:32:05 2024 -0800 |
tree | 91460b7e1e71773edbb44d6b62c0d6de1f894f58 | |
parent | 126e9e68c293dde4b3c292f2d2ef385f8079e11d [diff] |
[vim3] add unbootable reason fastboot var Adds `slot-unbootable-reason:{a,b}` fastboot variables to report the A/B/R unbootable reason, or "N/A" if the slot is not unbootable. Bug: b/378736089 Test: corrupted slot B and tried to boot, unbootable reason correctly reported "3 (verification failure)" Change-Id: I22fb52a085f3c3b492d0873e21844a39f68ef27b Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/919651 Reviewed-by: Yecheng Zhao <zyecheng@google.com> GitOrigin-RevId: 74f1413fc26635c3ddea0741a96185794a89b4a6
This is a version of u-boot, modified to support Fuchsia on the Khadas vim3
To build the vim3 bootloader for Fuchsia:
Prerequisites - arm and aarch64 toolchains. On Debian/Ubuntu systems, for example:
apt-get install gcc-arm-none-eabi gcc-aarch64-linux-gnu
Run the build script from repo root
./build_uboot_vim3_zircon.sh
You now have a build/u-boot.bin.unsigned
that you can flash to a target using fastboot.