So far I was able to configure the kernel, but when it comes to the compilation I get the following error:
~/u-boot-toradex$ make -j3 2>&1 | tee build.log scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h GEN include/autoconf.mk.dep CFG u-boot.cfg GEN include/autoconf.mk CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h CHK include/generated/version_autogenerated.h CC arch/arm/lib/asm-offsets.s CC lib/asm-offsets.s cc1: error: unknown value ‘armv5’ for -march cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a; did you mean ‘armv8-a’? Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed make: *** [arch/arm/lib/asm-offsets.s] Error 1 make: *** Waiting for unfinished jobs.... cc1: error: unknown value ‘armv5’ for -march cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a; did you mean ‘armv8-a’? Kbuild:43: recipe for target 'lib/asm-offsets.s' failed make: *** [lib/asm-offsets.s] Error 1 Makefile:1286: recipe for target 'prepare0' failed make: *** [prepare0] Error 2
I checked the environment variables ARCH, PATH and CROSS_COMPILE and they are set to the values indicated on the tutorial.
I’m using the gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf
I’d really appreciate some help on the matter.
P.S: I also would like to ask about the typographic conventions on the articles you have provided for this matter. Since there wasn’t a specification on to where the commands should be run, I run them on my host computer (Ubuntu).