commit | 209e70a261d6e20954460427e2a40c03dff4dfd5 | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Wed Jul 15 15:49:50 2020 +0000 |
committer | Venkatesh Srinivas <venkateshs@google.com> | Wed Jul 15 16:30:53 2020 +0000 |
tree | 2fb2d91a34ce85044b79b88c5e42777bc5f0a730 | |
parent | 8399d31ee2d0f5fa939a89901b7e434d9ca38c87 [diff] |
Update README.md to recommend passing CROSS_COMPILE via env Building u-boot should pass CROSS_COMPILE via the environment rather than a make variable; some ARM64 boards require parts of the bootloader to be built w/ 32-bit toolchains, setting CROSS_COMPILE via a make variable prevents that override from working. Change-Id: Ia277fd44f6a115103fed82943556c01f5c961f3e
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 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.