0
stonegray

Fails to get allwinner-stable branch of ATF

Recommended Posts

Using ./compile.sh, I'm not able to build ATF for the H5. It appears that the problem is that it's looking for the "allwinner-stable" branch, when the branch name on the repositiory is just "allwinner" or "allwinner-testing".  Error is at the bottom of the post.

 

I got it to work by changing the branch name in ./build/config/sources/sunxi64_common.inc by setting ATFBRANCH='branch:allwinner-stable' and it appears to work. Is this a naming problem in the fork of ATF, or a naming problem in armbian/build? 

 

Error output from ./compile.sh. 

Targeting nanopineoplus2, occurs on next/dev with jessie/stretch/ubuntu. 

[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ u-boot v2017.11 ] 
[ .... ] Up to date 
[ o.k. ] Checking git sources [ linux-sun50i-dev sunxi64-4.14.y ] 
[ .... ] Up to date 
[ o.k. ] Checking git sources [ arm-trusted-firmware-sunxi-mainline allwinner-stable ] 
[ .... ] Fetching updates fatal: Couldn't find remote ref allwinner-stable 
[ .... ] Checking out error: pathspec 'FETCH_HEAD' did not match any file(s) known to git. 
[ o.k. ] Checking git sources [ sunxi-tools master ] 
[ .... ] Up to date 
[ o.k. ] Checking git sources [ rkbin-tools master ] 
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-17.10 ] 
[ .... ] Up to date 
[ o.k. ] Checking git sources [ odroidc2-blobs master ] 
[ .... ] Up to date 
[ o.k. ] Cleaning output/debs for [ nanopineoplus2 dev ] 
[ o.k. ] Cleaning [ arm-trusted-firmware-sunxi-mainline/allwinner-stable ] 
[ o.k. ] Compiling ATF 
[ o.k. ] Compiler version [ aarch64-linux-gnu-gcc 6.4.1 ] 
[ o.k. ] Started patching process for [ atf sunxi64-nanopineoplus2-dev ] 
[ o.k. ] Looking for user patches in [ userpatches/atf/atf-sunxi64 ] 
[ warn ] * [l][c] add-SRAM-mapping-for-SCPI.patch [ failed ] 
[ warn ] * [l][c] enable-a53-errata-workaround.patch [ failed ] 
[ warn ] * [l][c] enable-additional-regulators.patch [ failed ] 
[ warn ] * [l][c] set-rsb-to-nonsec.patch [ failed ] make: *** No rule to make target 'bl31'. Stop. 
[ error ] ERROR in function compile_atf [ compilation.sh:59 ] 
[ error ] ATF compilation failed [ o.k. ] Process terminated 
root@buildbox-us-east4-b-preempt:/home/stonegray/build#

 

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