[uClinux-dev] why uclinux run printk,
but was not send data to my serial port?
Gavin Lambert
gavinl at compacsort.com
Mon Jun 2 18:33:07 EDT 2008
Quoth chengbobo:
> But when running uClinux the serial port has no data, so I step
> into function start_kernel(), and step in printk(linux_banner).
> I found after function printk(), there is no data output my
> serial port.
> I known there is some problem in this function, but Why?
printk output is buffered, so you usually won't see output immediately after
the call. During bootup no output will display at all until the console
driver loads.
I don't know about the lpc2294 board, whether the options you selected are
for the correct drivers or not. So you should probably look into whether
you've selected the correct driver, and what the default baud rate and bit
pattern is. Maybe it doesn't agree with your terminal program.
More information about the uClinux-dev
mailing list