aboutsummaryrefslogtreecommitdiff
path: root/src/target/Makefile.am
AgeCommit message (Collapse)Author
2009-11-18split startup.tcl file across modulesZachary T Welch
Moves definitions for each layer into their own file, eliminating layering violations in the built-in TCL code. Updates src/Makefile.am rules to include all files in the final startup.tcl input file, and others Makefile.am rules to distribute the new files in our packages.
2009-11-11makefiles: improve build orderZachary T Welch
Separates various groups of files to be built in logical succession. In each layer, the core module (target.c, nand.c, etc.) is built _after_ their helper modules (e.g. image.c, nand_ecc.c) but _before_ any of their drivers (e.g. arm966e.c, mx3_nand.c). This allows problems introduced at the bottom of the stack to result in build failures as soon as possible, as the helpers and core should wrap portions of them.
2009-10-19Improve Makefile rules for XScale debug handler; fixes 'make distcheck'.Zachary T Welch
2009-10-17build tweak for bin2charDavid Brownell
Work better when building outside the source tree. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-16xscale: better fix for debug_handler.binDavid Brownell
Generate a C struct with the data, and use that, instead of an assembly language file. The assembly language causes issues on Darwin and MS-Windows, which don't necessarily use GNU AS; or if they do, don't necessarily use its ELF syntax. It's also better in two other ways: fewer global symbols; and the init-time size check gets optimized away at compile time. (Unless it fails, in which case bigger chunks of the file vanish.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-14Fix problems building xscale_debug.SDavid Brownell
2009-10-12simplify XScale debug handler installationDavid Brownell
Load the XScale debug handler from the read-only data section instead of from a separate file that can get lost or garbaged. This eliminates installation and versioning issues, and also speeds up reset handling a bit. Plus some minor bits of cleanup related to loading that handler: comments about just what this handler does, and check fault codes while writing it into the mini-icache. The only behavioral changes should be cleaner failure modes after errors during handler loading, and being a bit faster. NOTE: presumes GNU assembly syntax, with ".incbin"; and ELF, because of the syntax of the ".size" directive. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-09-21Remove annoying end-of-line whitespace from most src/*dbrownell
files; omitted src/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@2742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25David Brownell Subset of Cortex-A8 support from Magnus: create an armv7a fileoharboe
and seed it with DAP access support using the current ADIv5 code. (With tweaks and cleanup from Øyvind and Dave.) The ARMv7-AR architecture manual is not publicly available (even in subset form like the ARMv7-M spec), so it's hard to distinguish between the Cortex-A8 implementation and the ARMv7-A architecture. The register set presumably is architectural, and so it's stored here; it's like earlier ARMs, with small additions. Ditto the instruction set, though Thumb2 support is used (extending Thumb support from ARMv6 with more 32-bit instructions) and there's this ThumbEE thing too. There is a new "debug monitor" mode, not yet fully addressed here, to support debugging in environments (like motor control) where halting debug mode is inadvisable. git-svn-id: svn://svn.berlios.de/openocd/trunk@2608 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19Paulius Zaleckas <paulius.zaleckas@gmail.com>:zwelch
This is minimal patch to support FA526 ARMv4 compatible core. Since it is very similar to ARM920T I tried to reuse as much code as possible. CPU and board configs will follow soon. git-svn-id: svn://svn.berlios.de/openocd/trunk@2292 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09Fix make maintainer-clean for out-of-tree builds.zwelch
git-svn-id: svn://svn.berlios.de/openocd/trunk@2172 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31Final step in isolating target_type_s structure:zwelch
- Move definition of 'struct target_type_s' into new 'target_type.h' file. - Forward delclaration remains in target.h, with comment pointing to new file. - Replaces #define with #include in source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1971 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31Whitespace-only updates to automake input files:zwelch
- use continuations to break long lines of variable assignments - makes these variables more patch-friendly and conform to style guide git-svn-id: svn://svn.berlios.de/openocd/trunk@1970 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27Move TCL script files -- Step 1 of 2:zwelch
- Move src/target/{interface,target,board,test}/ into src/tcl/ - Remove existing rules in src/Makefile.am and src/target/Makefile.am. - Add Makefile.am handling of *.cfg and *.tcl files in top Makefile.am: - Add dist-hook to include such files under src/tcl in the distribution. - Add install-data-hook to install contents of '$(top_srcdir)/src/tcl/'. - Add uninstall-hook to remove the installed script files. - Change paths to (un)install script files in '$(pkgdatadir)/scripts'. git-svn-id: svn://svn.berlios.de/openocd/trunk@1918 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10Extend autotools build to create shared library libopenocd with libtool:zwelch
- Add libtoolize step too bootstrap script; creates ltmain.sh script. - Add AC_PROG_LIBTOOL to configure.in to add libtool support to build. - Change Makefile.am library rules from static (_a) to libtool (_la). - Install libopenocd.{la,so,a} in $(libdir); update openocd link rules. - Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove ltmain.sh. git-svn-id: svn://svn.berlios.de/openocd/trunk@1695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04Dirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8 fileoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1602 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02Update autotools scripts to require automake 1.6. The configure.in scriptzwelch
already required autoconf 2.59 (circa 2006), so there is no reason to support versions of automake older than 1.6 (circa 2002). The first part of this patch upgrades the configure.in script: 1. Use current calling conventions for the AC_INIT and AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with the version of autoconf already specified by AC_PREREQ. 2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT. 3. Automatically enable all of automake's warnings except Makefile portability (which OpenOCD violates by using GNU make's $(wildcard)). [[ While automake has its own -Werror option, I did not enabled it due to existing warnings. ]] 4. Add the missing AM_PROG_C_O check, required by the build rules for openocd.o in src/Makefile.am. 5. Adjust version number to show progress toward the next release. 6. Include a bug reporting e-mail address to direct users to this list. This patch makes the following adjustments to the Makefile.am files: 1. Update AUTOMAKE_OPTIONS to require automake version 1.6 2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS 3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly. 4. Remove vestigial references to $(all_includes) 5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS) 6. Remove unused -I and -D directives in helper/, flash/, target/ git-svn-id: svn://svn.berlios.de/openocd/trunk@1591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27SimonQian <simonqian@simonqian.com> AVR wipoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1540 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.mlu
Added support for accessport ROM table identification, dap command. git-svn-id: svn://svn.berlios.de/openocd/trunk@1536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-28chain position is now required when creating a targetoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20Fix 'make maintainer-clean' courtesy of Zach Welch <zw@superlucidity.net>kc8apf
git-svn-id: svn://svn.berlios.de/openocd/trunk@1345 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-30jtag newtap change & huge manual updateduane
git-svn-id: svn://svn.berlios.de/openocd/trunk@1194 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02Alan Carvalho de Assis <acassis@gmail.com> imx27 config fileoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1122 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-31Rick Altherr <kc8apf@kc8apf.net> switch to new syntax for target eventsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1116 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-21remove duplicate targetoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1084 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14testing of syntax error in reset and at startupoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1054 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-10John McCarthy <jgmcc@magma.ca> openocd-usb.cfg addedoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1038 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09zy1000 1.44 snapshotoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1034 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08John McCarthy <jgmcc@magma.ca> adds support for DMA mode access as supported ↵oharboe
by EJTAG 1.0/2.0 processors git-svn-id: svn://svn.berlios.de/openocd/trunk@1029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-04s3c2440 OpenMoko target scriptoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@978 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20lm3s3748 config fileoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@954 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19added wip imx31.cfg fileoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-17deleted superfluous sam7s256 which was identical to sam7x256oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@924 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11updated syntax for post_reset scriptsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@907 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.coharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07lpc2148 2MHz, RCLK and clockless config script versionsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@897 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-26- merged mips target into svn trunkntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@874 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21- jtag_khz/speed are now single parameter only. These are usedoharboe
from pre/post_reset event scripts. Adding the second parameter was a mistake seen in retrospect. this gives precise control in post_reset for *when* the post reset speed is set. The pre_reset event was added *after* the second parameter to jtag_khz/speed - the target implementations no longer gets involved in the reset mode scheme. Either they reset a target into a halted mode or not. target_process_reset() detects if the reset halt failed or not. - tcl target event names are now target_N_name. Mainly internal at this early stage, but best to get the naming right now. - added hardcoded reset modes from gdb_server.c. I don't know precisely what these defaults should be or if it should be made configurable. Perhaps some hardcoded defaults will do for now and it can be made configurable later. - bugfix in cortex_m3.c for reset_run_and_xxx? - issue syntax error upon obsolete argument in target command instead of printing message that will surely drown in the log git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18Duane Ellis <openocd@duaneellis.com> more interface files.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17Charles Hardin <ckhardin@gmail.com> and Øyvind Harboeoharboe
This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code. Multilevel commands also supported. git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09- adding missing install entry for luminary-libftdi.cfg ntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@780 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04- added event scripts for str73x and str75x targetsntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04tcl config script exampleoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04Valentin Longchamp target script for mx31.cfgoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27David Anders more target lib scripts contributed by oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16- added missing install entries for eir-sam7se512 targetntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16- added arm-usb-ocd.cfg and signalyzer.cfg to the interfacemifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@659 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-14- added jlink support, based on Jürgen Stuber patchntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-12- restored tabs and formattingntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-11- added patch from uwe hermann, thanks for the hint.mifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@656 b42882b7-edfa-0310-969c-e2dbd0fdcd60