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.

installing package on AM335x



hey folks,

Just like we extract a .tar.gz file ->./configure->make->make install on ubuntu. is it possible to do the same by placing the .tar file in the targetNFS folder and implementing the above steps to install an application in AM335x?

From where in the target NFS can i add a gcc compiler to the path to enable compiling of the package?

  • Hi,

    This isn't possible with the default file system that comes with the TI SDK. There is neither a native compiler included, nor a make build system. You can, however cross-compile the desired packages on your host PC for your target AM335x board.

    The cross-compiler toolchain included with the TI SDK is located inside <sdk_dir>/linux-devkit/sysroots/i686-arago-linux/usr/bin/

    Best regards,
    Miroslav

  • Hi Miroslav,

    I have extracted my ser2net fiolder in /home/root in my targetNFS folder.

    I went to that location and did export PATH=/opt/ti-sdk-am335x-evm/linux-devkit/sysroots/i686-arago-linux/usr/bin/:$PATH
    followed by - export ARCH=arm and export CROSS_COMPILE=/opt/ti-sdk-am335x-evm/linux-devkit/sysroots/i686-arago-linux/usr/bin//arm-linux-gnueabihf-gcc

    and ran sudo ./configure

    but after that happens there is a message in the configuration process saying - checking whether we are cross compiling... no


    Any ideas as to where i may have gone worng?

    Thanks!

  • Siddharth Sharma2 said:
    export CROSS_COMPILE=/opt/ti-sdk-am335x-evm/linux-devkit/sysroots/i686-arago-linux/usr/bin//arm-linux-gnueabihf-gcc

    The CROSS_COMPILE variable should end with just the prefix of the toolchain, not with "gcc". Please remove "gcc" from the end of the string.

    Please also check if there is a README or INSTALL file inside the ser2net package and if there is any information regarding cross compiling the package. Usually you will need to pass --host= and --target= arguments to the ./configure command.

    Best regards,
    Miroslav