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.

questions on "installing workshop files" with Introduction to Embedded Linux Three-Day Workshop (AM335x)

I install the workshop Files following the instructions in the file "labA1_3day_setup.pdf" on the web site "processors.wiki.ti.com/.../Introduction_to_Embedded_Linux_Three-Day_Workshop_(AM335x)  ,I  have some questions:

  1)on the page A1-6,step 10 ,I can not get the file "

downloads.ti.com/.../
TISDK-Downloads/ALL/exports/amsdk-07.01.00.00-
downloads.tar.gz

"

2) on the page A1-7, step 11,use the "MACHINE=am335x-evm bitbake -k arago-core-tisdk-image",it has a warning"

WARNING: No recipes available for:
/home/yuanj/oe-layersetup/sources/meta-qt5/recipes-devtools/cmake/cmake_2.8.11.2.bbappend

3)Build sdk seems two slow,does their have some other option? 

Thanks

  • I will ask the Linux team to comment.
  • Hello yuanjianhua,

    1) You can download the AMSDK build sources from this location downloads.ti.com/.../

    You can build the latest processor SDK by following these steps processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    2) The warning indicates a missing recipe, I haven't seen this warning while building newer SDKs.

    3) Depending on your PC configuration building may take a long time.
    You can check the job options in your build/conf/local.conf file whether they meet your PC configuration.

    #
    # Parallelism Options
    #
    # These two options control how much parallelism BitBake should use. The first
    # option determines how many tasks bitbake should run in parallel:
    #
    BB_NUMBER_THREADS = "8"
    #
    # The second option controls how many processes make should run in parallel when
    # running compile tasks:
    #
    PARALLEL_MAKE = "-j 8"
    #
    # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
    # be appropriate for example


    Best regards,
    Kemal

  • Hello Kemal,

            Thank you for your reply.This time I  build the latest processor SDK by following these steps processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    The OS On my Laptop is Ubutun 14.04 LTS 64 version.Because I have the  AM335x Starter Kit.So in the last step I use

    MACHINE=am335x-evm bitbake arago-core-tisdk-image.

              I meet the problem just at the begining the build:

    ERROR: ExpansionError during parsing /home/yuanjianhua/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.12.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.

             What's the problem,pls help me.

       Best wishes,

    Yuan

      



          

  • Seems like a network issue. Which config file you use? I've just built a processor-sdk-02.00.00.00-config.txt with no errors.

    My steps are here:

    git clone git://arago-project.org/git/projects/oe-layersetup.git processor-sdk-2.0
    cd processor-sdk-2.0/
    ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.00.00-config.txt
    cd build/
    . conf/setenv
    export PATH=~/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
  • Hello Kermal,

         I follow the steps again:

         ~$ git clone git://arago-project.org/git/projects/oe-layersetup.git processor-sdk-2.0
          ~$cd processor-sdk-2.0/

        ~/processor-sdk-2.0$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.00.00-config.txt

         ~/processor-sdk-2.0$cd build/

        ~/processor-sdk-2.0/build$ . conf/setenv

         ~/processor-sdk-2.0/build$ export PATH=~/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
        ~/processor-sdk-2.0/build$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
       NOTE: Your conf/bblayers.conf has been automatically updated.
       ERROR: ExpansionError during parsing /home/yuanjianhua/processor-sdk-2.0/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.12.bb: Failure      expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.

    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

    There have not error except the last step.The ERROR is still there.

      

     

  • I see this same error. I'm running 32-bit Ubuntu 14 LTE. Is that the problem here? I know they've finally been moving the support to 64-bit distros. Could that be the issue?
  • I 'm running 64-bit Ubuntu 14LTS.

    ~$uname -a
    Linux yuanjianhua 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    ~$ cat /etc/issue
    Ubuntu 14.04.1 LTS \n \l

  • I think I got this part to work. Followed instructions from here: arago-project.org/.../Setting_Up_Build_Environment

    I did have to first remove the files from the TMPDIR as defined by conf/sanity_info. I still got 75(!) warning messages from the 1301 tasks attempted, but it did appear to complete.

    I don't know if this was enough for the all the lab examples. It doesn't appear that way.

    PS. I'm now rerunning the bitbake with the actual TISDK image, instead of the default one on the arago-project instructions. Going to be a few hours...

  • It couldn't be related with the distribution. Could you open up this recipe and try to find out why bitbake is detecting multiple SCMs on parsing and require SRCREV_FORMAT variable.

  • Hi, all,

    I met similar issue with SRCREV_FORMAT and finally it fixed by reconfiguring the system shell. I did this before, but I closed the terminal and in new terminal I forgot to run this again.

    $ sudo dpkg-reconfigure dash
  • Thanks Chris,

    Reconfiguring dash also worked for me for the particular SRCREV_FORMAT issue you mentioned.
  • Braden,

    I tried more and found once you meet SRCREV_FORMAT issue, you need to re-run MACHINE=am335x-evm bitbake arago-core-tisdk-image and the problem will disappear. You may need to re-run several times. No need to reconfigure dash

  • Sometimes when you change the platform machine name MACHINE=<machine> bitbake <target> this issue occurs again, but I couldn't find the root cause of this yet.

  • Chris Meng said:
    Hi, all,

    I met similar issue with SRCREV_FORMAT and finally it fixed by reconfiguring the system shell. I did this before, but I closed the terminal and in new terminal I forgot to run this again.

    $ sudo dpkg-reconfigure dash

    Chris,

    Thanks for your note as I just bumped into the same issue.  I'm certain I had configured that option in the past yet for some reason I needed to re-do it.

    Brad