[Openocd-development] [PATCH 5/5] Add EfikaMX smarttop board support

2010-10-30 Thread Marek Vasut
This patch finally adds support for i.MX51 based Genesi USA EfikaMX smarttop board. Signed-off-by: Marek Vasut --- tcl/board/efikamx.cfg |9 + 1 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 tcl/board/efikamx.cfg diff --git a/tcl/board/efikamx.cfg b/tcl/board/ef

[Openocd-development] [PATCH 4/5] CortexA8: Introduce Freescale i.MX51 variant

2010-10-30 Thread Marek Vasut
This patch introduces support for Cortex A8 based Freescale i.MX51 CPU. This CPU has the Debug Access Port located at a different address (0x60008000) than TI OMAP3 series of CPUs. i.MX51 configuration file based on OMAP3 configuration file and an email from Alan Carvalho de Assis . Signed-off-by

[Openocd-development] [PATCH 3/5] CortexA8: Implement debug base autodetection

2010-10-30 Thread Marek Vasut
Implement autodetection of debug base. Also, implement a function solving various hardware quirks (like iMX51 ROM Table location bug). Signed-off-by: Marek Vasut --- src/target/cortex_a8.c | 28 +--- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/ta

[Openocd-development] [PATCH 2/5] ADIv5: Implement function to lookup CoreSight component

2010-10-30 Thread Marek Vasut
This patch implements "dap_lookup_cs_component()", which allows to lookup CS component by it's identification. Signed-off-by: Marek Vasut --- src/target/arm_adi_v5.c | 31 +++ src/target/arm_adi_v5.h |4 2 files changed, 35 insertions(+), 0 deletions(-) di

[Openocd-development] [PATCH 1/5] ADIv5: Introduce function to detect ROM Table location

2010-10-30 Thread Marek Vasut
This patch adds function called "dap_detect_debug_base()", which should be called to get location of the ROM Table. By walking ROM Table, it's possible to discover the location of DAP. Sadly, some CPUs misreport this value, therefore I had to introduce an fixup function, which will be called in ca

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-30 Thread Marek Vasut
On Saturday 30 October 2010 07:24:08 Marek Vasut wrote: > On Friday 29 October 2010 09:37:36 Øyvind Harboe wrote: > > > Oyvind sorry, I just can't find it ... could you tell me where it is > > > please ? > > > > Start here: > > > > https://lists.berlios.de/pipermail/openocd-development/2010-Septe

Re: [Openocd-development] STM32 core debug reset problem

2010-10-30 Thread Chris Jones
On 30/10/2010 00:15, Andreas Fritiofson wrote: > On Fri, Oct 29, 2010 at 8:58 PM, Chris Jones wrote: >> But there's a way of breaking it semi-permanently. The application on the >> STM32 is one which spends most of its time with the CPU in Stop mode, waking >> up periodically (about every 12ms) vi