Re: [Openocd-development] Cross compiler for ARM7 bare metal

2009-10-10 Thread Michel Catudal
Le 10/10/2009 19:18, Jon Smirl a écrit : > I'm able to compile the code and link it using the arm compilers from > open-embedded. I made stubs for the problem libc functions. > > I'm still looking for a working, small libc. newlib won't build on 64b > ubuntu 9.04 -- it doesn't like the libelf versi

Re: [Openocd-development] Cross compiler for ARM7 bare metal

2009-10-10 Thread Jon Smirl
I'm able to compile the code and link it using the arm compilers from open-embedded. I made stubs for the problem libc functions. I'm still looking for a working, small libc. newlib won't build on 64b ubuntu 9.04 -- it doesn't like the libelf version in ubuntu. Next step is trying a more current l

Re: [Openocd-development] Cross compiler for ARM7 bare metal

2009-10-10 Thread Jon Smirl
On Fri, Oct 9, 2009 at 1:05 AM, Øyvind Harboe wrote: > Have a look at > > http://opensource.zylin.com/gccbinary.html 32b binaries from this one need libmpfr.so to run. I have a 64b version, I'd need to figure how to build the 32b one. Are there 64b binaries available? -- Jon Smirl jonsm...@gm

[Openocd-development] cygwin and libtool build problems

2009-10-10 Thread David Brownell
I was doing some test builds on Cygwin and seem to have reached an impasse. At least part of it looks to be related to libtool. See below. Will someone report good fixes? - Dave (1) "options.c" build failure. The GCC commands going into libtool look fine, but libtool mangles the P

Re: [Openocd-development] pxa270.cfg updates

2009-10-10 Thread David Brownell
On Saturday 10 October 2009, Wookey wrote: > +++ Øyvind Harboe [2009-10-10 09:10 +0200]: > > I've committed your changes + tried to clean up > > the CPUTAPID stuff a little bit. Not pretty, but I'll post > > something separate about that. > > > > Did you look into how to create patches for git yet

Re: [Openocd-development] Config file for xilinx xcr3256

2009-10-10 Thread David Brownell
On Saturday 10 October 2009, Øyvind Harboe wrote: > how about creating a new folder for cpld and fpga's > respectively? > > tcl/cpld > tcl/fpga Or just "tcl/tap". It's not like we'll have so many of them; they're not excessively usable yet. ___ Openocd

Re: [Openocd-development] Reducing mess in config files

2009-10-10 Thread David Brownell
On Saturday 10 October 2009, Wookey wrote: > This syntax makes it rather easier to have more than one expected-id > too (althogh I still think a better solution there in the medium term > is to specify the components of the ID (vendor/device/stepping) and > allow don't-care bits. At the moment th

Re: [Openocd-development] cannot halt CPU

2009-10-10 Thread jie zeng
On 10/3/09, David Brownell wrote: > You would need to type "reg debug_ctrl" to check; > it won't read that otherwise > > Another thing to check: "reset_config srst_gates_jtag" in > your setup script. A default was changed and I suspect it > ought to go back to how it was ... > > Thanks david.

Re: [Openocd-development] Cross compiler for ARM7 bare metal

2009-10-10 Thread Wookey
+++ Jon Smirl [2009-10-08 17:33 -0400]: > Can someone help me out and point me to a working cross toolchain for > arm7tdmi with uclibc or equivalent on Linux? I've got a working glib > setup but it keeps linking in 900KB of run-time code. > > I've spent all day searching and playing with buildroot

Re: [Openocd-development] Reducing mess in config files

2009-10-10 Thread Wookey
+++ Øyvind Harboe [2009-10-10 09:18 +0200]: > We have lots of these codelets around OpenOCD: > > if { [info exists CHIPNAME] } { >set _CHIPNAME $CHIPNAME > } else { >set _CHIPNAME pxa270 > } > > Does anyone find this the syntax below simpler or just > more obscure? > > -expected-id [de

Re: [Openocd-development] pxa270.cfg updates

2009-10-10 Thread Wookey
+++ Øyvind Harboe [2009-10-10 09:10 +0200]: > I've committed your changes + tried to clean up > the CPUTAPID stuff a little bit. Not pretty, but I'll post > something separate about that. > > Did you look into how to create patches for git yet? No. I managed a checkout, but I know almost nothing

Re: [Openocd-development] Config file for xilinx xcr3256

2009-10-10 Thread Øyvind Harboe
Hi, how about creating a new folder for cpld and fpga's respectively? tcl/cpld tcl/fpga That begs the question as to where an FPGA with a soft CPU would go. Especially as the JTAG chain will change after the FPGA is programmed and devices are added to the chain... -- Øyvind Harboe http://www.

[Openocd-development] Reducing mess in config files

2009-10-10 Thread Øyvind Harboe
We have lots of these codelets around OpenOCD: if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { set _CHIPNAME pxa270 } Does anyone find this the syntax below simpler or just more obscure? -expected-id [defaultvalue CPUTAPID 0x12345678] defaultvalue returns either the _CP

Re: [Openocd-development] pxa270.cfg updates

2009-10-10 Thread Øyvind Harboe
I've committed your changes + tried to clean up the CPUTAPID stuff a little bit. Not pretty, but I'll post something separate about that. Did you look into how to create patches for git yet? -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash