Problems with output to console
steven.scholz at imc-berlin.de
Sat Dec 10 10:41:20 UTC 2005
I have two different ARM based boards (different CPUs, both Linux
2.6.14) running BusyBox v1.00.
I want a little application (started by a script that is started by
inittab) to output stuff using printf() on my serial console.
int main (void)
printf("Hello World (printf)!\n");
My /etc/inittab has
On one board I see the output. This one has /dev/ttySMX0 (204,41) as
serial console. On the other board I do _not_ see the output. This has
/dev/ttyS0 (4,64) as serial console.
When I start foobar directly in inittab it works on both.
When I create a link "ln -s /dev/ttySMX0 /dev/ttyS0" on the first board,
then I cant see the output there anymore.
Could someone please explain to me what's going on here.
More information about the busybox