* [U-Boot-Users] GDB support for ARM
@ 2004-06-01 7:23 Dirk Behme
2004-06-01 9:35 ` Robert Schwebel
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Behme @ 2004-06-01 7:23 UTC (permalink / raw)
To: u-boot
Hello,
using U-Boot at an ARM9 board, at the moment I download a image by tftp
into board's SDRAM and then start the image by 'g 0x1000000' (0x10000000
is the SDRAM base address).
Now, I wonder if it is possible to start the image under control of gdb.
As I understand it, there can run a small 'gdb-stub' on the target
which talks by serial line or by ethernet with the gdb on the
development host.
In common/kgdb.c there seems to be something like this small 'gdb-stub'?
Does it work for ARM? How can it be used?
Thanks in advance and sorry if this is a FAQ.
Regards
Dirk
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] GDB support for ARM
2004-06-01 7:23 [U-Boot-Users] GDB support for ARM Dirk Behme
@ 2004-06-01 9:35 ` Robert Schwebel
0 siblings, 0 replies; 3+ messages in thread
From: Robert Schwebel @ 2004-06-01 9:35 UTC (permalink / raw)
To: u-boot
On Tue, Jun 01, 2004 at 09:23:04AM +0200, Dirk Behme wrote:
> using U-Boot at an ARM9 board, at the moment I download a image by tftp
> into board's SDRAM and then start the image by 'g 0x1000000' (0x10000000
> is the SDRAM base address).
>
> Now, I wonder if it is possible to start the image under control of gdb.
> As I understand it, there can run a small 'gdb-stub' on the target
> which talks by serial line or by ethernet with the gdb on the
> development host.
>
> In common/kgdb.c there seems to be something like this small 'gdb-stub'?
> Does it work for ARM? How can it be used?
The code you are quoting suggests that it is for ppc. I personally would
not wast the time to try to make the serial kgdb stuff working - the
BDI2000 works fine with ARM9 cpus and you can use gdb with it as well.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstra?e 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] GDB support for ARM
@ 2004-06-01 12:40 Woodruff, Richard
0 siblings, 0 replies; 3+ messages in thread
From: Woodruff, Richard @ 2004-06-01 12:40 UTC (permalink / raw)
To: u-boot
Hi Dirk,
I looked into this a while back. The code necessary to make this work
for ARM is not present. I added about 1/2 of the code (perhaps more
than half) necessary to get it to work on the OMAP1510 and can send it
if you like. The missing bit has to do with handing exceptions
properly.
I added in a serial debug server which is used along with a
manufacturer's wireless tests. I attempted to input this code in a
somewhat parallel way to what GDB needed, in hopes that I could also
make the GDB stuff work.
Given how useful JTAG is and schedules I didn't end up working though
the exception code. It broken in several spots, some in its current use
of R8, some in its stacking for SWI mode, and in general its recovery
needs work.
Regards,
Richard W.
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-
> admin at lists.sourceforge.net] On Behalf Of Dirk Behme
> Sent: Tuesday, June 01, 2004 2:23 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] GDB support for ARM
>
> Hello,
>
> using U-Boot at an ARM9 board, at the moment I download a image by
tftp
> into board's SDRAM and then start the image by 'g 0x1000000'
(0x10000000
> is the SDRAM base address).
>
> Now, I wonder if it is possible to start the image under control of
gdb.
> As I understand it, there can run a small 'gdb-stub' on the target
> which talks by serial line or by ethernet with the gdb on the
> development host.
>
> In common/kgdb.c there seems to be something like this small
'gdb-stub'?
> Does it work for ARM? How can it be used?
>
> Thanks in advance and sorry if this is a FAQ.
>
> Regards
>
> Dirk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle
10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-01 12:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-01 7:23 [U-Boot-Users] GDB support for ARM Dirk Behme
2004-06-01 9:35 ` Robert Schwebel
-- strict thread matches above, loose matches on Subject: below --
2004-06-01 12:40 Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox