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/TMDSICE3359: Doubts in Processor SDK Linux Setup Script

Part Number: TMDSICE3359

Tool/software: Linux

Hello,

I am trying to set up the Processor SDK linux in TMDSICE3359. Previously I was working in Processor SDK for AM335X , the main reason for moving into the Processor SDK Linux because of the dual MAC functionality in linux environment. Now I am following this link " processors.wiki.ti.com/.../Processor_SDK_Linux_Setup_Script" to setup the Linux SDK on ICE_V2_BOARD. Just a background about exactly I am doing so that it will easier to understand the use case. With one of the ethernet port we are running the EtherCAT functionality using acontis Ethercat Master and on another ethernet port  we will run the simple ethernet application to accept the TCP packets from the host PC (basically from Android application). There are few doubts which I am having in setting up the Processor SDK Linux.These doubts are simpler for those who already have setup this , but I am facing since it is my first time.

1. In the point 4. Configure your development environment in the above link the ethernet connection is shown in the diagram . What is the purpose of this ethernet connection is it really necessary?

In the setup.sh script in the uboot setup if I am choosing to put the kernel and file system in the sd card and not on tftp to build, then  I think ethernet connect won't be required?

2. In the linux processor SDK, where is the compiler is located to build the ARM applications on "TMDSICE3359" ? I mean to say the path of the compiler?

3. Last question is , can you please tell me the example ethernet application in Processor SDK Linux which I can use to send and receive the TCP packets? 

I will be very grateful if somebody can help me as soon as possible.

Thanks and Regards,

Mohit

  • Hi,

    Any reply please to resolve this.
  • Also, there is one more doubt which is arising while running the setup.sh script is that while running that script at the end it is configuring the minicom for which it is requiring the serial port which you want to use with mincom. I am using USB FTDI cable for serial connection between Linux PC and board connection. In Linux if I check the serial id for that connection by going to the path : /dev/serial/by-id it is showing this usb-FTDI_ICE-if01-port0.

    How to add this serial port in the minicom setup ?
  • Hi,

    Can anybody help me in this ?

    Thanks and Regards,
    Mohit
  • Hi,

    Please any response to this thread.

    Thanks and Regards,
    Mohit
  • Hello,

    also i am working with tdmsice3359 board,linux. did you solve your problem? I can answer that I know.

    1. In the point 4. Configure your development environment in the above link the ethernet connection is shown in the diagram . What is the purpose of this ethernet connection is it really necessary?

    => i think that configuration is for nfs filesystem and tftp boot and networking for ice2

    In the setup.sh script in the uboot setup if I am choosing to put the kernel and file system in the sd card and not on tftp to build, then I think ethernet connect won't be required?

    => yes.

    2. In the linux processor SDK, where is the compiler is located to build the ARM applications on "TMDSICE3359" ? I mean to say the path of the compiler?

    => there are the tool-chains in /ti-processor-sdk-linux-rt-am335x-evm-03.02.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
    It is very helpful to read the article

    processors.wiki.ti.com/.../Processor_SDK_Linux_Training:_Hands_on_with_the_Linux_SDK


    3. Last question is , can you please tell me the example ethernet application in Processor SDK Linux which I can use to send and receive the TCP packets?

    ==> In my case i am using /dev/ttyUSB1.

    Good Luck.
  • Hi Jaechul,

    Thanks very much for your reply.


    Thanks for all the answers.
     

    1. Actually my last question is that whether in Linux SDK do TI provide example of ethernet applications which I can use as the base to develop that application further for my ethernet applications requirement?

    2. Do you also know the procedure how we can run any project on Linux SDK using SD card ?

    Thanks for all the help.


    Please reply me soon.

  • Hi, Mohit

    1. Do you mean the tcp/ip socket programming?. i could not find any such a network program example in processor-linux-sdk. if you want socket programe example. there is a lot in internet.

    2. i have run my first simple app using SD card.

    I followed the user guide( processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script)

    I had compiled the simple program with cross-compiler in sdk. and then move the target file to targetNFS directory. the targetNFS is rootfs after run setup.sh

    and i made custom sd card procedure as i commented above.