Not able to get log messages from serial port on Mini6410

Kanth
I could able to boot linux along with qt on Mini6410. My A70 LCD screen is
showing all applications in GUI . But when I connect COM port to my PC, in
minicom I couldn't able to see any messages.
I am using Ubuntu 13.04 version. Can anybody help on this issue please??

davef
How have you configured minicom?

kanth
Yes I configured it as

ttySAC0
115200
8, N, N

davef
Is there a /dev/ttySAC0 node entry?

Also, I think that should be 8, 1, N

davef
And which cable are you using to plug into the DB9 connector on the
mini6410 and how it is plugged into your computer?  DB9 or USB?

Kanth
The output of ls /dev is not showing ttySAC0 node. But in minicom, I
configured serial port as ttySAC0. (Don't know how to create the ttySAC0
node in /dev)

Yes. it is 8, 1, N

It is DB9 at both the ends. It was shipped along with the board.

davef
Which Linux distro are you running on the mini6410?  As supplied by
FriendlyArm?  I am surprised that /dev/ttySAC0 is not enabled.

Try searching /dev/ttySAC0  There was something this last month and I am
sure there will be lots of old threads.

Juergen
Hi Kanth,

you are running a Linux system at both sides. So you must care where which
device node must exist. The ttySAC0 is the serial device node at the target
side. At your host I guess it is ttyS0 (or similar).

Do you see any output from your Mini6410 at your host's minicom when the
Mini6410 runs its bootloader (prior booting the kernel)?

Kanth
@Dave: 

I am using the distro supplied by FriendlyARM. I followed the procedure
explained in the thread http://www.friendlyarm.net/forum/topic/2385. 

If /dev/ttySAC0 is serial device node at the target side, then it is
enabled. I could able to see all application icons on my LCD A70 screen.
But I am not getting log messages at my host PC's minicom terminal.

@Juergen: 

I tried ttyS0, ttyS1, ttyS2. But I couldn't able to see any output at the
host's minicom, even prior to booting as well as after booting

davef
Maybe try another cable.  Be aware that the RS232 cable is wired
differently for the mini240 and the mini6410.  Maybe you were sent the
wrong cable.

Is there some way of doing a loop-back test on the host to see if your
host's minicom is working.

davef
Make that mini2440.
http://www.linuxquestions.org/questions/linux-hardware-18/serial-loop-ba...

kanth
Hi Dave,

my intention is to learn linux device drivers on Mini6410. So is there a
way to see log messages on my PC's console such as through USB. Also, can
you provide me any link which explains how to build and flash the latest
linux kernel on to Mini6410?

Thanks

davef
If you want to look at log messages they are generally files in /sys/log,
ie sys/log/messages that you can look at from the command line ... on the
target.

Google <linux cat command>  or by using an editor program.

You really want to get your serial comms working as your bootup messages
are VERY useful.  There must be a way to pipe these to a text file, which
you could then look with a text editor.

You could run SSH on the target and observe what is happen via the ethernet
connection.

As far as I am aware both the mini2440 and mini6410 are NOT maintained in
the mainline kernel.

I have been using the Pengutronix mini2440 BSP for the several years. 
There is a BSP for the mini6410.

There are lots of tutorials on youtube and googlecode.

Good luck!