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.

Getting started - first time download

Hello,
I downloaded the AM335X_StarterWare_02_00_01_01_Setup.bin file (sha1: 2252a52be25e780d4d1ffbd3b7b9b81738f47585)

I am thinking I simply need to execute this file, however.
===============

$ sh ./AM335X_StarterWare_02_00_01_01_Setup.bin
./AM335X_StarterWare_02_00_01_01_Setup.bin: ./AM335X_StarterWare_02_00_01_01_Setup.bin: cannot execute binary file
==============
My OS is:
Linux 3.2.0-51-generic #77-Ubuntu SMP Wed Jul 24 20:18:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Any help appreciated,

Thanks,

  • Did you change file permissions?

    sudo chmod a+x

  • Yes of course :)

    Now interestingly, the exact same binary (sha1 is the same) seems to work on a different machine. Are there any dependencies that I should be aware of (perhaps for the GUI installer)?

    The kernel versions and OS(es) are the same.

  • I know that the Linux SDK has a dependency for ia32-libs.  CCS has one as well.  It is possible that the same requirement applies to StarterWare.  I would try installing that.

    sudo apt-get install ia32-libs

    note: I think the dependency might be for InstallJammer (which all 3 use).

  • Thank you Michael, I will try that today evening.

    That brings me to the next question on my laptop that the installer works on.

    I am trying to install ccs:

    $ sudo ./ccs_setup_5.4.0.00091.bin

    And the installer seems to be stuck at:

    I have waited for quite some time now (about 30 minutes). Also this is my second attempt. I am attempting the 'full' install (vs the custom one).

    Apparently the process is stuck on trying to read something from stdin.

     ps -ef|grep ccs
    root      7261  2114  0 11:52 pts/2    00:00:00 sudo ./ccs_setup_5.4.0.00091.bin
    root      7262  7261  0 11:52 pts/2    00:00:14 ./ccs_setup_5.4.0.00091.bin
    root      8006  7262  0 11:58 pts/2    00:00:00 /opt/ti/ccsv5/eclipse/downloads/ti_cgt_tms470_5.0.4_setup_linux_x86.bin --mode silent --prefix /opt/ti/ccsv5/tools/compiler/arm_5.0.4


    $ sudo strace -p 8006
    Process 8006 attached - interrupt to quit
    [ Process PID=8006 runs in 32 bit mode. ]
    read(0,

    Thank you for your prompt replies.  For ccs, I did try googling 'ti setup_linux_x86' before asking.

    Regards,

  • Thats right.

    I get a (seemingly) clean dependency result:

    ./check_depends.sh
    Installed versions of glibc and glibcxx: GLIBC_2.15, N/A
    Required versions of glibc and glibcxx:  ,
    Checking availability of libraries in ext-depends.txt ...
    Done.

    But then when I run the bin file, it gets stuck as shown above.

    My distribution is:

    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 12.04.2 LTS
    Release:        12.04
    Codename:       precise

    So I am trying to follow the procedures under the 12.04 64 bit section

    Regards,

  • After doing a sudo apt-get update and reboot, things seemed to be fine. Thank you for your prompt replies.