Re: [Openocd-development] cortex_a :smp feature

2011-05-09 Thread Michel JAOUEN
Hello,
Here is openocd.texi patch for SMP.

Best Regards

-Original Message-
From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] 
Sent: Tuesday, April 19, 2011 11:42 AM
To: Michel JAOUEN
Cc: Tomek CEDRO; luca ellero; openocd-development@lists.berlios.de
Subject: Re: [Openocd-development] cortex_a :smp feature

Could you create a patch to openocd.texi?

type make pdf = generates doc/openocd.pdf

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer


0001-cortex-a-smp-doc-update.patch
Description: 0001-cortex-a-smp-doc-update.patch
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-05-09 Thread Øyvind Harboe
Merged.

Thanks!


Had to fix a minor typo(@exampleune = should be @example).


-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-28 Thread Øyvind Harboe
Merged.

Thanks!

I got some more off list test results so thanks to everybody who tested!

If you could find some time to provide a patch for openocd.texi to document
this, then I believe you'd find it to be a good investment. More people would
try it and it is more likely that more work and maintenance will be done it,
which you should benefit from.

Thanks for the good work!

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-20 Thread luca ellero

On 19/04/2011 10.11, Øyvind Harboe wrote:

Hi Michel,

thanks for the effort here!

Could you write some documentation?

I'd like to let these patches cool off and leave some time for feedback.



Looks a good patch to me. Bringing SMP support on OpenOCD is very good!
Unfortunately at the moment I haven't the hardware at hand for testing.
Regards
Luca Ellero

___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-20 Thread Øyvind Harboe
 Looks a good patch to me. Bringing SMP support on OpenOCD is very good!
 Unfortunately at the moment I haven't the hardware at hand for testing.

Thanks for the feedback!

What about the danger of regressions or effects on non-SMP
debugging?

(I haven't analyzed the patch much yet.)

Seeing that easter is coming up, I'll leave this patch to cool off
for a while longer.

Any further documentation (patch to openocd.texi would
have been *great*) and testing would be most welcome!




-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-20 Thread luca ellero

On 20/04/2011 9.39, Øyvind Harboe wrote:

Looks a good patch to me. Bringing SMP support on OpenOCD is very good!
Unfortunately at the moment I haven't the hardware at hand for testing.


Thanks for the feedback!

What about the danger of regressions or effects on non-SMP
debugging?

(I haven't analyzed the patch much yet.)

Seeing that easter is coming up, I'll leave this patch to cool off
for a while longer.

Any further documentation (patch to openocd.texi would
have been *great*) and testing would be most welcome!



I haven't tested it yet. Anyway I plan to test it in the next days, I 
hope even on Panda which do have SMP. As you correctly said, let us 
leave this patch to cool off a bit.

It's Easter and all of us are a bit more relaxed ;-)
regards
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-20 Thread Michel JAOUEN
Hello, 
I have a panda board. So I can do the test.
In file, omap4430.cfg , only one cortex_a8 is defined. 
What is the dbg_base of the second one?
Best regards

-Original Message-
From: openocd-development-boun...@lists.berlios.de 
[mailto:openocd-development-boun...@lists.berlios.de] On Behalf Of luca ellero
Sent: Wednesday, April 20, 2011 10:10 AM
To: Øyvind Harboe
Cc: openocd-development@lists.berlios.de
Subject: Re: [Openocd-development] cortex_a :smp feature

On 20/04/2011 9.39, Øyvind Harboe wrote:
 Looks a good patch to me. Bringing SMP support on OpenOCD is very good!
 Unfortunately at the moment I haven't the hardware at hand for testing.

 Thanks for the feedback!

 What about the danger of regressions or effects on non-SMP
 debugging?

 (I haven't analyzed the patch much yet.)

 Seeing that easter is coming up, I'll leave this patch to cool off
 for a while longer.

 Any further documentation (patch to openocd.texi would
 have been *great*) and testing would be most welcome!


I haven't tested it yet. Anyway I plan to test it in the next days, I 
hope even on Panda which do have SMP. As you correctly said, let us 
leave this patch to cool off a bit.
It's Easter and all of us are a bit more relaxed ;-)
regards
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-20 Thread luca ellero

On 20/04/2011 14.35, Michel JAOUEN wrote:

Hello,
I have a panda board. So I can do the test.
In file, omap4430.cfg , only one cortex_a8 is defined.
What is the dbg_base of the second one?
Best regards



Hi Michel,
if you check omap4430.cfg you can find the following info:




# APB DBGBASE reads 0x8004, but this points to an empty ROM table.
# 0x8000 is cpu0 coresight region
#
#
# CORTEX_A8_PADDRDBG_CPU_SHIFT 13
# 0x8000 | (coreid  CORTEX_A8_PADDRDBG_CPU_SHIFT)

set _coreid 0
set _dbgbase [expr 0x8000 | ($_coreid  13)]
echo Using dbgbase = [format 0x%x $_dbgbase]




In simple words:
- 1st core dbg base is 0x8000 | (013) = 0x8000
- 2nd core dbg base is 0x8000 | (113) = 0x80002000


regards
Luca
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-19 Thread Øyvind Harboe
Hi Michel,

thanks for the effort here!

Could you write some documentation?

I'd like to let these patches cool off and leave some time for feedback.

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-19 Thread Øyvind Harboe
Could you create a patch to openocd.texi?

type make pdf = generates doc/openocd.pdf

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] cortex_a :smp feature

2011-04-13 Thread Tomek CEDRO
Hello Michael!

Awsome work and it extends functionality without destroying old ones!
I really enjoy OpenOCD day by day :-) Maybe it would be more
convenient to be able to set bp/wp for each core/target, but this is
minor issue :-)

Best regards! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development