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.

AM62A7: AM62AX SDK Yocto build issue

Part Number: AM62A7

Hi ,

I am trying to build a processor SDK for AM62AX version is 09_00_00  according to the below link. While Yocto Building I am facing below build error.

Linksoftware-dl.ti.com/.../Overview_Building_the_SDK.html

Error Log:

apps_yocto.xml, attempting MIRRORS if available

ERROR: ti-vision-apps-1.0-r0_edgeai_0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus,guid=f284691f35df1a885227dbae6576cf64"; export SSH_AGENT_PID="3393"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh"; export PATH="/home/mdms/Yocto/tisdk/sources/oe-core/scripts:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot/usr/bin/crossscripts:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/usr/sbin:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/usr/bin:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/sbin:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/bin:/home/mdms/Yocto/tisdk/sources/bitbake/bin:/home/mdms/Yocto/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/mdms"; /usr/bin/env repo init -m vision_apps_yocto.xml -b refs/tags/REL.PSDK.ANALYTICS.09.00.00.01 -u git://git.ti.com/processor-sdk/psdk_repo_manifests.git failed with exit code 1, output:
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.208]: errno=Connection timed out

 

fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.207]: errno=Connection timed out

 

manifests: sleeping 4.0 seconds before retrying

 

Downloading manifest from git://git.ti.com/processor-sdk/psdk_repo_manifests.git
fatal: cannot obtain manifest git://git.ti.com/processor-sdk/psdk_repo_manifests.git.

FYI , for Build i am running below commands .

git clone git.ti.com/.../oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk-analytics/processor-sdk-analytics-09.00.00-config.txt
$ cd build
$ . conf/setenv
$ echo 'EDGEAI_BRAND = "edgeai"' >> conf/bblayers.conf
$ MACHINE=am62axx-evm bitbake -k tisdk-edgeai-image


Is there any way to solve above build issue. Seems the link itself is failing to fetch from TI git server.

  • There seems to be an issue with this repository in terms of how the HEAD is setup. It is accessible from the web via https://git.ti.com/cgit/processor-sdk/psdk_repo_manifests/ however when trying to manually clone it I get a similar error:

    $ git clone https://git.ti.com/git/processor-sdk/psdk_repo_manifests.git
    Cloning into 'psdk_repo_manifests'...
    remote: Enumerating objects: 109, done.
    remote: Counting objects: 100% (109/109), done.
    remote: Compressing objects: 100% (109/109), done.
    remote: Total 109 (delta 37), reused 0 (delta 0), pack-reused 0
    Receiving objects: 100% (109/109), 13.26 KiB | 3.32 MiB/s, done.
    Resolving deltas: 100% (37/37), done.
    warning: remote HEAD refers to nonexistent ref, unable to checkout.

    When specifying a branch however the clone works:

    $ git clone https://git.ti.com/git/processor-sdk/psdk_repo_manifests.git -b main
    Cloning into 'psdk_repo_manifests'...
    remote: Enumerating objects: 109, done.
    remote: Counting objects: 100% (109/109), done.
    remote: Compressing objects: 100% (109/109), done.
    remote: Total 109 (delta 36), reused 0 (delta 0), pack-reused 0
    Receiving objects: 100% (109/109), 13.38 KiB | 3.34 MiB/s, done.
    Resolving deltas: 100% (36/36), done.

    Let me reach out to the team to see what happened there. It might be something caused by us releasing a new SDK version just now. Nevertheless the older version (9.0) you are trying to build should still be buildable.

    In parallel, can you please try to setup a build for aforementioned just-released SDK v9.1 to see if this works for you?

    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM62A/09.01.00.07

    Regards, Andreas

  • Thanks for the response Andreas Dannenberg.

    As you suggested I have tried SDK v9.1 also but seeing the same build issue.

    Build error log 


    ERROR: ti-vision-apps-1.0-r0_edgeai_1 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'repo://git.ti.com/git/processor-sdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.09.01.00.07;manifest=vision_apps_yocto.xml')
    ERROR: Logfile of failure stored in: /home/magna/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_1/temp/log.do_fetch.1848000
    ERROR: Task (/home/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/yocto-build/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_fetch) failed with exit code '1'

  • Hi Ramki,

    does this issue still persist?

    Regards, Andreas