arm-push Posted October 5, 2017 Share Posted October 5, 2017 @Igor It seems u-boot compilation fails. Please note that this is the first time I build armbian. Am I missing something? [ o.k. ] Building boot image cp: cannot stat 'build/a3700/debug/flash-image.bin': No such file or directory [ error ] ERROR in function compile_uboot [ compilation.sh:174 ] [ error ] U-boot file not found [ flash-image.bin ] [ o.k. ] Process terminated output.log: https://pastebin.com/Zc4sWzBb Link to comment Share on other sites More sharing options...
Igor Posted October 5, 2017 Share Posted October 5, 2017 Working here without issues, legacy or next. What kind of host do you use? Link to comment Share on other sites More sharing options...
arm-push Posted October 5, 2017 Author Share Posted October 5, 2017 1 minute ago, Igor said: Working here without issues, legacy or next. What kind of host do you use? legacy. I prepared a fresh VM on Fedora KVM and then followed the guide here. Installed Ubuntu Xenial 16.04 x64 apt-get -y install git git clone https://github.com/armbian/build cd build ./compile.sh Link to comment Share on other sites More sharing options...
Igor Posted October 5, 2017 Share Posted October 5, 2017 Try once again - it will fail - and provide logs from debug/compilation.log Link to comment Share on other sites More sharing options...
arm-push Posted October 5, 2017 Author Share Posted October 5, 2017 compilation.log is not generated. root@ubuntu:~/build# find * | grep '\.log$' output/debug/patching.log output/debug/output.log root@ubuntu:~/build# Link to comment Share on other sites More sharing options...
Igor Posted October 5, 2017 Share Posted October 5, 2017 Strange. Try now. Link to comment Share on other sites More sharing options...
arm-push Posted October 5, 2017 Author Share Posted October 5, 2017 seems to be working now. before this, I commented out /dev/null redirection and found out that gcc-arm-linux-gnueabi missing. I installed it just before executing the script this time. not sure whether that fixed the issue or something you have done fixed the issue. [ o.k. ] Building boot image Building a3700 make: *** No rule to make target '/root/build/output/debug/compilation.log'. Stop. make: *** Waiting for unfinished jobs.... make -C wtmi CC fiptool.c CC tbbr_config.c *************************************************** ARM GCC toolchain installation is missing! Please install GNU ARM toolchain suitable for compiling code for Cortex M3 targets On Debian/Ubuntu run the following command for the default toolchain installation: sudo apt-get install gcc-arm-linux-gnueabi If non-default toolchain is used, please export the CROSS_CM3 environment variable pointin to it. For instance, with BASH shell: export CROSS_CM3=/opt/arm-cross/bin/arm-linux-gnueabi *************************************************** Makefile:120: recipe for target 'tools' failed make[2]: *** [tools] Error 1 make[2]: *** Waiting for unfinished jobs.... CC printf.c CC uart.c make[2]: arm-linux-gnueabi-gcc: Command not found make[2]: arm-linux-gnueabi-gcc: Command not found Makefile:103: recipe for target 'printf.o' failed make[2]: *** [printf.o] Error 127 LD fiptool Makefile:103: recipe for target 'uart.o' failed make[2]: *** [uart.o] Error 127 CC apctl.c CC clock.c make[3]: arm-linux-gnueabi-gcc: Command not found Makefile:61: recipe for target 'apctl.o' failed make[3]: *** [apctl.o] Error 127 make[3]: *** Waiting for unfinished jobs.... CC avs.c CC ddr_main.c CC ddrcore/vref_training.c make[3]: arm-linux-gnueabi-gcc: Command not found make[3]: arm-linux-gnueabi-gcc: Command not found make[3]: arm-linux-gnueabi-gcc: Command not found Makefile:61: recipe for target 'ddr_main.o' failed make[3]: *** [ddr_main.o] Error 127 make[3]: arm-linux-gnueabi-gcc: Command not found Makefile:61: recipe for target 'clock.o' failed make[3]: *** [clock.o] Error 127 Makefile:61: recipe for target 'avs.o' failed make[3]: *** [avs.o] Error 127 Makefile:61: recipe for target 'ddrcore/vref_training.o' failed make[3]: *** [ddrcore/vref_training.o] Error 127 Makefile:123: recipe for target 'wtmiddr' failed make[2]: *** [wtmiddr] Error 2 Makefile:2: recipe for target 'all' failed make[1]: *** [all] Error 2 Makefile:895: recipe for target '../../marvell-tools/wtptp/linux/TBB_linux' failed make: *** [../../marvell-tools/wtptp/linux/TBB_linux] Error 2 Link to comment Share on other sites More sharing options...
arm-push Posted October 5, 2017 Author Share Posted October 5, 2017 build completed successfully. Thanks for the help @Igor Link to comment Share on other sites More sharing options...
Igor Posted October 5, 2017 Share Posted October 5, 2017 52 minutes ago, arm-push said: and found out that gcc-arm-linux-gnueabi missing. The script should take care of all dependencies. I made a dirty workaround in this case and ... need to fix it. In the morning. Head is not operational anymore Link to comment Share on other sites More sharing options...
Recommended Posts