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.

Issue While Setting up yocto build for TI Jacinto 6 Plus

Hi ,

I am working on setting up yocto build setup for TI jacinto 6 plusby following the procedure mentioned in the below document,

Processor SDK Linux Automotive Software Developers Guide - Texas Instruments Wiki.pdf

link :-https://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Software_Developers_Guide

I am facing the following error please find the log below,

Log:-

user@BLTSP00065:~/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03$ ./bin/setup-yocto.sh
[PSDKLA]>
[PSDKLA]> Testing for yocto-layers
[PSDKLA]> yocto-layers is present. Proceed to next step
[PSDKLA]> Copying yocto build-scripts to yocto-layers
[PSDKLA]> cd yocto-layers
[PSDKLA]>  mkdir configs/psdkla/.
[PSDKLA]>  cp ../config/*.* configs/psdkla/.
cp: cannot stat '../config/*.*': No such file or directory
SUCCESS: GCC Linaro tool chain path has been set correctly
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/user/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/downloads ]
[PSDKLA]>
[PSDKLA]> Current Directory is /home/user/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers
[PSDKLA]> PATH is /home/user/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user/.dotnet/tools
[PSDKLA]> Building on BLTSP00065 running Linux BLTSP00065 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[PSDKLA]> Starting Yocto build at Tue Jul 27 19:11:44 IST 2021
[PSDKLA]>
[PSDKLA]> ./oe-layertool-setup.sh -f configs/psdkla/processor-sdk-linux-automotive-03.04.00.03.txt
/home/user/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers
ERROR: the file "configs/psdkla/processor-sdk-linux-automotive-03.04.00.03.txt" given for inputfile does not exist


Usage:
    ./oe-layertool-setup.sh [-i] [-f inputfile] [-o outputfile] [-d dldir] [-b basedir] [-h]

Parameters:
    -i: Interactive mode.  This mode will query the user to input information
        for each repository and which layers to configure for that repository.
    -f: Specifies the input file to be parsed which represents the repositories
        to be configured.  If this option is used in conjunction with the -i
        option then the setting in the input file are used first and then the
        user is prompted for additional repositories to configure.
    -o: Specifies the output file to save the repository configurations to.
        This allows the user to share the settings they enter with interactive
        mode with others.
    -d: This optional directory points to where the downloads should be saved
        by setting the DL_DIR setting in the configuration files.
    -b: This optional directory will be the location of the base directory
        where the build will be configured.  The default is the current
        directory.
    -h: This message

Input Files:
    Input files are expected to have the following format
        name,repo uri,branch,commit[,layers=layer1:layer2:...:layerN]

    The first 4 values are required, whereas the layers= value is optional.
    By default all layer.conf files found in a repository will be selected
    unless the layers= option is set to limit the layers being used.  The
    settings for the layers option should be the path from the base of the
    repository to the directory containing a conf directory with the layer.conf
    file.  For example, when configuring openembedded-core the following can be
    used:

    openembedded-core,git://github.com/openembedded/oe-core.git,master,HEAD

    This would select both the meta and meta-skeleton layers.

    or, to limit to only the meta layer you could use the syntax

    openembedded-core,git://github.com/openembedded/oe-core.git,master,HEAD,layers=meta

    or, to explicitly set the meta and meta-skeleton layers use

    openembedded-core,git://github.com/openembedded/oe-core.git,master,HEAD,layers=meta:meta-skeleton

    It is also possible to specify the sample conf files for bblayers.conf
    and local.conf using settings like:
        OECORELAYERCONF=relative/path/to/bblayers.conf.sample
        OECORELOCALCONF=relative/path/to/local.conf.sample

[PSDKLA]> cd build
./bin/setup-yocto.sh: line 64: cd: /home/user/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build: No such file or directory
[PSDKLA]> . conf/setenv
./bin/setup-yocto.sh: line 67: conf/setenv: No such file or directory

Please suggest solution for the issue,

With Regards,

-Vamsi.

  • Hi Vamsi,

    Before running the command "./bin/setup-yocto.sh", did you run the the setup.sh as described in the documentation and allow the SDK to fetch all the required files?

    This is the missing step in your installation process.

    Regards

    Karthik