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.

Linux/TDA2EVM5777: SETTING UP ENVIRONMENTAL VARIABLES

Part Number: TDA2EVM5777

Tool/software: Linux

Hello People,

I tried to setup the linux(ubuntu 14.04) based host system to build the VISION SDK , i am new to linux environment and the command line, i am following the document VISION SDK LINUX user guide.pdf from TI to setup the machine.

I am little confused over the following commands

2.4 section of user guide

export INSTALL_DIR=<installation_directory_absolute_path>

i got this is setting up the environmental variable  for the directory, my question is does this mean that i have to run it like following if my vision sdk is installed under

folder  /opt

export INSTALL_DIR=/opt/PROCESSOR_SDK_VISION_03_06_00_00?

 2.4.2.1.4 section

& how to setup following when image is untar inside the location $INSTALL_DIR/ti_components/os_tools/linux/targetfs

export INSTALL_DIR=<installation_directory_absolute_path>

 

following the document ,i was able to execute successfully make Linux & make linux_intall commands and set up   MAKECONFIG?=tda2xx_evm_linux_all in Rules.make file

& As i tried to excute the  make –s –j depend  or make -s depend it throws following error

 

k/build# make –s –j depend
make: *** No rule to make target `–s'.  Stop.
:/opt/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build#

can anyone help me out with this?

 

 

Regards

sajad

  • Hi Sajad,

    yes, in your case "export INSTALL_DIR=/opt/PROCESSOR_SDK_VISION_03_06_00_00" is the correct export. You can check the contents of variable with "echo $INSTALL_DIR" (the $ symbol is used to get the value of a variable).

    make: *** No rule to make target `–s'. Stop. is a little strange error - in linux "-" is used to pass different options to a command: in case of make command the "-s" option tells make not to print the commands that it executes. For some reason make command see it not as an option, but as a "rule" that it has to execute (the correct rule in this command is "depend"). Can you try a clean build:

    rm -rf $INSTALL_DIR/vision_sdk/binaries
    make clean
    make linux_clean
    make linux
    make linux_install
    make -s -j depend
    make -s -j

    You can also try without both "-j" and "-s" options (they do not affect the result - "-j" tells make to run more than one job simultaneous, "-s" makes the output less verbose).

    Regards,
    Yordan
  • Dear  Yordan,

    I was able to fix the error, and generated the image for sd card as mentioned in section 3.1.1 NFS + SD boot ,

    As i inserted the sd card the board started booting from SD Card,

    just a quick question , normally how much time it takes to boot at first time and is it required to setup eth1 link to run the demos mentioned in section 4.3 Run demos.

     

    Regards

    sajad

  • Hi Sajad,

    I think boot time is about 10 seconds from start to login prompt. You need toy setup ethernet for AVB usecases, I think you should be able to run usecases for which the source is camera without ethernet.

    Regards,
    Yordan