Hi, i am stundent and try to build u-boot for board cora-z7-10
I build u-boot as follows export ARCH=arm export CROSS_COMPILE=gcc-7-arm-linux-gnueabihf- export DEVICE_TREE="zynq-zc702" make xilinx_zynq_virt_defconfig make I have also tried this export command from unfortunately also without success CROSS_COMPILE=aarch64-linux-gnu unfortunately i always get this error: scripts/kconfig/conf --syncconfig Kconfig CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN spl/include/autoconf.mk CFGCHK u-boot.cfg UPD include/generated/version_autogenerated.h UPD include/generated/timestamp_autogenerated.h UPD include/generated/dt.h CC lib/asm-offsets.s cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake tigerlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native make[1]: *** [scripts/Makefile.build:143: lib/asm-offsets.s] Fehler 1 make: *** [Makefile:1869: prepare0] Fehler 2 unirtems@unirtems-Aspire-ES1-731:~/u-boot$ exp thank you for your help Sarmad