commit | dbb52d822d7647781a3c9f18265b15aec50ff0f1 | [log] [tgz] |
---|---|---|
author | David Pursell <dpursell@google.com> | Tue Jan 30 09:06:28 2024 -0800 |
committer | David Pursell <dpursell@google.com> | Tue Jan 30 13:49:00 2024 -0800 |
tree | c6ba5c9075040387ebb6f4736ede4edec263b2e0 | |
parent | e8fe23fd6ce14c8b234245badb803874d952ee6f [diff] |
[fastboot] support `erase userdata` as a no-op A common Android workflow is to pass `-w` to fastboot which triggers an `erase userdata` command; we can't really support this at the moment because userdata is nested inside the FVM/super image and gets automatically erased when we flash that partition, but we've been asked to ignore this request rather than error out. Bug: b/322897225 Change-Id: I0ca301c723ae9b5d7057e9b472e0bc1f40b5597d Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/803950 Reviewed-by: Yecheng Zhao <zyecheng@google.com> GitOrigin-RevId: 77d68b2c514684a1848243941640f25453b0ee0f
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.