1. 25 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      add 'testee' target type · 9d4c89f3
      Zachary T Welch authored
      Alliteration aside, this should provide the final piece of the puzzle
      for developers that want to get started writing a new target type.
      In this way, it also seeks to complement the 'dummy' interface driver
      and 'faux' NOR flash driver.
  2. 24 Nov, 2009 1 commit
    • David Brownell's avatar
      ARM: new DPM interface · e6dc927e
      David Brownell authored
      First version of interface for sharing code between ARMv6 and ARMv7a
      debug modules ... now the architecture includes debug support.  (Not
      the same as for the trimmed-down v7m or v6m though!)  This is a first
      version of an interface that will let the ARM11 and Cortex-A8 support
      share code, features, and bugfixes.  Based on existing code from both
      of those cores.
      The ARM v7-AR architecture specification calls this commonality the
      "Debug Programmer's Model (DPM)", which seemed to be an appropriate
      acronym -- a TLA even! -- for use in our code.  Made it so.  :)
      The initial scope of this just supports register access, and is geared
      towards supporting top level "struct arm" mechanisms.  Later, things
      like breakpoint and watchpoint support should be included.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
  3. 18 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      split startup.tcl file across modules · cb7dbc1a
      Zachary T Welch authored
      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.
  4. 11 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      makefiles: improve build order · b7b4efcd
      Zachary T Welch authored
      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.
  5. 20 Oct, 2009 1 commit
  6. 17 Oct, 2009 1 commit
  7. 16 Oct, 2009 1 commit
    • David Brownell's avatar
      xscale: better fix for debug_handler.bin · cb7965da
      David Brownell authored
      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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
  8. 14 Oct, 2009 1 commit
  9. 12 Oct, 2009 1 commit
    • David Brownell's avatar
      simplify XScale debug handler installation · 5e837387
      David Brownell authored
      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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
  10. 21 Sep, 2009 1 commit
  11. 25 Aug, 2009 1 commit
    • oharboe's avatar
      David Brownell Subset of Cortex-A8 support from Magnus: create an armv7a file · 6f7491c1
      oharboe authored
      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
  12. 19 Jun, 2009 1 commit
  13. 09 Jun, 2009 1 commit
  14. 31 May, 2009 2 commits
  15. 27 May, 2009 1 commit
    • zwelch's avatar
      Move TCL script files -- Step 1 of 2: · 140d6c8e
      zwelch authored
      - 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
  16. 10 May, 2009 1 commit
  17. 04 May, 2009 1 commit
  18. 02 May, 2009 1 commit
    • zwelch's avatar
      Update autotools scripts to require automake 1.6. The configure.in script · 66add57a
      zwelch authored
      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
  19. 27 Apr, 2009 2 commits
  20. 28 Jan, 2009 1 commit
  21. 20 Jan, 2009 1 commit
  22. 30 Nov, 2008 1 commit
  23. 02 Nov, 2008 1 commit
  24. 31 Oct, 2008 1 commit
  25. 21 Oct, 2008 1 commit
  26. 14 Oct, 2008 1 commit
  27. 10 Oct, 2008 1 commit
  28. 09 Oct, 2008 1 commit
  29. 08 Oct, 2008 1 commit
  30. 04 Sep, 2008 1 commit
  31. 20 Aug, 2008 1 commit
  32. 19 Aug, 2008 1 commit
  33. 17 Aug, 2008 1 commit
  34. 11 Aug, 2008 1 commit
  35. 07 Aug, 2008 2 commits
  36. 26 Jul, 2008 1 commit
  37. 21 Jul, 2008 1 commit
    • oharboe's avatar
      · dfbb9f3e
      oharboe authored
      - jtag_khz/speed are now single parameter only. These are used
      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.
      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