Hi All,
We have a host PC which is generating some continuous string data. This system is x86 based.
Whatever the continuous data is being generated on the system1, has to transfer to EVM board. Both the systems are connected either through Ethernet or Wi-Fi in peer-to-peer connection. To transfer the data from system1 to system2 (EVM), we are using simple Client-Server communication C code (socket programming).
Server code is already written at system1 side to send generated data. We have a simple Linux Client code which we want to put on EVM to establish the connection. Sample client code is written for x86 platform. We need to deploy the same on EVM board to establish the connection and exchanging of data.
Please see the link for client code that we want to deploy on EVM board: http://www.thegeekstuff.com/2011/12/c-socket-programming/
The board is ARM based we need to compile and build the same client code for ARM architecture either by using CCS or through command line. We have booted the board with Linux provided within SD card.
My queries are:
- How to compile sample Linux Client C code so that I can put the same on EVM to establish a connection between system1 and system2?
- After building arm-elf executable, would I able to deploy the same on EVM directly, which is running on Linux OS?
- Is there any additional drivers/packages needed while deploying the code on EVM (Running with Linux)?
- Are all the required headers and API readily available with the Linux OS which is on board?
Please provide me the above information. Thanks in advance.
Regards,
Nitin