0
Ralf

Build Environment seems to be broken

Recommended Posts

Hi there,

I'm trying to run compile.sh since several days as mentioned in the instructions with Vagrant but no success so far.

 

1.

https://docs.armbian.com/Developer-Guide_Using-Vagrant/

Vagrant Guest steps

Instruction tells cd armbian but it is cd /vagrant

 

2.

First run of ./compile.sh stops because the following packages signature could not be verified.

Downloading the following packages manually, unpacking them in cache/toolchain and creating a .download-complete file fixed this issue.

All other following packages were installed automatically.

 

gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz

gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

 

3.

I want to compile a 3.4'er Kernel fpr bananapi

After selecting "bananapi" and "default" it is compiling a while and then complains: 

[ error ] ERROR in function compile_uboot [ compilation.sh:211 ]
[ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ]
[ o.k. ] Process terminated

 

I'm stuck now. Any help is appreciated.

 

output.log

Share this post


Link to post
Share on other sites
4 hours ago, Ralf said:

I'm stuck now. Any help is appreciated.

Ca you provide the file output/debug/compilation.log to see why u-boot-sunxi-with-spl.bin is not found ?

Share this post


Link to post
Share on other sites
4 hours ago, Ralf said:

with Vagrant but no success so far


Perhaps Vagrant is broken or your manual intervention were not correct? Can you try building under Docker or manually inside VM?

Share this post


Link to post
Share on other sites

According to this log, this is were it is really failing :

  SHIPPED dts/dt.dtb
  FDTGREP dts/dt-spl.dtb
  CAT     u-boot-dtb.bin
  COPY    u-boot.dtb
  COPY    u-boot.bin
  MKIMAGE u-boot.img
./tools/mkimage: Can't map u-boot.img: Invalid argument
make: *** [u-boot.img] Error 1
make: *** Waiting for unfinished jobs....
Makefile:1090: recipe for target 'u-boot.img' failed

I don't know why ... We need to investigate ...

Share this post


Link to post
Share on other sites
5 minutes ago, martinayotte said:

I don't know why ... We need to investigate ...


His build system was not installed clearly so its possible that things are missing ... and I cant't reproduce this error on native build (cleaning source caches before). It works.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0