LSDK Code Aurora git clone extremely slow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LSDK Code Aurora git clone extremely slow

4,752 Views
dmitri_lechtchinski
Contributor III

Hello,

I'm currently trying to build firmware using LSDK flex-builder tool, and the git clone process is very slow, namely the https://source.codeaurora.org/external/qoriq/qoriq-components/linux.git repository. I getting a maximum of 80 KB/s download speed, and this it taking forever, additionally there is no way to "pause" a git clone process in case of network interruption.

Is there another mirror for this, or any alternative way to obtain the necessary sources?

Otherwise this process is not feasible for us.

Thanks,
Dmitri

8 Replies

4,382 Views
mcbridematt
Contributor III

There are at least two CodeAurora servers, it seems DNS anycast is used to choose which one you end up at.

siliconvalley.source.codeaurora.org is where I get sent (from Australia). It has been very slow the past week

https://portland.source.codeaurora.org/external/qoriq/ is much faster.

I believe there was an Asia (Singapore?) one but that must have disappeared when Qualcomm migrated away recently. As well as one for AWS us-east-1

Anyway, NXP should migrate or at least actively mirror to GitHub. I can't see CodeAurora lasting much longer now that the primary tenant (Qualcomm/QUIC) is/has moved out.

4,369 Views
dunk
Contributor II

Great thanks for this information.

0 Kudos

4,745 Views
ufedor
NXP Employee
NXP Employee

Which exactly command you have executed?

0 Kudos

4,505 Views
mpersano
Contributor I

I've been having the same issue in the last couple of days, I'm trying to build an image but bitbake gets stuck trying to clone a git repository from codeaurora. I get around 60kb/s. Already tried different VPNs.

The exact command that bitbake is running is:

 

git -c core.fsyncobjectfiles=0 clone --bare --mirror "https://source.codeaurora.org/external/imx/linux-imx.git"

 

0 Kudos

4,544 Views
dsouthwi
Contributor III

Same for me, this repository is nearly unusable.

 

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/linux -b LSDK-21.08
Cloing https://source.codeaurora.org/external/qoriq/qoriq-components/linux release LSDK-21.08
Cloning into 'linux'...
remote: Enumerating objects: 10516405, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (5/5), done.
Receiving objects:  12% (1313099/10516405), 635.59 MiB | 40.00 KiB/s

This will take days...

4,736 Views
dmitri_lechtchinski
Contributor III

I use LSDK 19.09, since the board we currently have is LX2160ARDB rev.1

The command is:

flex-builder -i mkfw -m lx2160ardb -b xspi

0 Kudos

4,727 Views
ufedor
NXP Employee
NXP Employee

I see about 9 MB/s in my case (Ubuntu on VirtualBox).

0 Kudos

4,392 Views
dunk
Contributor II

Hi ufedor,

Where do locate?

It's remarkably slow in Taiwan.

0 Kudos