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.

PROCESSOR-SDK-AM335X: Linux application examples

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: TMDSICE3359

Hi,

I am currently working on developing AM335X application on TI  Linux Processor SDK using the Ethernet TCP/IP functionality.

Can anybody help me in guiding the sample ethernet example project on this SDK which I'm can use it as a Base ?

Awaiting for your response.

Regards,

Mohit

  • The software team have been notified. They will respond here.
  • Thanks very much.

    Waiting for the response from Software team. Hope they will reply soon.
  • Hi Mohit,

    We do not provide linux ethernet examples. However, the following wikis may be of use:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Ethernet_Interface
    processors.wiki.ti.com/.../Sitara_Linux_Dual_Emac_Mode
    processors.wiki.ti.com/.../Linux_Core_CPSW_User's_Guide

    Also see the following guides for writing ethernet apis in linux:
    aschauf.landshut.org/.../ch01.html
    www.tldp.org/.../Ethernet-HOWTO.html

    Best Regards,
    Yordan
  • Hi Yordan,

    I want to discuss a little bit of background in what I am trying to achieve in developing this ethernet application. I have few doubts in this :

    I have 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 points that I want your answer on. I am hoping that they are easier points for you , while they are doubts for me.

    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. Also, while building the Linux kernel in SDK , I have disabled the option of TI CPSW ALE Support build for EtherCAT application using the make menuconfig option. It looks like by disabling this option it would affect the ethernet communication ? Is that correct or wrong ? Please throw some light on this ?

    3. Also for building the EcMasterdemo, we need to build the atemsys.ko library using the ARCH and exporting this variable by command : export ARCH=armv6-vfp-eabihf .

    I have tried to include the ARCH = armv6-vfp-eabihf, but the Makefile in atemsys.ko looks for the path /arch/armv6-vfp-eabihf/Makefile , but this doesn't exist in the Linux kernel path which is this : /opt/ti-processor-sdk-linux-am335x-evm-03.02.00.05/board-support/linux-4.4.32+gitAUTOINC+adde2ca9f8-gadde2ca9f8. Although the path /arch/arm/Makefile exists and some other TI experts have already build this application using this architecture as known from this forum but they are not Linux SDk expert. Can you please help how this ARCH = armv6-vfp-eabihf, to be used to build the atemsys.ko library.

    4. Last doubt , how can I run the application using SD Card on Linux Processor SDK. Can I find these steps in TI wiki. I am not able to find it till now.

    Thanks Yordan for all the help. I am newbie in TI Linux environment so I need your valuable assistance to get pass it.

    Please help me soon.

    Regards,
    Mohit
  • Hi Yordan,

    Can you please help me in resolving these queries.

    You can skip answering query no. 1. I havebeen able to resolve it .

    Please help me others. Thanks for your time.

    Regards,
    Mohit
  • Hi,

    Any answer to the queries.