Re: [Openocd-development] [PATCH] Fix hammer.cfg

2008-11-26 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openoc

Re: [Openocd-development] [PATCH] Fix hammer.cfg

2008-11-26 Thread Carlos Antunes
Now attached as file because Thunderbird likes to wrap long lines... Carlos Antunes wrote: Hello! I was finally able to program the flash of the Hammer target using the flyswatter. The problem was related to a couple of typos on the hammer.cfg config file. Please, find attached the svn diff a

[Openocd-development] [PATCH] Fix hammer.cfg

2008-11-26 Thread Carlos Antunes
Hello! I was finally able to program the flash of the Hammer target using the flyswatter. The problem was related to a couple of typos on the hammer.cfg config file. Please, find attached the svn diff against trunk that fixes the problem. Thanks! Carlos Antunes Index: src/target/target/hamm

Re: [Openocd-development] corrupt target configs

2008-11-26 Thread Duane Ellis
Spen wrote: > I have committed the following patch. > For some reason the files on svn were corrupt - these are the only ones i > could find. > I suspect the following: Somebody has been using something like MSWORD and/or another "Text" - not ASCII-TEXT editor on source code. There are a numb

Re: [Openocd-development] Patch to remove deprecated commands

2008-11-26 Thread Øyvind Harboe
> Where does this leave the original patch to remove obsolete syntax then? I'll commit it if we have no protests by tomorrow afternoon. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer ___ O

Re: [Openocd-development] Patch to remove deprecated commands

2008-11-26 Thread Rick Altherr
On Nov 26, 2008, at 9:41 AM, Øyvind Harboe wrote: Does that mean that you wish to have a tcl script (perhaps named obsolete.tcl) that implements the obsolete syntax using the new syntax? I guess what I'm saying is that if someone submits such a patch, I'll certainly commit it. However, I d

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Rick Altherr
On Nov 26, 2008, at 9:20 AM, Duane Ellis wrote: duane>Today, OpenOCD assumes there is always a target. Perhaps it needs a "target none"? for that situation. rick> I would assume that not having a 'target create' line in a config would be sufficient to indicate no targets. I prefer *EXPLICI

Re: [Openocd-development] Patch to remove deprecated commands

2008-11-26 Thread Øyvind Harboe
> Does that mean that you wish to have a tcl script (perhaps named > obsolete.tcl) that implements the obsolete syntax using the new syntax? I guess what I'm saying is that if someone submits such a patch, I'll certainly commit it. However, I don't suggest documenting or promoting it. Much. It is

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Duane Ellis
duane>Today, OpenOCD assumes there is always a target. Perhaps it needs a "target none"? for that situation. rick> I would assume that not having a 'target create' line in a config would be sufficient to indicate no targets. I prefer *EXPLICIT* indication of no target, thus if one finds "targe

Re: [Openocd-development] Patch to remove deprecated commands

2008-11-26 Thread Duane Ellis
rick> Are there other syntax changes that should be made before 1.0? If so, what are they? My changes to support enable/disable jtag taps is a non-trivial change. I have it working - I'm testing things as I work through them. BY WORKS: I mean - jtag identifies. I can type halt, reset, .

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Rick Altherr
On Nov 26, 2008, at 4:19 AM, Duane Ellis wrote: rick> Is there a practical reason why the daemon cannot be started unless an interface has been specified? [snip] oyvind> I've did a lot of work a year back to support connecting to powered down targets [snip] I would add the SPI/I2C/etc ty

Re: [Openocd-development] Patch to remove deprecated commands

2008-11-26 Thread Rick Altherr
On Nov 25, 2008, at 11:23 PM, Øyvind Harboe wrote: On Wed, Nov 26, 2008 at 6:05 AM, Rick Altherr <[EMAIL PROTECTED]> wrote: The attached patch removes all of the deprecated commands that I could find. I also added any previously unlisted deprecated commands to the appendix. This does not u

[Openocd-development] [COMMIT]targets cmd patch

2008-11-26 Thread Spen
Found a couple of issues with the targets cmd fixes seg fault with multiple targets and fixes printing the target names. Cheers Spen Index: target.c === --- target.c(revision 1186) +++ target.c(working copy) @@ -1362,7 +1362,

[Openocd-development] debugging the linux kernel

2008-11-26 Thread Kees Jongenburger
Hello I have recently been quite successful in debugging arm11 linux kernels using openocd and gdb. I did not find much information on the web and therefore created a wiki page on elinux for that. http://elinux.org/DebuggingTheLinuxKernelUsingGdb The next step I want to figure is how to load ker

[Openocd-development] corrupt target configs

2008-11-26 Thread Spen
I have committed the following patch. For some reason the files on svn were corrupt - these are the only ones i could find. Cheers Spen Index: src/target/target/str710.cfg === --- src/target/target/str710.cfg(revision 1182) +

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Duane Ellis
duane> [built in console] dominic>That would be nice, but when I decided to go with a telnet console it wasn't exactly easy finding a cross-platform compatible console. Do you have something particular in mind? UrJtag has exactly this now. I'd look there first. Baring that (A) Linux: gn

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Dominic
On Wednesday 26 November 2008 13:19:03 Duane Ellis wrote: > And - it should have an immediate console rather then then a console via > telnet only. > > -Duane. That would be nice, but when I decided to go with a telnet console it wasn't exactly easy finding a cross-platform compatible console. Do

Re: [Openocd-development] Is JTAG really required to start up the daemons?

2008-11-26 Thread Duane Ellis
rick> Is there a practical reason why the daemon cannot be started unless an interface has been specified? [snip] oyvind> I've did a lot of work a year back to support connecting to powered down targets [snip] I would add the SPI/I2C/etc type changes would have *NO* targets. Today, OpenOCD ass

Re: [Openocd-development] openocd 1.0 branch

2008-11-26 Thread Michael Schwingen
Øyvind Harboe wrote: >> For 1.0, do we want to consider removing support for all the old syntaxes? > > Yes! :-) I would also suggest to only support the new syntax (and make sure all supplied example files use it ;-)). A 1.0 release sounds like a good point for such a cut. cu Michael _