commit | e11d1a2ca658c9eae5f7d26bc77559aebedd9c44 | [log] [tgz] |
---|---|---|
author | Amit Uttamchandani <amituttam@google.com> | Thu Apr 13 08:57:53 2023 -0700 |
committer | Amit Uttamchandani <amituttam@google.com> | Thu Apr 13 08:57:53 2023 -0700 |
tree | 5bf45c6ca76082d35759481c4166131981c59048 | |
parent | 209e70a261d6e20954460427e2a40c03dff4dfd5 [diff] |
Update README.md with vim3 instructions The instructions for vim3 has been tested and verified to work by flashing on a physical board.
This is a version of u-boot, modified to support Fuchsia on the Khadas vim2, vim3, and NXP imx8mevk boards.
The master branch in this repository is empty.
Please check out one of the platform specific branches, like vim2 or imx8mevk for access to the source.
u-boot uses the Gerrit code review system to review and accept patches. Our instance is located at [https://third-party-mirror-review.googlesource.com/]. Please take a look at the CONTRIBUTING file and at that link if you're interested.
To build the vim3 bootloader for Fuchsia:
Prerequisites - arm and aarch64 toolchains. On Debian/Ubuntu systems, for example:
apt install gcc-arm-none-eabi gcc-aarch64-linux-gnu
git checkout --track remotes/origin/vim3
./build_uboot_vim3_zircon.sh
You now have a build/u-boot.bin.unsigned that you can flash to a target with using fastboot.
To build the vim2 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
git checkout -b vim2 origin/vim2
make kvim2_defconfig
CROSS_COMPILE=aarch64-linux-gnu- make
You now have a u-boot.bin that you can flash to a target with using fastboot.