How logs will come to UART serial console?
Haojian Zhuang
haojian.zhuang at gmail.com
Tue May 17 11:09:19 EDT 2011
On Tue, May 17, 2011 at 3:52 PM, sandeep kumar
<coolsandyforyou at gmail.com> wrote:
> Hi ,
> Here is my question.
> when we put 'printk's in kernel code the logs will go to the log_buffer.(i
> observed that from implementation)
> But when UART is enabled(in the bootloader), the same printk logs are going
> to the serial console.
> As per my study printk doesnot implementing anything that writes to the UART
> console.
>
> Now here are my questions,
> how this is being achieved? Where this is implemented?(which file)
>
console_unlock() in kernel/printk.c
> Where wil be the parsing of the cmdline string sent from the bootloader is
> done?
>
>
> Thanking you,
> sandeep kumar.
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
More information about the Kernelnewbies
mailing list