Hi, all,
But the function init_cpus is called before the three functions: w83627hf_enable_serial(SERIAL_DEV, TTYS0_BASE); uart_init(); console_init(); The trace is sent out from the init_cpus.
Best Regards
丰立波 Feng Libo @ AMD Ext: 20906 Mobile Phone: 13683249071 Office Phone: 0086-010-62801406
-----Original Message----- From: Marc Jones [mailto:marc.jones@amd.com] Sent: Friday, November 30, 2007 12:47 AM To: Feng, Libo Cc: linuxbios Subject: Re: [LinuxBIOS] Interesting.
Feng, Libo wrote:
Hi, all,
In our board, we found the trace is sent out: "Issuing SOFT_RESET…" from the function init_cpus in the file init_cpus.c. But when the function runs, the serial port is still far to be initialized, how dose the trace is sent out?
Best Regards
丰立波 Feng Libo @ AMD Ext: 20906 Mobile Phone: 13683249071 Office Phone: 0086-010-62801406
Each mainboard usually has an early uart setup located in auto.c or cache_as_ram_auto.c.
For example the Serengeti-Cheetah has the following lines.
w83627hf_enable_serial(SERIAL_DEV, TTYS0_BASE); uart_init(); console_init();
Marc
-- Marc Jones Senior Firmware Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com http://www.amd.com/embeddedprocessors