Redirect init output to serial console ttyS0 on Ubuntu Demo Image

Hello,

I need to change the init output messages from tty0 to ttyS0 on
BeagleBoard for debug purposes.
Ubuntu Server images and Ubuntu Headless images work that way by
default, anyone knows what config file I have to change?

Thanks,
Daniel

http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

Usually on the beagle, i'd do:

console=ttyO2,115200n8 console=tty0

So tweak your boot scripts...

Regards,

Robert,

Will this change the output for the X-Loader as well? (If I put the above changes into uEnv.txt)

How do you redirect all output (starting from power-on) from ttyO2 (RS232 port) to a monitor such as tty0?

Thanks,
Jake

Robert,

Will this change the output for the X-Loader as well? (If I put the above
changes into uEnv.txt)

NO.. "X-Loader/now U-boot SPL" on the beagle it's really small, it
knows serial, init's the ram, and loads u-boot off nand/sd card..

How do you redirect all output (starting from power-on) from ttyO2 (RS232
port) to a monitor such as tty0?

u-boot: first write a framebuffer driver.. :wink:

ignoring u-boot/spl/x-loader: in your boot args remove all
"console=ttyO2,115200" and just have "console=tty0"..

if you are one of those people that doesn't want to see anything on
serial.. patch/rebuild both u-boot/spl to either a: use a different
serial port, b: disable all serial printing..

Regards,

Thanks for your help.