Early serial console in linux 2/6/x

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

 



Hi,
I am having a hard time to go through the code of linux kernel and understands how very early console messages can be sent to the serial console in 2.6 (I am using an arch/ppc mpc8260 system using u-boot as a bootloader). Before the serial device driver is installed, my guess is that messages are sent to serial console over a low level driver using polling mode.
For example if one considers the following piece of code:

static void __init
47 m8260_setup_arch(void)
48 {
49         /* Print out Vendor and Machine info. */
50 printk(KERN_INFO "%s %s port\n", CPUINFO_VENDOR, CPUINFO_MACHINE);

That printk is used way before the serial driver is installed. I don't understand how this can be sent over the console. There is a low level driver in arch/ppc/boot/simple, but it is not used in vmlinux.

Is that now part of the new  2.6 serial driver?
Thanks a lot
-jf simon

	

	
		
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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