1. 15 Dec, 2009 1 commit
  2. 08 Dec, 2009 1 commit
  3. 07 Dec, 2009 1 commit
    • David Brownell's avatar
      ARM: use <target/arm.h> not armv4_5.h · 0a1b7dcf
      David Brownell authored
      
      
      Move most declarations in <target/armv4_5.h> to <target/arm.h>
      and update users.
      
      What's left in the older file is stuff that I think should be
      removed ... the old register cache access stuff, which makes it
      awkward to support microcontroller profile (Cortex-M) cores.
      
      The armv4_5_run_algorithm() declaration was moved too, even
      though it's not yet as generic as it probably ought to be.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      0a1b7dcf
  4. 04 Dec, 2009 1 commit
    • Nicolas Pitre's avatar
      basic ARM semihosting support · ed59dfc8
      Nicolas Pitre authored
      
      
      Semihosting enables code running on an ARM target to use the
      I/O facilities on the host computer. The target application must
      be linked against a library that forwards operation requests by
      using the SVC instruction that is trapped at the Supervisor Call
      vector by the debugger.  The "hosted" library version provided
      with CodeSourcery's Sourcery G++ Lite for ARM EABI is one example.
      
      This is currently available for ARM9 processors, but any ARM
      variant should be able to support this with little additional work.
      
      Tested using binaries compiled with Sourcery G++ Lite 2009q1-161
      and ARM RVCT 3.0.
      
      [dbrownell@users.sourceforge.net: doc tweaks, NEWS]
      
      Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      ed59dfc8
  5. 03 Dec, 2009 4 commits
  6. 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.
      9d4c89f3
  7. 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>
      e6dc927e
  8. 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.
      cb7dbc1a
  9. 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.
      b7b4efcd
  10. 20 Oct, 2009 1 commit
  11. 17 Oct, 2009 1 commit
  12. 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>
      cb7965da
  13. 14 Oct, 2009 1 commit
  14. 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>
      5e837387
  15. 21 Sep, 2009 1 commit
  16. 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
      6f7491c1
  17. 19 Jun, 2009 1 commit
  18. 09 Jun, 2009 1 commit
  19. 31 May, 2009 2 commits
  20. 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
      140d6c8e
  21. 10 May, 2009 1 commit
  22. 04 May, 2009 1 commit
  23. 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
      66add57a
  24. 27 Apr, 2009 2 commits
  25. 28 Jan, 2009 1 commit
  26. 20 Jan, 2009 1 commit
  27. 30 Nov, 2008 1 commit
  28. 02 Nov, 2008 1 commit
  29. 31 Oct, 2008 1 commit
  30. 21 Oct, 2008 1 commit
  31. 14 Oct, 2008 1 commit
  32. 10 Oct, 2008 1 commit
  33. 09 Oct, 2008 1 commit
  34. 08 Oct, 2008 1 commit
  35. 04 Sep, 2008 1 commit