commit | ba4cb51edc9a405b5771779d31420854d46de693 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Tue Mar 12 19:01:48 2024 -0700 |
committer | Yilong Li <liyl@google.com> | Wed Mar 13 15:44:09 2024 -0700 |
tree | 43eab6a9fa98e5554115b2073e3d353f333a434e | |
parent | 90a9a01a71b714a9c32aa19a09ae08d8c48e952f [diff] |
[vim3][hdmi] Skip HDMI video output setup in bootloader. The u-boot display driver may set the hardware to an invalid state if the display preferred mode is not supported by the driver (for example, 480x480p @ 60Hz). This caused some display devices to fail on system boot. This change fixes the issue by skipping the display layer and HDMI output module setup in the bootloader, so that the Fuchsia display driver can configure the display device under a clean state. Test: On core.vim3 and begonia_eng.vim3. (1) Plug the USB power cable of AML028-30MB-A1 to VIM3. (2) Power on VIM3. (3) Display contents (for core.vim3, it's virtcon; for begonia_eng, it's Starnix) show on the panel. Manually tested for 20 times on both builds. Bug: 329337069 Change-Id: I2a37bce4934310fafe6bb5b9a47e4fe874e64d8e Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/818490 Reviewed-by: David Pursell <dpursell@google.com> Reviewed-by: Victor Costan <costan@google.com> GitOrigin-RevId: fd9c59c143048286803463e84f3c26d997c26403
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.