記修改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,結果
好像這是說,沒有指定板???難道有哪裏要配開發板型號,完全不知道了,