Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread David Brownell
On Friday 28 August 2009, Magnus Lundin wrote: > The really important thing now is  that there are several  people > working on and testing these things. Yep; I did a sanity check on one 3430 board and it was already improved over what I first saw! __

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Sorry for double responses but it is getting late and my brain is going to sleep on its own. > Holger Freyther wrote: > > I sincerely disagree here. These bits directly come out of the Cortex A8 > Technical Reference Manual and not following them is not making things fast > but it makes them

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Holger Freyther wrote: > On Friday 28 August 2009 19:28:50 Magnus Lundin wrote: > > >> The usual way for OpenOCD targets to check if a PROCESSOR_HALTED flag >> has been set is not to do it in the halt command but rather in the poll >> command. >> This in general improves performance when using l

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Holger Freyther
On Friday 28 August 2009 19:28:50 Magnus Lundin wrote: > The usual way for OpenOCD targets to check if a PROCESSOR_HALTED flag > has been set is not to do it in the halt command but rather in the poll > command. > This in general improves performance when using long roundtrip > interfaces like USB

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Holger Freyther wrote: > Hey, > > today Matt Hsu and me sat together to look into why OpenOCD does not work on > the beagle board. We have found and fixed some issues with the code, it > should > make it more robust and we have fixed the root cause for us. > > cortex_a8_dap_read_coreregister_u32

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-27 Thread Magnus Lundin
Holger Freyther wrote: > On Thursday 27 August 2009 16:43:34 Dirk Behme wrote: > >> Holger Freyther wrote: >> > > >>> Okay, turns out that I'm not able to omap3_dbginit scan once the linux >>> kernel is running and when linux is starts the "poll" will start to fail. >>> Does this sound f

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-27 Thread Holger Freyther
On Thursday 27 August 2009 16:43:34 Dirk Behme wrote: > Holger Freyther wrote: > > Okay, turns out that I'm not able to omap3_dbginit scan once the linux > > kernel is running and when linux is starts the "poll" will start to fail. > > Does this sound familiar? Do you guys have any ideas? > > Hmm,

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-27 Thread Dirk Behme
Holger Freyther wrote: > On Thursday 27 August 2009 07:04:22 Dirk Behme wrote: >> Holger Freyther wrote: >>> Hey, >>> >>> today Matt Hsu and me sat together to look into why OpenOCD does not work >>> on the beagle board. We have found and fixed some issues with the code, >>> it should make it more

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-27 Thread Dirk Behme
Holger Freyther wrote: > On Thursday 27 August 2009 07:04:22 you wrote: >> Holger Freyther wrote: >>> Hey, >>> >>> today Matt Hsu and me sat together to look into why OpenOCD does not work >>> on the beagle board. We have found and fixed some issues with the code, >>> it should make it more robust

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-27 Thread Holger Freyther
On Thursday 27 August 2009 07:04:22 Dirk Behme wrote: > Holger Freyther wrote: > > Hey, > > > > today Matt Hsu and me sat together to look into why OpenOCD does not work > > on the beagle board. We have found and fixed some issues with the code, > > it should make it more robust and we have fixed t

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Holger Freyther
On Thursday 27 August 2009 07:04:22 you wrote: > Holger Freyther wrote: > > Hey, > > > > today Matt Hsu and me sat together to look into why OpenOCD does not work > > on the beagle board. We have found and fixed some issues with the code, > > it should make it more robust and we have fixed the root

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Dirk Behme
Holger Freyther wrote: > Hey, > > today Matt Hsu and me sat together to look into why OpenOCD does not work on > the beagle board. We have found and fixed some issues with the code, it > should > make it more robust and we have fixed the root cause for us. > > cortex_a8_dap_read_coreregister_u

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Dirk Behme
David Brownell wrote: > On Wednesday 26 August 2009, Holger Freyther wrote: >> today Matt Hsu and me sat together to look into why OpenOCD does not work on >> the beagle board. We have found and fixed some issues with the code, it >> should >> make it more robust and we have fixed the root cause

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread David Brownell
On Wednesday 26 August 2009, Holger Freyther wrote: > today Matt Hsu and me sat together to look into why OpenOCD does not work on > the beagle board. We have found and fixed some issues with the code, it > should > make it more robust and we have fixed the root cause for us. Cool! Could you m

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Øyvind Harboe
Great work! I'll commit it sooner rather than later if I don't hear any protests. (I'm not following the Cortex A8 development or testing anything, I just try to commit things readily to keep the Cortex A8 development moving forward) -- Øyvind Harboe Embedded software and hardware consulting se

[Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-26 Thread Holger Freyther
Hey, today Matt Hsu and me sat together to look into why OpenOCD does not work on the beagle board. We have found and fixed some issues with the code, it should make it more robust and we have fixed the root cause for us. cortex_a8_dap_read_coreregister_u32 only returned 0x0 for the registers,