[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070405155751.5C30ACD005F@mail79-sin.bigfish.com>
Date: Thu, 5 Apr 2007 08:57:49 -0700
From: "Tom Strader" <tom.strader@...inx.com>
To: "young dave" <hidave.darkstar@...il.com>
Cc: <linux-kernel@...r.kernel.org>
Subject: RE: Warning: unable to open an initial console.
The problem appears to be that the uart driver is not assigning the
port. In uart_get() located in drivers/serial/serial_core.c the code
tries to access state->port but it does not appear to exist. Where is
the port supposed to get added/setup? Should this happen in the driver
init or does the kernel add the ports to the driver after init?
Uart_get knows the correct driver name drv->driver_name = "PXA serial"
and drv->dev_name = "ttyS", but the drv->state->port does not exist.
Where should the port be added? The port info exists in
drivers/serial/pxa.c but I cant find where its initialized. Any help
would be great.
Thanks,
Tom
-----Original Message-----
From: young dave [mailto:hidave.darkstar@...il.com]
Sent: Tuesday, April 03, 2007 6:54 PM
To: Tom Strader
Cc: linux-kernel@...r.kernel.org
Subject: Re: Warning: unable to open an initial console.
Hi;
The errno "-6" is defined as:
#define ENXIO 6 /* No such device or address*/
You can try to retrieve the rootfs and add the necessary device file
to it, then reflash the rootfs.
I'm Sorry, I have no embedded environment to test.
Regards
dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists