loody wrote: > Dear all: > I try to porting linux on my platform and I can successfully jump to > start_kernel in init/main.c right now. > But I want to use uart as my printk target such that I can debug by > uart output messages. > I have surveyed kernel/printk.c and it seems vprintk finally print the > message to log_buf instead of some device. > > Would someone please tell me where I can find the interface such that > the debug message can be transfered to my uart? I think you will need to write a small uart handling routine from scratch (if this is new arch) in order to send the chars to the serial line. HTH, HK -- Hinko Kočevar, OSS developer ČETRTA POT, d.o.o. Planina 3, 4000 Kranj, SI EU tel ++386 (0) 4 280 66 03 e-mail hinko.kocevar@xxxxxxxxxxxx http www.cetrtapot.si -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ