Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 14:36:02 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Damjan Marion <damjan.marion@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: remote gdb
Message-ID:  <92565B06-07BA-4684-B463-8979AF6C24E1@xcllnt.net>
In-Reply-To: <0CF48E36-0611-4CB9-BAAD-F078CA063DB5@gmail.com>

index | next in thread | previous in thread | raw e-mail


On May 3, 2011, at 5:58 AM, Damjan Marion wrote:

> 
> Hi,
> 
> I would like to setup remote debugging session but seems that my serial console is not seen as a debug interface.
> 
> GDB: no debug ports present
> 
> and
> 
> db> gdb
> The remote GDB backend could not be selected.
> 
> I tried to pass hint.uart.0.flags="0x90" trough hints file but no luck.

Try:
	set hw.uart.dbgport="mm:0xf1012000"
or:
	set hw.uart.dbgport="mm:0xf1012100,br:115200"

depending on which UART you want to use. Note that for
UART1 I also specified the baudrate because it's less
likely that the second UART is properly initialized.

FYI,

-- 
Marcel Moolenaar
marcel@xcllnt.net




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92565B06-07BA-4684-B463-8979AF6C24E1>