|To:||Conrad Parker <firstname.lastname@example.org>|
|Subject:||Re: question concerning serial console setup|
|From:||Jeff Harrell <email@example.com>|
|Date:||Sun, 16 Jan 2000 20:41:38 -0700|
Conrad Parker wrote:
On Wed, Dec 29, 1999 at 12:23:07PM -0700, Jeff Harrell wrote:Hmmm....strange I tried to use console_setup in the same way that setup.c called
it in ../arch/mips/sgi/kernel/setup.c and ran into linker problems. It looks like
setup_console is defined statically (sp?) in printk.c.
Here is how it is called in setup.c:
#if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE)
static int __init console_setup(char *str)I guess I am seeing the error that I would expect to see, i.e., the linker gives me an
undefined reference. Any ideas how this worked in the sgi code?
Unfortunately I am working on an embedded platform, only using this code
as a starting point for our design. If possible I would like to initialize the
console w/o the use of command line parameters.
Any insight that you can provide would be greatly appreciated.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Harrell Work: (801) 619-6104 Broadband Access group/TI firstname.lastname@example.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: kernel sources?, Geert Uytterhoeven|
|Next by Date:||Re: question concerning serial console setup, Ralf Baechle|
|Previous by Thread:||linux on vw540 with 1.0006 PROM, Andy Isaacson|
|Next by Thread:||Re: question concerning serial console setup, Ralf Baechle|
|Indexes:||[Date] [Thread] [Top] [All Lists]|