I got an error as following:
/home/hhc/project/khadas/ubuntu/u-boot/build/include/asm/arch/ddr_define.h:120:24: error: initializer element is not a constant expression [-Werror=pedantic] #define DDR_FUNC (DDR_FUNC_D2PLL | \
I also meet this issue. So I use ‘gcc-linaro-aarch64-none-elf-4.8-2013.11_linux’ to replace ‘gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu’. But I found another issue:
aarch64-none-elf-gcc: internal compiler error: Segmentation fault (program cc1)
I tried to increase the memory size of the virtual machine, but it didn’t work.
How to fix this issue? Hope to receive your reply. Thanks! @Frank, @Spikerguy
Sorry, I don’t know what you want to do, if you use VIM1, you can follow the documentation above to build the image. If not, I think it’s better to feedback the issue to corresponding forum.