Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-17 Thread Øyvind Harboe
Take #2 using MCR macro -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118 http://www.zylin.com/events_embeddedworld.html US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugge

Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-17 Thread Øyvind Harboe
Does it work? I've tried to clean up the patch a bit(I can't test this version, so you would have to do that...). If that nicer "execute any instruction" approach pans out then this patch can be simplified... -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 -

Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-17 Thread Marc Pignat
same patch rebased as requested! 0001-step1.patch is Øyvind Harboe's patch rebased 0002-atm920t-cleanup-data-cache-handling.patch my patch for data cache support From 06c2935ba15ae54d33612315ce3cbef3a2481c92 Mon Sep 17 00:00:00 2001 From: Marc Pignat Date: Tue, 16 Feb 2010 10:08:18 +0100 Subject

Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-16 Thread David Brownell
On Tuesday 16 February 2010, Marc Pignat wrote: > Here is a first version of the patch, it needs cleanup, but I wish to have > your > comments before doing more work. I'll hold off on further patch review until I get a response from you to my previous comments, and a confirmation about specifical

Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-16 Thread David Brownell
On Tuesday 16 February 2010, Marc Pignat wrote: > Here is a first version of the patch, it needs cleanup, but I wish to have > your > comments before doing more work. I'd still like to see the MCR() and MRC() macros used to construct the opcodes, instead of using magic numbers and leaving opcode

Re: [Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-16 Thread Øyvind Harboe
Does it work? I can't think of any fundamental flaws immediately -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118 http://www.zylin.com/events_embeddedworld.html US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.

[Openocd-development] [RFC, PATCH for 0.5] arm920t: data cache full support

2010-02-16 Thread Marc Pignat
Hi all! The arm920t support for data cache support where broken just before 0.3.1. With a lot of help from Øyvind Harboe and David Brownell we finally have some workaround patch for this (see threads about 'arm920t regression cache support'). This workaround has still a bug with data cache in