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.

missing files from tool-chain folder

I am trying to recompile kernel for am335x-SDK. I downloaded and installed the linux SDK file "ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin" in "/opt/am335x".

However, trying to make uImage, I got error that arm-linux-gnueabihf-ar is not found.

I already : exported the tool-chain path, run "environment-setup".

I checked the folder : /opt/am335x/linux-devkit/sysroots/i686-arago-linux/usr/bin, but does not contain that file. In fact there are also other missing programs. The folder contains :

arm-linux-gnueabihf-as         arm-linux-gnueabihf-ld       pkg-config
arm-linux-gnueabihf-g++        arm-linux-gnueabihf-ld.bfd   qdbuscpp2xml
arm-linux-gnueabihf-gcc        arm-linux-gnueabihf-nm       qdbusxml2cpp
arm-linux-gnueabihf-gcc-4.7.3  arm-linux-gnueabihf-objdump  qdbusxml2cpp4
arm-linux-gnueabihf-gcc-nm     lupdate4                     qmake
arm-linux-gnueabihf-gcov       moc4                         uic3
arm-linux-gnueabihf-gprof      opkg-key                     uic4

Am I missing an installation step?

Thanks.

Ahmad

  • Hi,

    Did you verify the downloaded SDK installation .bin file with the provided MD5 checksum on the download page here?

    Another thing is that the /opt folder usually requires root privileges to write to. Did you run the installation with "sudo"?

    Can you try to install the SDK to a different folder, say $HOME?

    Best regards,
    Miroslav

  • There must be some thing goes wrong, I was also have same issue with DM365 case. By re-installation solved my issue. But first do verify check sum.

    best luck

  • md5sum

     ebd20acc19c887070410bd2c38dd039f  ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin (the file I installed)
     
     5212cf2777209628668226dc0001636c  ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install (TI site)
     2b033b521c9d1d40329478a3bce7bfd6  ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install (my another download)

    It looks they are different. Oh, long download again.

    When I ran the -ar file alone, ubuntu (12.04) suggested to do :

    sudo apt-get install gcc-arm-linux-gnueabihf

    When I installed, the kernel compile went ok. Did I miss up the environment?

    Thanks. Ahmad

  • You definitely have some download issues. I'd suggest you use a download manager (not the browser included) in order to be sure that the whole file is downloaded correctly.

    When you installed the gcc-arm-linux-gnueabihf toolchain using the apt package manager you corrected the problem with the missing toolchain files, but there may be other missing or corrupted files since your download didn't finish correctly. My suggestion is to download the SDK installer using a download manager, verify the file against the MD5 checksum and then install it to ensure the integrity of the whole SDK package.

    Best regards,
    Miroslav