how to build u-boot for AEMv8A FVP?

Hello ARM community!

I tried the u-boot pre-built by Linaro for
AEMv8A FVP, and it works perfectly.
But when I try to build it on my own, it
doesn't work at all (just a pure hang, no
info on serial terminal).

What I do, is:

export CROSS_COMPILE=<toolchain-path>/aarch64-none-linux-gnu-
make vexpress_aemv8a_semi_defconfig
make -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 how
should it be compiled?

  • Managed to fix with this change:

    diff --git a/include/dm/read.h b/include/dm/read.h
    index 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) || !gd->fdt_blob)
    return -1;
    return fdtdec_get_alias_highest_id(gd->fdt_blob, stem);

More questions in this forum