We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello ARM community!
I tried the u-boot pre-built by Linaro forAEMv8A FVP, and it works perfectly.But when I try to build it on my own, itdoesn't work at all (just a pure hang, noinfo on serial terminal).What I do, is:---
export CROSS_COMPILE=<toolchain-path>/aarch64-none-linux-gnu-make vexpress_aemv8a_semi_defconfigmake -j 9
---
It compiles fine but doesn't work.I use latest git of u-boot code.Does anyone know the Linaro's secret of howshould it be compiled?
Managed to fix with this change:
diff --git a/include/dm/read.h b/include/dm/read.hindex c875e11a13..d3fd27da8a 100644--- a/include/dm/read.h+++ b/include/dm/read.h@@ -1007,7 +1007,7 @@ static inline u64 dev_translate_dma_address(const struct udevice *dev, static inline int dev_read_alias_highest_id(const char *stem) {- if (!CONFIG_IS_ENABLED(OF_LIBFDT))+ if (!CONFIG_IS_ENABLED(OF_LIBFDT) || !gd->fdt_blob) return -1; return fdtdec_get_alias_highest_id(gd->fdt_blob, stem); }