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.

Building the Processor SDK

Genius 5785 points

Hello,

I'm trying to build AM57xx processor sdk on Ubuntsu 14.04 64-bit. But it fails git clone due to 32-bit library. I've already gotten lib32z1 on the host. Please give me some advice.

processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

user@ubuntu:~$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
Cloning into 'tisdk'...
git: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
fatal: index-pack failed
user@ubuntu:~$

user@ubuntu:~$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0Reading package lists... Done
Building dependency tree      
Reading state information... Done
lib32bz2-1.0 is already the newest version.
lib32ncurses5 is already the newest version.
lib32z1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 142 not upgraded.
user@ubuntu:~$

Regards,
Kazu

  • Dear Kazu,
    Please make sure that you have installed all the mentioned packages from the following TI wiki pages.
    processors.wiki.ti.com/.../Sitara_Linux_SDK_64_Bit_Ubuntu_Support
    processors.wiki.ti.com/.../Linux_Host_Support_CCSv6

    Also use the following commands.
    sudo apt-get update
    sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
  • Hello Titus,

    Thank you for your reply. I installed all packages of your suggestion, but it didn't lead to solve. I think there is "libz.so.1" on my host as below. Could you give me advice?

    user@ubuntu:~$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    Cloning into 'tisdk'...
    git: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    fatal: index-pack failed
    user@ubuntu:~$ find /usr -name "libz.so.1"
    /usr/lib32/libz.so.1
    /usr/lib/vmware-tools/lib32/libz.so.1
    /usr/lib/vmware-tools/lib32/libz.so.1/libz.so.1
    /usr/lib/vmware-tools/lib64/libz.so.1
    /usr/lib/vmware-tools/lib64/libz.so.1/libz.so.1
    user@ubuntu:~$

    Regard,
    Kazu

  • Dear Kazu,
    Are you able to do "git clone" any package ?
    Need to check, problem in TI SDK git or its ubuntu issue ?
  • Hello Titus,

    I command as below, but I see the following error message. Could you give me advice?

    user@ubuntu:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    ERROR: ExpansionError during parsing /home/user/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.1.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.
    user@ubuntu:~/tisdk/build$

    Regards,
    Kazu

  • Dear Kazu,
    Can you please refer to the following E2E post ?
    e2e.ti.com/.../1680670
  • Hello Titus,

    Thank you for your information. I solved the error after I tried the bitbake command several times in other environment for my host. It started. I guess a communication throughput on the internet was issue. But the operation of bitbake has not finished for a day. How long does it take? I have to quit the operation because the HDD on my host is accessed a lot during the operation. The Ubuntu on VMWare has 40GB HDD. Could you give me some advice?

    Regards,
    Kazu

  • Hello Kazu,

    It is possible the build procedure to take a long time. Depending on that which SDK you are building, the bitbake will download approximately 5G source code and build them in the working directory which will take approximately 50G storage memory. So keep in mind you will need at least 60G free space for the SDK building.

    Best regards,
    Kemal