Jump to content

Recommended Posts

Posted

Hi, 

No matter I am using master or development branches, both were failed to build uboot/kernel by bl31 target.

Spoiler

$ ./compile.sh

[ o.k. ] Using config file [ config-default.conf ]
[ warn ] This script requires root privileges, trying to use sudo
[ o.k. ] Using config file [ config-default.conf ]
[ o.k. ] This script will try to update
Already up-to-date.
Branch master set up to track remote branch master from origin.
Switched to a new branch 'master'
[ o.k. ] Command line: setting LIB_TAG to [ development ]
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ xenial ]
[ o.k. ] Syncing clock [ host ]
...

[ o.k. ] Downloading sources
[ o.k. ] Checking git sources [ u-boot v2017.11 ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 13850, done.
remote: Compressing objects: 100% (12501/12501), done.
remote: Total 13850 (delta 2480), reused 5498 (delta 1100)
Receiving objects: 100% (13850/13850), 17.34 MiB | 1.03 MiB/s, done.
Resolving deltas: 100% (2480/2480), done.
From git://git.denx.de/u-boot
 * tag               v2017.11   -> FETCH_HEAD
[ .... ] Checking out
[ o.k. ] Checking git sources [ linux-sun50i-dev sunxi64-4.14.y ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 65166, done.
remote: Compressing objects: 100% (60561/60561), done.
remote: Total 65166 (delta 5682), reused 24248 (delta 3618), pack-reused 0
Receiving objects: 100% (65166/65166), 173.09 MiB | 1.48 MiB/s, done.
Resolving deltas: 100% (5682/5682), done.
From https://github.com/Icenowy/linux
 * branch            sunxi64-4.14.y -> FETCH_HEAD
 * [new branch]      sunxi64-4.14.y -> origin/sunxi64-4.14.y
[ .... ] Checking out
[ o.k. ] Checking git sources [ arm-trusted-firmware-sunxi-mainline allwinner-stable ]
[ .... ] Creating local copy
[ .... ] 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 ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 83, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 83 (delta 13), reused 33 (delta 4), pack-reused 0
Unpacking objects: 100% (83/83), done.
From https://github.com/linux-sunxi/sunxi-tools
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
[ .... ] Checking out
[ o.k. ] Checking git sources [ rkbin-tools master ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 233, done.
remote: Compressing objects: 100% (183/183), done.
remote: Total 233 (delta 58), reused 209 (delta 50), pack-reused 0
Receiving objects: 100% (233/233), 22.61 MiB | 2.57 MiB/s, done.
Resolving deltas: 100% (58/58), done.
From https://github.com/rockchip-linux/rkbin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
[ .... ] Checking out
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-17.10 ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 294, done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 294 (delta 151), reused 229 (delta 140), pack-reused 0
Receiving objects: 100% (294/294), 5.80 MiB | 2.08 MiB/s, done.
Resolving deltas: 100% (151/151), done.
From https://github.com/MarvellEmbeddedProcessors/A3700-utils-marvell
 * branch            A3700_utils-armada-17.10 -> FETCH_HEAD
 * [new branch]      A3700_utils-armada-17.10 -> origin/A3700_utils-armada-17.10
[ .... ] Checking out
[ o.k. ] Checking git sources [ odroidc2-blobs master ]
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 13 (delta 0), reused 11 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
From https://github.com/armbian/odroidc2-blobs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
[ .... ] Checking out
[ o.k. ] Compiling [ sunxi-tools ]
Setting version information: 5c19710

[ o.k. ] Installing [ rkbin-tools ]
[ o.k. ] Cleaning output/debs for [ pine64 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-pine64-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

 

 

 

Any patch that I can cherry-pick and fix the above issue (specifically regarded to Linux 4.x?) Thanks for any quick clue here.

 

Anthony

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

Important Information

Terms of Use - Privacy Policy - Guidelines