所以现在重建内核似乎没有任何障碍。
我没有“未知的基于deb的系统”而构建版本4.10。
现在我遇到的问题是构建uboot。
专门编译它。
这是错误日志:
netlab @netlab-Vostro-460:〜/ u-boot $ make ARCH = arm CROSS_COMPILE = $ {CC} distclean
netlab @netlab-Vostro-460:〜/ u-boot $ make ARCH = arm CROSS_COMPILE = $ {CC} omap4_panda_defconfig
HOSTCC脚本/ basic / fixdep
HOSTCC脚本/ kconfig / conf.o
YACC脚本/ kconfig / zconf.tab.c
LEX脚本/ kconfig / zconf.lex.c
HOSTCC脚本/ kconfig / zconf.tab.o
HOSTLD脚本/ kconfig / conf
#
#config写入.config
#
netlab @netlab-Vostro-460:〜/ u-boot $ make ARCH = arm CROSS_COMPILE = $ {CC}
scripts / kconfig / conf --syncconfig Kconfig
CHK包含/ config.h
UPD包含/ config.h
CFG u-boot.cfg
GEN include / autoconf.mk
GEN包含/ autoconf.mk.dep
CFG spl / u-boot.cfg
GEN spl / include / autoconf.mk
CHK包括/ config / uboot.release
UPD包括/ config / uboot.release
CHK包含/ generated / version_autogenerated.h
UPD包括/ generated / version_autogenerated.h
CHK包含/ generated / timestamp_autogenerated.h
UPD包括/ generated / timestamp_autogenerated.h
CC lib / asm-offsets.s
cc1:错误:'-march ='开关的错误值('armv5')
cc1:注意:'-march ='开关的有效参数是:nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl 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
Kbuild:43:目标'lib / asm-offsets.s'的配方失败了
make [1]:*** [lib / asm-offsets.s]错误1
Makefile:1434:目标'prepare0'的配方失败
make:*** [prepare0]错误2
我使用了v2018.09并且我应用了ompa4补丁。
以上来自于谷歌翻译
以下为原文
So rebuilding the kernel now seems to be working without a hitch. I built version 4.10 without the “unknown deb based system.”
Now the problem I’m running into is building the uboot. Specifically compiling it. Here is the error log:
netlab@netlab-Vostro-460:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} distcleannetlab@netlab-Vostro-460:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} omap4_panda_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c LEX scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf## configuration written to .config#netlab@netlab-Vostro-460:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC}scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN spl/include/autoconf.mk CHK include/config/uboot.release UPD include/config/uboot.release CHK include/generated/version_autogenerated.h UPD include/generated/version_autogenerated.h CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h CC lib/asm-offsets.scc1: error: bad value (‘armv5’) for ‘-march=’ switchcc1: note: valid arguments to ‘-march=’ 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 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 btver2Kbuild:43: recipe for target 'lib/asm-offsets.s' failedmake[1]: *** [lib/asm-offsets.s] Error 1Makefile:1434: recipe for target 'prepare0' failedmake: *** [prepare0] Error 2I used v2018.09 and I applied the ompa4 patch.