--- Quote Start ---
What I meant was: In order for uCLinux to even detect the serial controller, I need to enable Altera UART in the menuconfig. From that I concluded that the driver was written specifically for the UART component available in the SOPC builder (due to the name "Altera"). That made it seem like it was written by the embedded linux community specifically for the Nios 2.
--- Quote End ---
Correct.
--- Quote Start ---
Since the "cat /dev/urandom /dev/ttyS0" command didn't make any data come out on the other side and since I know that the cat program uses the read() and write() system calls, I guessed that the issue may be due to the driver not having been written to support these system calls or some other setup work being necessary. Alternatively the driver could have simply been out of date.
--- Quote End ---
If the UART is not working, I suppose an error message should come with "open" and be displayed by "cp" on the error channel (the terminal)
--- Quote Start ---
So seeing that no data arrives at the PC and assuming that cat works and the receiving end works, there seems to be some problem regarding the way in which the RS232 controller is set up.
--- Quote End ---
AFAIK, the default setup of the driver when initiated is 19200,8,1, no parity. But maybe I'm wrong.
-Michael