Interfacing ethernet and serial port examples in linux

Ayyappan Muthukrishnan
Hi I have mini2440 board. I dont know how to interface the ethernet and
serial port by C coding developed in linux. In the shipment CD i have
examples like Camera test, LED test, PWM test, Buzzer etc,.. and not for
ethernet and serial port interfacing. Please help me to get the source for
that.

Ayyappan Muthukrishnan
I bought the kit 2-3 years back.

Ayyappan Muthukrishnan
I have to read/write through ethernet and Serial port from Mini2440 to with
other embedded device other than PC.

Juergen
Google for "linux serial programming" and "linux network programming"

Ayyappan Muthukrishnan
Thanks Juergen, i got some ideas on referring that. But still I have some
doubts. Is the device file name for mini2440 serial port is same as generic
one ie) /dev/ttyS0? if it is something else where can I get that name? And
for ethernet interfacing as far i referred in the google they have not
invoked the device file name for ethernet port. Is it not needed to use the
device file name like /dev/eth0 ? And also I want to display the data read
from serial port/ ethernet in the touch display in a simple UI which can be
developed easily. What are the ways i can use for that and where can i get
the touch display driver? Please help me on this.

Juergen
> Is the device file name for mini2440 serial port is same as generic
> one ie) /dev/ttyS0?

No, it isn't. The S3C2440 SoC comes with different UART hardware, so the
kernel developers decided (long time ago) to give them a different device
node name: /dev/ttySAC*. But from the software point of view they behave in
the same way.

> Is it not needed to use the device file name like /dev/eth0 ?

Sure, it isn't needed.

> [...] a simple UI which can be developed easily.

Yes, possible. Many text based or graphical based frameworks do exist.

> [...] where can i get the touch display driver?

It is part of every recent Linux kernel (and should be part of the shipped
software as well).

Ayyappan Muthukrishnan
Thanks a lot Juergen. Can you please mention any text based or graphical
based frameworks meant for Linux OS to display the data read from serial
port/ethernet which can be deployed in mini2440 and where can i get them?

Thanks in advance!!

Ayyappan Muthukrishnan
Hi! Can anybody please help me to how to get the source of any simple
framework that can be developed easily and deployed in mini2440 for
displaying the data read from serial/ethernet port connected with other
embedded device?