linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Question about arm64 earlycon
@ 2016-10-23  7:26 Duc Dang
  2016-10-24 10:06 ` Arnd Bergmann
  0 siblings, 1 reply; 7+ messages in thread
From: Duc Dang @ 2016-10-23  7:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Catalin, Marc, Mark, Arnd,

I am testing with 3.12 kernel with earlyprintk enabled and I see some
garbage characters in the console log right before the message
indicating that the real console device is initialized:

<some garbage characters here>01c020000.serial: ttyS0 at MMIO
0x1c020000 (irq = 108, base_baud = 3125000) is a U6_16550A
console [ttyS0] enabled, bootconsole disabled

I looked through early_prink.c file and printk.c file and it looks
like there is case that some early boot code can touch the UART
hardware via ealy console driver while the 'real' console driver is
setting up the same UART port? Please let me know if I missed some
important piece of code that can prevent this.

Regards,
Duc Dang.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-24 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-23  7:26 Question about arm64 earlycon Duc Dang
2016-10-24 10:06 ` Arnd Bergmann
2016-10-24 10:17   ` Marc Zyngier
2016-10-24 11:09     ` Mark Rutland
2016-10-24 17:24       ` Duc Dang
2016-10-24 18:03         ` Mark Rutland
2016-10-24 17:29     ` Duc Dang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).