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: PROCESSOR-SDK-AM335X

Part Number: PROCESSOR-SDK-AM335X

Hi, I am trying to follow steps to build the yocto image using the steps from below link for processor-sdk-linux-07_03_00

https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html

step-1 - git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk

step-2 - ./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-07_03_00.txt

But on Step-2 , I am getting error as below

The same was working until last month. Please help to resolve

  • Any update on resolving this error. This is coming even after following the standard user guide from TI

  • Hi Srinivas,

    as for step 1, please use the below command to clone. Projects on the arago-project.org servers are being deprecated in favor of hosting this content through ti.com, and do no longer contain the latest files. oe-layersetup is one of those projects. I have queued a documentation update for that already but it is not live yet.

    git clone git.ti.com/.../oe-layersetup.git tisdk

    as for step 2, as you can see from the error message the 'git' protocol is being deprecated by the server, leading to the repository clone failures. The solution is to switch respective repositories over to use 'https' transport. There's actually a commit on the configs/processor-sdk-linux/processor-sdk-linux-07_03_00.txt configuration file dated 03/23/2022 that does just that, please see here: https://git.ti.com/cgit/arago-project/oe-layersetup/commit/configs/processor-sdk-linux/processor-sdk-linux-07_03_00.txt?id=488304751f9bee99b1b754a7d49a22acffc91d30

    With the config file updated by the above commit I was just able to clone the project and setup all the layers without issues.

    Note that you may run into failures during the bitbake do_fetch process on selected recipes related to upstream branches getting renamed ('master' -> 'main' for example), or similar as above the 'git' transport getting deprecated, in which case you need to update the recipes that are failing to use the correct updated branch names and/or Git transport.

    Regards, Andreas

  • Hi Andreas

    Thanks for your detailed input. I was now able to clone it properly. My yocto build is starting now, though I find some fetch error which you mentioned

    I will close this ticket now, in case I get further errors, I will raise ticket for help again related to this thread

    Thanks again

  • Hi Andreas,

    Your input helped me to avoid the GIT specific error, but further down the build, I got stuck with error as "ERROR: linux-ti-staging-5.4.106+gitAUTOINC+023faefa70-r22a.arago5 do_package: Error executing a python function in exec_python_func() autogenerated"

    I got fetch error for /meta-psdkla and meta-aws, but I dont need this in my build currently , hence I removed the entries from bblayers

    Can you please help me to resolve this error. 

    I was not sure if I needed to open a seperate thread or mention it here as it is continuation of the process. Do let me know if I need to create a seperate request itself

    Error log is as below

    ==========================================================================================

    NOTE: Started PRServer with DBfile: /home/appdev-426043/shrini/26apr/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 40713, PID: 12949
    WARNING: /home/appdev-426043/shrini/26apr/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain-${TRANSLATED_TARGET_ARCH}) replaces original key PREFERRED_PROVIDER_binutils-cross-canadian-invalid (external-arm-secondary-sdk-toolchain-${SECONDARY_TARGET_ARCH}).
    WARNING: /home/appdev-426043/shrini/26apr/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain-${TRANSLATED_TARGET_ARCH}) replaces original key PREFERRED_PROVIDER_gcc-cross-canadian-invalid (external-arm-secondary-sdk-toolchain-${SECONDARY_TARGET_ARCH}).
    Parsing recipes: 100% |#############################################################################################################################| Time: 0:00:37
    Parsing of 2894 .bb files complete (0 cached, 2894 parsed). 4092 targets, 594 skipped, 0 masked, 0 errors.
    WARNING: No recipes available for:
    /home/appdev-426043/shrini/26apr/tisdk/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.46.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "ubuntu-18.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am335x-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2020.09"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-arago-distro
    meta-arago-extras = "HEAD:ee6ff44d90945429051c8d9573c8b60705104149"
    meta-qt5 = "HEAD:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
    meta-virtualization = "HEAD:89abc62b47f6f20db9d00a8ec9b2c1b6b60ac3f9"
    meta-networking
    meta-python
    meta-oe
    meta-gnome
    meta-filesystems = "HEAD:389757a7494221fea1d8437e9a01c6e4fb4700af"
    meta-ti = "HEAD:02a53f48b9bdb242185204610610f2209bc92ca6"
    meta-arm
    meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
    meta = "HEAD:707036d4ec12ef1a260adcef78627b26e32e6540"

    Initialising tasks: 100% |##########################################################################################################################| Time: 0:00:02
    Sstate summary: Wanted 1130 Found 0 Missed 1130 Current 86 (0% match, 7% complete)
    NOTE: Executing Tasks
    WARNING: external-arm-toolchain-2019.12-r0 do_package: QA Issue: external-arm-toolchain: Files/directories were installed but not shipped in any package:
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdfix.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/openacc.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_cmse.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdnoreturn.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdarg.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdalign.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdatomic.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_fp16.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/unwind-arm-common.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_acle.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdbool.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/unwind.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/gcov.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/float.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/mmintrin.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/varargs.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stddef.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdint.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/iso646.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_neon.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/ISO_Fortran_binding.h
    /usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdint-gcc.h
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    external-arm-toolchain: 22 installed and not shipped files. [installed-vs-shipped]
    WARNING: libnss-mdns-0.14.1-r0 do_fetch: Failed to fetch URL git://github.com/lathiat/nss-mdns, attempting MIRRORS if available
    WARNING: rpcbind-1.2.5-r0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../rpcbind-1.2.5.tar.bz2, attempting MIRRORS if available
    WARNING: hdparm-9.58-r0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../hdparm-9.58.tar.gz, attempting MIRRORS if available
    WARNING: iperf3-3.7-r0 do_fetch: Failed to fetch URL git://github.com/esnet/iperf.git, attempting MIRRORS if available
    WARNING: iperf-2.0.5-r0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../iperf-2.0.5.tar.gz, attempting MIRRORS if available
    WARNING: phytool-2+gitAUTOINC+8882328c08-r0 do_fetch: Failed to fetch URL git://github.com/wkz/phytool.git, attempting MIRRORS if available
    WARNING: netperf-2.7.0+gitAUTOINC+f482bab49f-r0 do_fetch: Failed to fetch URL git://github.com/HewlettPackard/netperf.git, attempting MIRRORS if available
    WARNING: linux-ti-staging-5.4.106+gitAUTOINC+023faefa70-r22a.arago5 do_install: Task do_install requested do_package unihash, but it was not available.
    ERROR: linux-ti-staging-5.4.106+gitAUTOINC+023faefa70-r22a.arago5 do_package: Error executing a python function in exec_python_func() autogenerated:

    The stack trace of python calls that resulted in this exception/failure was:
    File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
    0001:
    *** 0002:do_package(d)
    0003:
    File: '/home/appdev-426043/shrini/26apr/tisdk/sources/oe-core/meta/classes/package.bbclass', lineno: 2315, function: do_package
    2311:
    2312: cpath = oe.cachedpath.CachedPath()
    2313:
    2314: for f in (d.getVar('PACKAGESPLITFUNCS') or '').split():
    *** 2315: bb.build.exec_func(f, d)
    2316:
    2317: ###########################################################################
    2318: # Process PKGDEST
    2319: ###########################################################################
    File: '/home/appdev-426043/shrini/26apr/tisdk/sources/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
    0247: with bb.utils.fileslocked(lockfiles):
    0248: if ispython:
    0249: exec_func_python(func, d, runfile, cwd=adir)
    0250: else:
    *** 0251: exec_func_shell(func, d, runfile, cwd=adir)
    0252:
    0253: try:
    0254: curcwd = os.getcwd()
    0255: except:
    File: '/home/appdev-426043/shrini/26apr/tisdk/sources/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
    0448: with open(fifopath, 'r+b', buffering=0) as fifo:
    0449: try:
    0450: bb.debug(2, "Executing shell function %s" % func)
    0451: with open(os.devnull, 'r+') as stdin, logfile:
    *** 0452: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
    0453: finally:
    0454: os.unlink(fifopath)
    0455:
    0456: bb.debug(2, "Shell function %s finished" % func)
    File: '/home/appdev-426043/shrini/26apr/tisdk/sources/bitbake/lib/bb/process.py', lineno: 182, function: run
    0178: if not stderr is None:
    0179: stderr = stderr.decode("utf-8")
    0180:
    0181: if pipe.returncode != 0:
    *** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
    0183: return stdout, stderr
    Exception: bb.process.ExecutionError: Execution of '/home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/temp/run.populate_srcipk_package.23596' failed with exit code 1:
    cp: cannot stat '/home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/srcipk-staging/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g/.': No such file or directory
    WARNING: /home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/temp/run.populate_srcipk_package.23596:1 exit 1 from 'cp -Prf --preserve=mode,timestamps --no-preserve=ownership /home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/srcipk-staging/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g/. /home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/packages-split/linux-ti-staging-src/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g'


    ERROR: Logfile of failure stored in: /home/appdev-426043/shrini/26apr/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/temp/log.do_package.23596
    ERROR: Task (/home/appdev-426043/shrini/26apr/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.4.bb:do_package) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1743 tasks of which 968 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 11 seconds

    Summary: 1 task failed:
    /home/appdev-426043/shrini/26apr/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.4.bb:do_package
    Summary: There were 12 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

    ==========================================================================================

  • Hi Srinivas,

    glad to hear about you were able to get the Yocto fetches to work. As for the packaging failure you described that actually seems to be occurring on multiple of our SDKs at the moment. While we are working on a solution I posted a workaround here of disabling the SRCIPK packaging step for the kernel and U-Boot, please have a look and try it out:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1092850/processor-sdk-am64x-tisdk-build-failure/4054597#4054597

    Regards, Andreas