记修改u-boot(一)
划水要也要让自己前进。继续上次的,如何实现一次u-boot编译。
继续上次最后一条指令:time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log,继续报错
继续排错误:make:arm-linux-gnueabihf-gcc:command not found
使用这个指令:arm-linux-gnueabihf-gcc -v查有没有编译器。反正我的是没有。
没有就用这个指令安装:sudo apt install gcc-arm-linux-gnueabihf,安装编译器。
再次使用:time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
错误显示未找到命令,Your dtc is old,.....使用指令:apt-get install device-tree-compiler,可以解决这个版本太久。
再次使用:time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
报错:
使用cd ./tools/binman,vim binman,编辑内容./tools/binman/binman.py。很明显这是路径不对。
然后再make,结果
好像这是说,没有指定板???难道有哪里要配开发板型号,完全不知道了,