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.

Linux/PROCESSOR-SDK-AM57X: How to create and run helloworld code in AM5728 EVM board?

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: AM5728

Tool/software: Linux

Hai Sir,

I am using AM5728 EVM Board and Successfully installed SDK.

But I want run one 'C' code through serial terminal after login root. Because no compiler on the board how to install arm-linux-gnueabi- compiler into that board without using external CCS compiler other things.

On Board compiler and on board file to write and executing procedure through serial terminal.

Could you suggest any way to do.

Thanking you.

  • Hi,

    The easiest way to do that is crosscompile your application on your host pc, using the toolchain provided with Processor SDK Linux and then copy the compiled program on your board and execute it. This is what I'd recommend.

    Additionally the latest Processor SDK Linux has gcc installed in it. See the /usr/bin directory in your board. Note that you need to have the tisdk-rootfs-image-am57xx-evm filesystem installed on your EVM, not the tiny or base rootfs. However note that natively compiling source code on the EVM will be significantly slower than on the host PC.

    Best Regards,
    Yordan
  • Hi yordan,
    But i don't want to copy from system to board, On board only will write and compile c code is required.
    please give me the procedure individual u-boot running compiler installation required(System).
    I want to create separate u-boot.bin file and to create pleae provide which compiler i want to install any ELDK or any thing give me procedure.
    Thanking you,
    Regards,
    Ramachandra
  • So If I understand correctly, you'd like to build u-boot.bin natively on your target EVM and then run the compiled u-boot again from the EVM?
    If this is the case this is not supported. You could build the u-boot sources on the EVM using the installed gcc (the arm-linux-gnueabi- toolchain is present on the board), but this would be very slow, and from there on we do NOT support a booting procedure (with the natively build u-boot).

    Best Regards,
    Yordan
  • hi sir,
    1.Could you give me the reference websites for installation of arm-linux-gnueabi- IDE in ubuntu 14.04 system
    2.i want test camera with external contents like horizontal line or vertical extra lines in the monitor i want to add give me that procedure of code and how to run and execute that code.
    Regards,
    Ram
  • Hi,

    What do you mean arm-linux-gnueabi- IDE? If you develop C/C++ code you could use QT (or Eclipse) for your develpment, then create your makefiles and crosscompile your application using the Linaro toolchain provided with Processor SDK Linux. Here is the link to the Linux Software Developers Guide which explains how to install the Linux SDK:
    software-dl.ti.com/.../Overview_Getting_Started_Guide.html

    Regarding your second question we do not have such example code. You can check the Examples & Demos available in Processor SDK Linux here:
    software-dl.ti.com/.../Examples_and_Demos.html

    Best Regards,
    Yordan