commit | 47d69876b27ed82142a1f8f06603fdbfb6bca785 | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Thu Jul 25 16:56:26 2024 -0700 |
committer | David Pursell <dpursell@google.com> | Tue Aug 20 12:20:32 2024 -0700 |
tree | 6aca13bac6b1897fa709a14792a6fead25eb259a | |
parent | 276ae29cdcec6253737d5ed42245c6ed18683c22 [diff] |
[efi] Adjust packet length based on requested size When host sends less than USB request length amount of data, and the data size is multiple of the endpoint max packet size, the driver will hang waiting for more data. To prevent this we need to adjust the request length based on the actual requested receive size. Change-Id: I6e1a8041e2f8979c5d9c37b1f05f7b1d859e46fc Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/867630 Reviewed-by: David Pursell <dpursell@google.com> GitOrigin-RevId: 5c7d133bcc3b027677c96f91882697bd0c75b9d0
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.