Problem building u-boot
Olivier BERTON
olivier.berton at etu.univ-nantes.fr
Wed Feb 5 16:41:56 CET 2020
Hi,
I'm a student working on ZedBoard FPGA, and I have to install a custom
Linux on the ZedBoard.
I have to build u-boot, so I'm following this Wiki :
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841973/Build+U-Boot
In the third command I have to enter "Make", and I get this error :
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 bonnell atom silvermont slm knl
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 btver1 btver2
generic
Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
make[1]: *** [lib/asm-offsets.s] Error 1
Makefile:1579: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
I don't understand this error and I don't know where is the problem. Also
I didn't find the words "generic-armv7-a" or "Â-mtune=Â switch" in the
makefile of the u-boot, or in /lib/asm-offsets.c .
Could you help me?
Sincerely,
--
Olivier Berton; Etudiant Polytech Nantes
Mail : olivier.berton. at etu.univ-nantes.fr
Téléphone : 06 81 51 63 04
More information about the U-Boot
mailing list