Re: [Openocd-development] build openocd for arm
Yu, IMHO this has to do with the way arm_jtag.h is doing some obfusticated casts. IIRC I posted a patch to this list a couple of months ago. I ran into the same problem when compiling for MIPS. Nico Coesel -Oorspronkelijk bericht- Van: openocd-development-boun...@lists.berlios.de namens Yu Li Verzonden: za 4/24/10 15:44 Aan: openocd-development@lists.berlios.de Onderwerp: [Openocd-development] build openocd for arm hi, i want to build openocd that can run on arm9. i use, $ CC=arm-linux-gcc ./configure --prefix=/opt/arm-openocd --build=i686-pc-linux-gnu --host=arm-linux --target=arm-linux --enable-parport --enable-maintainer-mode $ make but i got the error arm_jtag.h: 81: error: cast increases required alignment of target type. even though i delete the -Werror option in Makefile, the error still holded. someone help me please. My enviroment gcc v4.3.2 openocd v0.4.0 Vmware kubuntu 9.04 ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] build openocd for arm
Please repost the patch if it was simply forgotten. The warning here is actually benign, but there is no way the compiler can know that. -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe 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 debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Problem with LPC2294, OpenOCD and GDB
Am 25.04.2010 15:21, schrieb Andreas Schmidt: Hello, at the moment I'm trying to get my Olimex LPC-E2294-8MB Board running with OpenOCD and GDB. Unfortunalty I had only very little success. I've compiled the current OpenOCD version from GIT with FTDI drivers. Everything worked well for the first time I start debugging with GDB (Version 6.8 and Version 7.0). But in a non-deterministic manner I get problems with stopping at breakpoints when starting the debug session and after pressing halt or stop I see that the debugger is halting in the data-abort handler. The strange behavior is, that the same code runs very well the first time and without any recompiling or code modification the debugger doenst work right and stops in data-abort handler. sometimes, after 5-8 trys it works again. But restarting the hardware and restarting openocd doenst change it. If I connect with telnet to openOCD it seems that every thing is working well. Checking PC and Stepping works and my code does not hang is the data-abort handler. I would assume, the the code works well an no illegal memory reagion is accessed. After googling around the web I found this mailinglist thread form Michael Fischer http://lists.berlios.de/pipermail/openocd-development/2008-May/002068.html talking about a similar problem with LPC and GDB. But I'm not sure whether this could be the same or similar problem because the thread is from 2008 an OpenOCD has been developed further. If some can give me some hints about this I would be very happyI don't know what do to anymore. Thanks Beste regards Andy ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development Hi all, it seems I've solved the problem. Well, I'm not sure whether I solved it or is my solution only a workaround. I use Eclipse with Zylin Embedded CDT. In my Debugger Run-script I had this: break main continue With this code, the strange behaviour occured. After changing it to break main monitor soft_reset_halt continue everythin worked fine. The typically cycle of compiling-loading-debugging-compiling-... worked even after 20. loops without restart. So I would assume this works stable. Also a restart of Eclipse and OpenOCD has no effect on stability. Beste regards Andy ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
[Openocd-development] [PATCH] Add Voipac PXA270 module support
This patch adds support for the Voipac PXA270 module. Including NOR flash. Signed-off-by: Marek Vasut marek.va...@gmail.com --- tcl/board/voipac.cfg | 12 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 tcl/board/voipac.cfg diff --git a/tcl/board/voipac.cfg b/tcl/board/voipac.cfg new file mode 100644 index 000..c59277e --- /dev/null +++ b/tcl/board/voipac.cfg @@ -0,0 +1,12 @@ +# Config for Voipac PXA270/PXA270M module. + +set CHIPNAME voipac +source [find target/pxa270.cfg] + +# The board supports separate reset lines +# Override this in the interface config for parallel dongles +reset_config trst_and_srst separate + +# flash bank driver base size chip_width bus_width +flash bank $_CHIPNAME.flash0 cfi 0x 0x200 2 2 $_TARGETNAME +flash bank $_CHIPNAME.flash1 cfi 0x0200 0x200 2 2 $_TARGETNAME -- 1.7.0 ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] [PATCH] Add Voipac PXA270 module support
Merged. Thanks! -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe 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 debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development