Re: [Openocd-development] [PATCH] AM/DM37x: add ES1.2 silicon type into account

2011-09-30 Thread Øyvind Harboe
Merged.

Thanks!



-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434
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] Move jim-nvp to openocd

2011-09-30 Thread Øyvind Harboe
Merged.

Thanks!


-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434
http://www.zylin.com/
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] Cache L1, L2 on armv7a.

2011-09-30 Thread Øyvind Harboe
Merged.

Thanks!



-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434
http://www.zylin.com/
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


[Openocd-development] imx28 target issues

2011-09-30 Thread Kenneth Johansson

I'm using an Olimex ARM-USB-TINY to connect to two different imx28 based
boards but have some issues. 

first this is the config used


interface ft2232
ft2232_device_desc Olimex OpenOCD JTAG TINY
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0004
set _CHIPNAME imx28
set _ENDIAN little
set _TARGETNAME $_CHIPNAME.cpu
adapter_khz 100

reset_config trst_and_srst separate trst_push_pull srst_open_drain
adapter_nsrst_delay 1000
adapter_nsrst_assert_width 1000

jtag newtap $_CHIPNAME cpu -irlen 4  -expected-id 0x079264F3
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position 
-

Now I'm not sure if this is the only jtag tap but the manual only
mention the id 0x079264F3 and when trying auto detect that is the only
one shown. The other imx target files that exist in OCD have more than
one TAP in the config files so I'm a bit concerned this is wrong. 

One thing that is not working very well is the halt command. if I do a
reset/reset init I can never do the halt it just times out. 

But if I do a jtag_init then I can do a halt. why is this ?? 

---
 reset
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. 
Type 'help dcc'.
NOTE! Severe performance degradation without working memory enabled.
NOTE! Severe performance degradation without fast memory access enabled. Type 
'help fast'.
 halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
 
 
 reset init 
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
timed out while waiting for target halted
TARGET: imx28.cpu - Not halted

in procedure 'reset'
 halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
 
 
 
 jtag_init
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
 halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x60d3 pc: 0xfffe0b00
MMU: disabled, D-Cache: disabled, I-Cache: disabled

---




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


Re: [Openocd-development] software breakpoint with multicore systems

2011-09-30 Thread Michel JAOUEN
Hello,
Here is a patch correcting this issue.

Best regards.





0001-breakpoint-smp-software-breakpoint-correction.patch
Description: 0001-breakpoint-smp-software-breakpoint-correction.patch
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


[Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Øyvind Harboe
FYI,

My first instinct is to move the mailing list wholesale to sourceforge.


-- Forwarded message --
From:  ad...@berlios.de
Date: 2011/9/30
Subject: BerliOS will be closed on 31.12.2011
To: ad...@berlios.de


Sehr geehrte BerliOS Entwickler und Anwender,

BerliOS wurde vor 10 Jahren als eines der ersten Repositories in
Europa gegründet.
Es wurde von Fraunhofer FOKUS entwickelt und gepflegt. Als ein
europäisches, nicht
proprietäres Projekt verfolgt BerliOS das Ziel, die verschiedenen
Open-Source-Akteure zu
unterstützen und eine neutrale Vermittlerfunktion zu bieten. 2011
wurden 4710 Projekte
auf BerliOS gehosted, mit 50.000 registrierten Nutzern und über 2,6
Millionen Dateien
Downloads jeden Monat. Wir sind stolz, dass wir mit BerliOS die Idee eines
OSS-Repository nach Europa gebracht haben. Mittlerweile hat sich das Konzept
durchgesetzt und es gibt zahlreiche gute Alternativen.

Leider hat ein Forschungsinstitut wie Fraunhofer FOKUS nur wenig Möglichkeiten,
langfristig ein Repository wie BerliOS zu betreiben. Ein solches
Projekt funktioniert nur,
wenn es gelingt, eine Anschlussfinanzierung zu finden, bzw. Sponsoren
oder Partner zu
gewinnen, die das Repository übernehmen. Das ist im OSS-Bereich ein schwieriges
Unterfangen. In einer kürzlich durchgeführten Umfrage haben wir zwar
Unterstützung an
Geldmitteln und Arbeitsleistung signalisiert bekommen, für die wir uns
bedanken. Leider
reicht das Ergebnis aber nicht aus, um das Projekt auf eine
nachhaltige finanzielle Basis
zu stellen. Auch die Suche nach Sponsoren oder Partnern war leider erfolglos.

Open Source wird bei Fraunhofer FOKUS als Paradigma für zukunftsweisenden
intelligenten IT-Einsatz verstanden. Es schmerzt uns deshalb um so
mehr, dass wir
gezwungen sind, den Betrieb von BerliOS zum 31.12.2011 einzustellen.

* Als Entwickler sollten Sie Ihre BerliOS Projekte in ein anderes
Repository exportieren.
Alternativen siehe
http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

* Auf unserer Website finden Sie einen Leitfaden, wie Sie Ihre
Projektdaten aus dem
Portal exportieren und in einer anderen Plattform überführen können, siehe
http://developer.berlios.de/docman/display_doc.php?docid=2055group_id=2

Fraunhofer FOKUS hat nach wie vor ein starkes Engagement für Open Source und
Interoperabilität, engagiert sich erfolgreich in zahlreichen
OSS-Projekten. Das Institut
konzentriert sich auf die Entwicklung von Qualitätsstandards für Open
Source Software
und dabei insbesondere auf die technische, semantische und organisatorische
Interoperabilität zwischen einzelnen Open Source Software Komponenten sowie
zwischen Open Source und Closed Source Software. Beispiel für unsere
OSS-Aktivitäten
ist unter anderem unsere Leitung des deutschen QualiPSo Competence Center.

Wir bedanken uns bei allen, die über die Jahre BerliOS genutzt haben.

Fraunhofer FOKUS
www.fokus.fraunhofer.de


Dear BerliOS developers and users,

BerliOS was founded 10 years ago as one of the first repositories in
Europe. It was
developed and maintained by Fraunhofer FOKUS. As an European, non-proprietary
project BerliOS pursued the goal to support the various open-source
players and provide
a neutral mediator function. In 2011 over 4710 projects have been
hosted on BerliOS,
with 50,000 registered users and over 2.6 million file downloads each
month. We are
proud that with BerliOS we have brought the idea of an OSS repository to Europe.
Meanwhile, the concept has prevailed and there are many good alternatives.

Unfortunately, as a research institute Fraunhofer FOKUS has only few
opportunities to
operate a repository like BerliOS. Such a project will only work with
a follow-up financing,
or with sponsors or partners taking over the repository. In the field
of OSS this is a
difficult undertaking. In a recent survey the community indicated some
support in funds
and manpower which we would like to thank you for. Unfortunately, the
result is not
enough to put the project on a sustainable financial basis. In
addition the search for
sponsors or partners was unsuccessful.

Open Source is understood by Fraunhofer FOKUS as a paradigm for future-oriented
intelligent use of IT. It hurts us all the more that we are forced to
discontinue the hosting
for BerliOS by 31.12.2011.

* As a developer, you should export your BerliOS project into another
repository.
Alternatives see
http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

* On our site you will find a guide on how to get your project data
out of the portal and
migrate it in a different platform, see
http://developer.berlios.de/docman/display_doc.php?docid=2056group_id=2

Fraunhofer FOKUS has a strong commitment to open source and
interoperability, and is
involved in numerous successful OSS projects. The institute focuses on
the development
of quality standards for open source software and in particular on the
technical, semantic
and organizational interoperability between open 

Re: [Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Spencer Oliver
I agree - I will look into it, website aswell.

Spen
On Sep 30, 2011 6:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote:
 FYI,

 My first instinct is to move the mailing list wholesale to sourceforge.


 -- Forwarded message --
 From: ad...@berlios.de
 Date: 2011/9/30
 Subject: BerliOS will be closed on 31.12.2011
 To: ad...@berlios.de


 Sehr geehrte BerliOS Entwickler und Anwender,

 BerliOS wurde vor 10 Jahren als eines der ersten Repositories in
 Europa gegründet.
 Es wurde von Fraunhofer FOKUS entwickelt und gepflegt. Als ein
 europäisches, nicht
 proprietäres Projekt verfolgt BerliOS das Ziel, die verschiedenen
 Open-Source-Akteure zu
 unterstützen und eine neutrale Vermittlerfunktion zu bieten. 2011
 wurden 4710 Projekte
 auf BerliOS gehosted, mit 50.000 registrierten Nutzern und über 2,6
 Millionen Dateien
 Downloads jeden Monat. Wir sind stolz, dass wir mit BerliOS die Idee eines
 OSS-Repository nach Europa gebracht haben. Mittlerweile hat sich das
Konzept
 durchgesetzt und es gibt zahlreiche gute Alternativen.

 Leider hat ein Forschungsinstitut wie Fraunhofer FOKUS nur wenig
Möglichkeiten,
 langfristig ein Repository wie BerliOS zu betreiben. Ein solches
 Projekt funktioniert nur,
 wenn es gelingt, eine Anschlussfinanzierung zu finden, bzw. Sponsoren
 oder Partner zu
 gewinnen, die das Repository übernehmen. Das ist im OSS-Bereich ein
schwieriges
 Unterfangen. In einer kürzlich durchgeführten Umfrage haben wir zwar
 Unterstützung an
 Geldmitteln und Arbeitsleistung signalisiert bekommen, für die wir uns
 bedanken. Leider
 reicht das Ergebnis aber nicht aus, um das Projekt auf eine
 nachhaltige finanzielle Basis
 zu stellen. Auch die Suche nach Sponsoren oder Partnern war leider
erfolglos.

 Open Source wird bei Fraunhofer FOKUS als Paradigma für zukunftsweisenden
 intelligenten IT-Einsatz verstanden. Es schmerzt uns deshalb um so
 mehr, dass wir
 gezwungen sind, den Betrieb von BerliOS zum 31.12.2011 einzustellen.

 * Als Entwickler sollten Sie Ihre BerliOS Projekte in ein anderes
 Repository exportieren.
 Alternativen siehe

http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

 * Auf unserer Website finden Sie einen Leitfaden, wie Sie Ihre
 Projektdaten aus dem
 Portal exportieren und in einer anderen Plattform überführen können, siehe
 http://developer.berlios.de/docman/display_doc.php?docid=2055group_id=2

 Fraunhofer FOKUS hat nach wie vor ein starkes Engagement für Open Source
und
 Interoperabilität, engagiert sich erfolgreich in zahlreichen
 OSS-Projekten. Das Institut
 konzentriert sich auf die Entwicklung von Qualitätsstandards für Open
 Source Software
 und dabei insbesondere auf die technische, semantische und
organisatorische
 Interoperabilität zwischen einzelnen Open Source Software Komponenten
sowie
 zwischen Open Source und Closed Source Software. Beispiel für unsere
 OSS-Aktivitäten
 ist unter anderem unsere Leitung des deutschen QualiPSo Competence Center.

 Wir bedanken uns bei allen, die über die Jahre BerliOS genutzt haben.

 Fraunhofer FOKUS
 www.fokus.fraunhofer.de


 Dear BerliOS developers and users,

 BerliOS was founded 10 years ago as one of the first repositories in
 Europe. It was
 developed and maintained by Fraunhofer FOKUS. As an European,
non-proprietary
 project BerliOS pursued the goal to support the various open-source
 players and provide
 a neutral mediator function. In 2011 over 4710 projects have been
 hosted on BerliOS,
 with 50,000 registered users and over 2.6 million file downloads each
 month. We are
 proud that with BerliOS we have brought the idea of an OSS repository to
Europe.
 Meanwhile, the concept has prevailed and there are many good alternatives.

 Unfortunately, as a research institute Fraunhofer FOKUS has only few
 opportunities to
 operate a repository like BerliOS. Such a project will only work with
 a follow-up financing,
 or with sponsors or partners taking over the repository. In the field
 of OSS this is a
 difficult undertaking. In a recent survey the community indicated some
 support in funds
 and manpower which we would like to thank you for. Unfortunately, the
 result is not
 enough to put the project on a sustainable financial basis. In
 addition the search for
 sponsors or partners was unsuccessful.

 Open Source is understood by Fraunhofer FOKUS as a paradigm for
future-oriented
 intelligent use of IT. It hurts us all the more that we are forced to
 discontinue the hosting
 for BerliOS by 31.12.2011.

 * As a developer, you should export your BerliOS project into another
 repository.
 Alternatives see

http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

 * On our site you will find a guide on how to get your project data
 out of the portal and
 migrate it in a different platform, see
 http://developer.berlios.de/docman/display_doc.php?docid=2056group_id=2

 Fraunhofer FOKUS has a strong commitment to open source and
 interoperability, and is
 

[Openocd-development] Typo in src/flash/nor/lpc2000.c

2011-09-30 Thread Akos Vandra
Hi!

Shouldn't the line in src/flash/nor/lpc2000.c:333 be LOG_ERROR(BUG:
unknown lpc2000_info-variant encountered); ?
I suspect copy pasting from the switch above it.

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


Re: [Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Tomek CEDRO
On Fri, Sep 30, 2011 at 5:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote:
 FYI,

 My first instinct is to move the mailing list wholesale to sourceforge.

sf.net if ok, i use it for some projects, urjtag use is as well. sad
that another open source project meets void.

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


Re: [Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Jim Larson
Any consideration of using github (github.com)? I've been pretty happy 
with them and they have a huge user base.


   -jim

On 9/30/2011 3:18 PM, Tomek CEDRO wrote:

On Fri, Sep 30, 2011 at 5:47 PM, Øyvind Harboeoyvind.har...@zylin.com  wrote:

FYI,

My first instinct is to move the mailing list wholesale to sourceforge.

sf.net if ok, i use it for some projects, urjtag use is as well. sad
that another open source project meets void.


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


[Openocd-development] [PATCH] Verdex: Add support for Gumstix Verdex boards.

2011-09-30 Thread Ash Charles
Gumstix Verdex is a PXA270-based series of computer-on-modules. This
configuration file is based off the voipac.cfg configuration with
a different flash memory configuration. This has been tested flyswatter
adapter to reflash a Gumstix Verdex XL6P board.
---
 tcl/board/verdex.cfg |   17 +
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 tcl/board/verdex.cfg

diff --git a/tcl/board/verdex.cfg b/tcl/board/verdex.cfg
new file mode 100644
index 000..6da9875
--- /dev/null
+++ b/tcl/board/verdex.cfg
@@ -0,0 +1,17 @@
+# Config for Gumstix Verdex XM4 and XL6P (PXA270)
+
+set CHIPNAME verdex
+source [find target/pxa270.cfg]
+
+# The board supports separate reset lines
+# Override this in the interface config for parallel dongles
+reset_config trst_and_srst separate
+
+# XM4 = 400MHz, XL6P = 600MHz...let's run at 0.1*400MHz=40MHz
+adapter_khz 4
+
+# flash bank driver base size chip_width bus_width
+# XL6P has 32 MB flash
+flash bank $_CHIPNAME.flash0 cfi 0x 0x0200 2 2 $_TARGETNAME
+# XM4 has 16 MB flash
+#flash bank $_CHIPNAME.flash0 cfi 0x 0x0100 2 2 $_TARGETNAME
-- 
1.7.4.1

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


Re: [Openocd-development] [PATCH] Verdex: Add support for Gumstix Verdex boards.

2011-09-30 Thread Ash Charles
Hello,

I'm new to openocd but have been using it with the gumstix verdex
product and wanted to share this capability with some other users who
have been asking for this.

I hope this is an acceptable way to submit a patch.  Please let me
know if any corrections/formatting are needed or if there are
additional sign-offs required.

Many thanks to all the developers working on this very useful piece of software.

-Ash
On Fri, Sep 30, 2011 at 4:17 PM, Ash Charles a...@gumstix.com wrote:
 Gumstix Verdex is a PXA270-based series of computer-on-modules. This
 configuration file is based off the voipac.cfg configuration with
 a different flash memory configuration. This has been tested flyswatter
 adapter to reflash a Gumstix Verdex XL6P board.
 ---
  tcl/board/verdex.cfg |   17 +
  1 files changed, 17 insertions(+), 0 deletions(-)
  create mode 100644 tcl/board/verdex.cfg

 diff --git a/tcl/board/verdex.cfg b/tcl/board/verdex.cfg
 new file mode 100644
 index 000..6da9875
 --- /dev/null
 +++ b/tcl/board/verdex.cfg
 @@ -0,0 +1,17 @@
 +# Config for Gumstix Verdex XM4 and XL6P (PXA270)
 +
 +set CHIPNAME verdex
 +source [find target/pxa270.cfg]
 +
 +# The board supports separate reset lines
 +# Override this in the interface config for parallel dongles
 +reset_config trst_and_srst separate
 +
 +# XM4 = 400MHz, XL6P = 600MHz...let's run at 0.1*400MHz=40MHz
 +adapter_khz 4
 +
 +# flash bank driver base size chip_width bus_width
 +# XL6P has 32 MB flash
 +flash bank $_CHIPNAME.flash0 cfi 0x 0x0200 2 2 $_TARGETNAME
 +# XM4 has 16 MB flash
 +#flash bank $_CHIPNAME.flash0 cfi 0x 0x0100 2 2 $_TARGETNAME
 --
 1.7.4.1


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


Re: [Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Øyvind Harboe
On Sat, Oct 1, 2011 at 12:45 AM, Jim Larson jlar...@pacifier.com wrote:
 Any consideration of using github (github.com)? I've been pretty happy with
 them and they have a huge user base.

I haven't used them. Would you mind explaining the major features of github
to the list?



-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434
http://www.zylin.com/
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] Fwd: BerliOS will be closed on 31.12.2011

2011-09-30 Thread Jim Larson
I'm hardly an expert on github, but some features include source code 
repository and version control (using git, as you might imagine), a wiki 
for documentation, issue tracking tools, and project management tools (I 
haven't used the last two). You can see what I did for my attempt at 
OpenOCD Flash memory driver documentation and tutorial here:

https://github.com/doctek/COOCDFlash/wiki

One thing lacking (and perhaps a deal-breaker) is a forum for the 
project. This would need to be hosted elsewhere.



On 9/30/2011 9:41 PM, Øyvind Harboe wrote:

On Sat, Oct 1, 2011 at 12:45 AM, Jim Larsonjlar...@pacifier.com  wrote:

Any consideration of using github (github.com)? I've been pretty happy with
them and they have a huge user base.

I haven't used them. Would you mind explaining the major features of github
to the list?




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