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.

ti-vision-apps build failed on the SDK ti-processor-sdk-linux-j784-9.0.1.3



MACHINE=j784s4-evm bitbake ti-vision-apps

WARNING: ti-vision-apps-1.0-r0_edgeai_0 do_fetch: Failed to fetch URL repo://git.ti.com/git/processor-sdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.09.00.01.01;manifest=vision_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/15729/bus"; export PATH="/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/sources/oe-core/scripts:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/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:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot/usr/bin/crossscripts:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/usr/sbin:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/usr/bin:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/sbin:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/recipe-sysroot-native/bin://source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/sources/bitbake/bin:/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/hosttools"; export HOME="/hom/x"; /usr/bin/env repo sync failed with exit code 1, output:
error: command 'sync' requires repo to be installed first.
        Use "repo init" to install it here.

ERROR: ti-vision-apps-1.0-r0_edgeai_0 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.00.01.01;manifest=vision_apps_yocto.xml')
ERROR: Logfile of failure stored in: /source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/temp/log.do_fetch.1127925
ERROR: Task (/source/ti-processor-sdk-linux-j784-9.0.1.3/yocto-build/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1232 tasks of which 1207 didn't need to be rerun and 1 failed.

  • Hi Xulin,

    Which config file did you use when running the oe-layertool-setup.sh script? You should use configs/processor-sdk-analytics/processor-sdk-analytics-09.00.01-config.txt or whichever version processor-sdk-analytics config file you want to use.

    Here are the commands I executed to build ti-vision-apps on my machine:

    $ cd <path-to-sdk>
    $ rm -r yocto-build
    $ git clone git.ti.com/.../oe-layersetup.git yocto-build
    $ cd yocto-build
    $ ./oe-layertool-setup.sh -f configs/processor-sdk-analytics/processor-sdk-analytics-09.00.01-config.txt
    $ cd build
    $ . conf/setenv
    # if you want to build the adas version as opposed to the edgeai version
    $ echo 'EDGEAI_BRAND = "adas"' >> conf/bblayers.conf
    $ MACHINE=j784s4-evm bitbake ti-vision-apps

    Best,
    Jared

  • Thanks for you reply.  Follow the steps you pasted exactly, it got the same failed information as I wrote.

    However if I execute this below command alone, it's successful.

     "repo init -u git.ti.com/.../psdk_repo_manifests.git -b refs/tags/REL.PSDK.ANALYTICS.09.00.01.01 -m vision_apps_yocto.xml"

    So, Is the below URL written correctly in the bb file "ti-vision-apps.bb"? After all, it shows a do_fetch error that means the NET or URL is not correct, and I fetch it alone successful. 

    'repo://git.ti.com/git/processorsdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.09.00.01.01;manifest=vision_apps_yocto.xml'

    Or, where should the mirror package be placed in TI SDK?  I can try manually placing this package there.

    Thank

    Xulin

  • Hi Xulin,

    Can you send the contents for your ti-vision-apps.bb file?

    It should be located at: yocto-build/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb

    Best,
    Jared

  • Yes, it's the ti-vision-apps.bb issue. After fixed as below, it built fine.

    diff --git a/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb b/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb
    index ed703bf..e6c063d 100644
    --- a/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb
    +++ b/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb
    @@ -22,7 +22,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/../meta-ti/meta-ti-bsp/licenses/TI-TFL;md
    file://${COREBASE}/meta/files/common-licenses/OpenSSL;md5=4eb1764f3e65fafa1a25057f9082f2ae \
    "

    -SRC_URI = "repo://git.ti.com/processor-sdk/psdk_repo_manifests.git;protocol=git;branch=refs/tags/REL.PSDK.ANALYTICS.09.00.01.01;manifest=vision_apps_yocto.xml"
    +SRC_URI = "repo://git.ti.com/git/processor-sdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.09.00.01.01;manifest=vision_apps_yocto.xml"

    FILES:${PN} += "/opt/*"