commit | 23d9480752523aec7efc40f3feb6df3a9f24021b | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Tue Dec 12 12:04:14 2023 -0800 |
committer | David Pursell <dpursell@google.com> | Wed Dec 13 11:29:54 2023 -0800 |
tree | 1a9878386501a780f1df476d3521e1ff21a71473 | |
parent | ef057328918d83af0f94fe787d03a6112c81755a [diff] |
[fastboot] Set serial when dropped from autoboot When reboot mode is "normal"(warm reboot) i.e. dued to "dm reboot", "fastboot reboot" or crash. bootloader doesn't initialize serial when executing the "switch_bootmode" command. As a result, when dropped to fastboot from autoboot abort, i.e. "f" key, the default serial is used. Bug: b/315991645 Change-Id: If6b20fc577c46fcca52fbb780e8d362af75bc786 Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/789351 Reviewed-by: David Pursell <dpursell@google.com> GitOrigin-RevId: 9dc440d2c5a9503b56ceb7ac3c9bb925c041d8be
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.