how to direct prink output to uart in init/main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
appreciate your help,
miloody

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux