summaryrefslogtreecommitdiff
path: root/board/sunxi/README.sunxi64
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-04-04 03:31:13 +0300
committerJagan Teki <jagan@amarulasolutions.com>2018-04-04 09:01:35 +0300
commit35debf8a4585469f5eb192f1d779a4cff69087bb (patch)
treed8a41fb1ebe114c64843f44d70a30e7ee3c27a1c /board/sunxi/README.sunxi64
parente71553fe7572c32f1d10717c0094c47064a2ef87 (diff)
downloadu-boot-35debf8a4585469f5eb192f1d779a4cff69087bb.tar.xz
sunxi: README.sunxi64: Add hint about non-debug of ARM Trusted Firmware
As we are running into issues where the final U-Boot FIT image file is exceeding our size limit, add a hint to the README.sunxi64 file to point out the possibility of building non-debug versions of the ATF binary. These are about 12KB smaller than the standard debug build, and so allow successful U-Boot builds for many boards with the Allwinner H5 SoC. Please note that under normal circumstances the debug build is still recommended, as it gives valuable clues in case something goes wrong in the ATF. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'board/sunxi/README.sunxi64')
-rw-r--r--board/sunxi/README.sunxi646
1 files changed, 6 insertions, 0 deletions
diff --git a/board/sunxi/README.sunxi64 b/board/sunxi/README.sunxi64
index 5a363d27b8..df1dbc818f 100644
--- a/board/sunxi/README.sunxi64
+++ b/board/sunxi/README.sunxi64
@@ -38,6 +38,12 @@ the root of your U-Boot build directory (or create a symbolic link).
$ export BL31=/src/arm-trusted-firmware/build/sun50iw1p1/debug/bl31.bin
(adjust the actual path accordingly)
+If you run into size issues with the resulting U-Boot image file, it might
+help to use a release build, by using "DEBUG=0" when building bl31.bin.
+As sometimes the ATF build process is a bit picky about the toolchain used,
+or if you can't be bothered with building ATF, there are known working
+binaries in the firmware repository[3], purely for convenience reasons.
+
SPL/U-Boot
------------
Both U-Boot proper and the SPL are using the 64-bit mode. As the boot ROM