Re: [Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-29 Thread David Brownell
On Sunday 29 November 2009, Marek Vasut wrote: > > Ok, here's an updated patch Merged both. Don't you need to update setting the BYPASS instruction though? 0x7f isn't an 11-bit constant. :) ___ Openocd-development mailing list Openocd-development@li

Re: [Openocd-development] [PATCH] Add initial PXA3xx support (config file)

2009-11-29 Thread Marek Vasut
Dne Ne 29. listopadu 2009 06:10:57 David Brownell napsal(a): > On Saturday 28 November 2009, Marek Vasut wrote: > > > > +static int xscale_version = XSCALE_IXP4XX_PXA2XX; > > > > > > Please put this in the instance-specific struct ... this approach > > > obviously breaks on a board with both a PXA2

Re: [Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-29 Thread Marek Vasut
Dne Ne 29. listopadu 2009 06:10:57 David Brownell napsal(a): > On Saturday 28 November 2009, Marek Vasut wrote: > > > > +static int xscale_version = XSCALE_IXP4XX_PXA2XX; > > > > > > Please put this in the instance-specific struct ... this approach > > > obviously breaks on a board with both a PXA2

Re: [Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-28 Thread David Brownell
On Saturday 28 November 2009, Marek Vasut wrote: > > > +static int xscale_version = XSCALE_IXP4XX_PXA2XX; > > > > Please put this in the instance-specific struct ... this approach > > obviously breaks on a board with both a PXA2xx and a PXA3xx. > > Have you ever seen such a mutant ? Come on ...

Re: [Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-28 Thread Marek Vasut
Dne Ne 29. listopadu 2009 05:21:20 David Brownell napsal(a): > On Saturday 28 November 2009, Marek Vasut wrote: > > @@ -70,6 +70,13 @@ static int xscale_set_watchpoint(struct target *, > > struct watchpoint *); static int xscale_unset_breakpoint(struct target *, > > struct breakpoint *); static int

Re: [Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-28 Thread David Brownell
On Saturday 28 November 2009, Marek Vasut wrote: > @@ -70,6 +70,13 @@ static int xscale_set_watchpoint(struct target *, struct > watchpoint *); static int xscale_unset_breakpoint(struct target *, struct > breakpoint *); static int xscale_read_trace(struct target *); > > +/* This variable determine

[Openocd-development] [PATCH] Add initial PXA3xx support

2009-11-28 Thread Marek Vasut
Hi, attached (because of a buggy mailer not inline) is a patch that adds basic support for XScale/PXA3xx. Tested on PXA320 CPU. Please consider applying. Thanks. Signed-off-by: Marek Vasut From f4653c4af3c5fc093f9df69b7d0d16843c221d0d Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 29 No