Jump to content

Fails to get allwinner-stable branch of ATF


stonegray

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#

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines