This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: How to speed up do_fetch?

Part Number: PROCESSOR-SDK-AM335X


Hi Team,

1. After I clean the linux packages using this command 'MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake -c cleanall linux-ti-staging-rt'.

I try to build 'linux-ti-staging-rt' back but it seems very slow on do_fetch. The speed is about 100KiB/s.

Do you know how to speed up in case of I have the same scenario next time?

----------------------------------------------------------------------
WARNING: You are using the example Wind River gpg signing keys.  These
keys are provided as samples and are unsafe to use in production.
Please consider running "layers/meta-secure-core/meta-signing-
key/scripts/create-user-key-store.sh".  This script can generate a
complete set of new keys and print the variables you should set in the
local.conf.
----------------------------------------------------------------------
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 15 Found 0 Missed 15 Current 1599 (0% match, 99% complete)
NOTE: Executing Tasks
Currently  1 running tasks (3387 of 4893)  69% |###########################################################################################################                                                |
0: linux-ti-staging-rt-5.10.100+gitAUTOINC+204ec708dc-r22b.arago1.tisdk0 do_fetch (pid 23722)  26% |#######################   

2. Sometime I want to build u-boot or linux but the output is not complete.

For example, steps are as below,

MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake -c clean linux-ti-staging-rt

MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake  linux-ti-staging-rt

The result is successful and the output directory is as below,  the content is not complete especially I need the source code of linux kernel.

So how should I build linux-ti-staging-rt and ensure the output is complete? Thanks.

user-ubuntu:~/ti-am335x/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging-rt/5.10.100+gitAUTOINC+204ec708dc-r22b.arago1.tisdk0$ ls -l
total 48
drwxr-xr-x 3 plcnet plcnet 4096 Aug 30 14:36 deploy-ipks
drwxr-xr-x 2 plcnet plcnet 4096 Aug 30 14:41 deploy-linux-ti-staging-rt
drwxrwxr-x 3 plcnet plcnet 4096 Aug 30 14:21 license-destdir
drwxr-xr-x 7 plcnet plcnet 4096 Aug 30 14:35 pkgdata-pdata-input
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-deploy
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-packagedata
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-package_qa
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-package_write_ipk
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-populate_lic
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 sstate-install-populate_sysroot
drwxr-xr-x 3 plcnet plcnet 4096 Aug 30 14:32 sysroot-destdir
drwxrwxr-x 2 plcnet plcnet 4096 Aug 31 11:30 temp