1. 10 Nov, 2009 1 commit
  2. 09 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      Overhaul time support API · 2689f58f
      Zachary T Welch authored
      This patch changes the duration_* API in several ways.  First, it
      updates the API to use better names.  Second, string formatting has
      been removed from the API (with its associated malloc).  Finally, a
      new function added to convert the time into seconds, which can be
      used (or formatted) by the caller.  This eliminates hidden calls to
      malloc that require associated calls to free().
      
      This patch also removes the useless extern keyword from prototypes,
      and it eliminates the duration_t typedef (use 'struct duration').
      These API also allows proper error checking, as it is possible for
      gettimeofday to fail in certain circumstances.
      
      The consumers have all been chased to use this new API as well, as
      there were relatively few cases doing this type of measurement.
      In most cases, the code performs additional checks for errors, but
      the calling code looks much cleaner in every case.
      2689f58f
  3. 06 Nov, 2009 3 commits
  4. 17 Sep, 2009 1 commit
    • dbrownell's avatar
      Minor fixes to NAND code and docs · 9536577c
      dbrownell authored
      Erase logic:
       - command invocation
          + treat "nand erase N" (no offset/length) as "erase whole chip N"
          + catch a few more bogus parameter cases, like length == 0 (sigh)
       - nand_erase() should be static
       - on error
          + say which block failed, and if it was a bad block
          + don't give up after the first error; try to erase the rest
       - on success, say which nand device was erased (name isn't unique)
      
      Device list ("nand list"):
       - say how many blocks there are
       - split summary into two lines
       - give example in the docs
      
      Doc tweaks:
       - Use @option{...} for DaVinci's supported hardware ECC options
      
      For the record, I've observed that _sometimes_ erasing bad blocks causes
      failure reports, and that manufacturer bad block markers aren't always
      erasable (even when erasing their blocks doesn't trigger an error report).
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2724 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      9536577c
  5. 10 Sep, 2009 1 commit
  6. 23 Jun, 2009 4 commits
  7. 21 Jun, 2009 1 commit
  8. 18 Jun, 2009 3 commits
  9. 05 Jun, 2009 1 commit
  10. 24 May, 2009 2 commits
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · eb385b2e
      zwelch authored
      Update two oddball NAND commands to work with {offset, length}
      instead of block numbers, matching the other commands as well
      as usage in U-Boot and the Linux-MTD utilities.
      
      Document them accordingly.  Update the single in-tree use of
      those commands (sheevaplug).
      
      ALSO:
      
       (a) Document the current 2 GByte/chip ceiling for NAND chipsize.
           (32 bit offset/length values can't represent 4 GBytes.)  Maybe
           after the upcoming release, the code can switch to 64-bits.
      
       (b) The "nand check_bad_blocks" should report "bad" blocks.  They
           are not "invalid" blocks; they're "bad" ones.
      
       (c) Tweak the "nand info" command to handle the "no arguments"
           case sanely (show everything, instead of showing garbage) and
           not listing the blocksize in hex kbytes (duh).
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1904 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      eb385b2e
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · c0fc8f93
      zwelch authored
      NAND support for DaVinci-family drivers, with HW ECC support.
      Declare the NAND chip on the DM355 EVM board.
      
      Currently tested on DM355 for Linux interop using the standard
      large page (2KB) chip in the EVM socket; "hwecc1" and "hwecc4"
      work fine.  (Using hwecc4 relies on patches that haven't quite
      made it through the Linux-MTD bottlenecks yet.)
      
      Not yet tested:  1-bit on small-page (although it's hard to see
      how that could fail); 4-bit on small page (picky layout issues);
      the "hwecc_infix" mode (primarily for older boot ROMs; testing
      there is blocked on having new bootloader code).
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1903 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      c0fc8f93
  11. 22 May, 2009 1 commit
    • kc8apf's avatar
      Author: David Brownell <david-b@pacbell.net> · c78ad57b
      kc8apf authored
      Remove un-implemented and dubious "nand copy" command.
      
      Doing this efficiently would mean doing the copying on
      the target CPU, instead of back and forth through JTAG.
      If anyone ever needs this functionality, that's what
      they should implement.
      
      Also, update on-line "help" for "nand dump" to display
      its two optional flags; and for "nand write" to display
      a recently added flag.
      
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1883 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      c78ad57b
  12. 21 May, 2009 1 commit
  13. 19 May, 2009 1 commit
  14. 18 May, 2009 1 commit
  15. 12 May, 2009 1 commit
  16. 11 May, 2009 1 commit
  17. 19 Apr, 2009 2 commits
  18. 18 Apr, 2009 1 commit
    • mifi's avatar
      The following patches was applied: · 0bba8327
      mifi authored
      - openocd-flash-static-keyword-v3.patch
      - openocd-lpc2000-fix-erase-obo.patch
      - openocd-jlink-fix-sign-ptr-warn.patch
      - openocd-wextra-etm.patch
      - openocd-wextra-jtag.patch
      - openocd-add-new-tap-symbols-v6.patch
      
      Many thanks to  Zach Welch <zw(at)superlucidity.net>
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1462 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      0bba8327
  19. 03 Apr, 2009 1 commit
  20. 02 Apr, 2009 3 commits
  21. 01 Mar, 2009 5 commits
  22. 28 Dec, 2008 1 commit
  23. 13 Dec, 2008 1 commit
  24. 15 Oct, 2008 1 commit
  25. 19 Aug, 2008 1 commit