El Tue, Aug 18, 2009 at 05:19:37AM -0400 Robert P. J. Day ha dit:
> On Tue, 18 Aug 2009, Matthias Kaehlcke wrote:
>
> ... snip ...
>
> > some time ago i had a similar (the same?) problem, trying to debug
> > an ARM device using kgdb. in my case the problem was that the serial
> > port driver (AMBA PL010) lacked the poll_get_char() and
> > poll_put_char() operations, which seem to be necessary for debugging
> > over console.
> >
> > if you happen to use a device with AMBA PL010 try again after
> > applying the patch below. otherwise you might want to check if the
> > driver of your serial port implements the poll functions
> >
> > diff --git a/drivers/serial/amba-pl010.c b/drivers/serial/amba-pl010.c
> > index 58a4879..4b27537 100644
> > --- a/drivers/serial/amba-pl010.c
> > +++ b/drivers/serial/amba-pl010.c
> > @@ -308,6 +308,32 @@ static void pl010_break_ctl(struct uart_port *port,
> > int break_state)
> > spin_unlock_irqrestore(&uap->port.lock, flags);
>
> perhaps a dumb question, but where is that source file? it's not in
> the current linux git tree.
are you sure?
ma...@darwin:/data/devel/kernel/trees/linux-2.6$ git tag | tail -n 1
v2.6.31-rc6
ma...@darwin:/data/devel/kernel/trees/linux-2.6$ ls drivers/serial/amba-pl010.c
-rw-r--r-- 1 matze matze 19490 2009-06-22 11:45 drivers/serial/amba-pl010.c
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
La posibilidad de realizar un suenyo es lo
que hace que la vida sea interesante
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ