1690 Commits (a45c4e8c5745f01ef2501ad9dc97c998964c3994)
 

Author SHA1 Message Date
Mike Frysinger a45c4e8c57 bfin: constify/localize some structures
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1952 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 4bdf94899d writemem: tweak style
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1951 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang 50e84d8661 Avoid redundant initialization of hex table.
* src/lib/hex.c (hex_init): Avoid redundant initialization.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1950 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang a19e4b8f12 Import hex.c from libiberty of GCC and move libiberty headers from src/lib/ to /include/ .
* src/lib/ansidecl.h: Move to include.
  * src/lib/filenames.h: Likewise.
  * src/lib/libiberty.h: Likewise.
  * src/lib/safe-ctype.h: Likewise.
  * src/lib/hex.c: Import from GCC.
  * src/lib/Makefile.am (libiberty_sources): Remove ansidecl.h,
    filenames.h, libiberty.h and  save-ctype.h.
    (libjtaglib_la_SOURCES): Add hex.c.
  * include/Makefile.am: New file.
  * Makefile.am (SUBDIRS): Add include.
  * src/global/data_dir.c (make_relative_prefix): Don't declare.
    Include libiberty.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1949 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang 5e436206ae Forgot to commit the real change in my last commit.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1948 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger a33cbfa3fe blackfin buses: accept new hwait option from user to optionally drive a pin when selecting the flash to mimic the behavior of Blackfin bootroms when they boot out of flash
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1947 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 70612aab1b urj_param_init_list: unify code for parsing user params based on a param_list struct
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1946 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger a16e5c82ed cmd_cable: add support for sub-cable parameters by generalizing the new initbus code
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1945 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 35a70b6804 cmd_cable: restore cable-specific help output
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1944 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 223fdef548 ignore new generated_cmd_list.h.stamp
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1943 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 03ac12e292 initbus: add support for completing bus parameters
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1942 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang ffe03785ef Avoid recompile all cmd files when generated_cmd_list.h is unchanged.
* src/cmd/Makefile.am (generated_cmd_list.h): Depend on
    generated_cmd_list.h.stamp.
    (generated_cmd_list.h.stamp): New target.
    (EXTRA_DIST): Add generated_cmd_list.h.stamp.
    (MAINTAINERCLEANFILES): Likewise.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1941 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 3eca37f1e6 urj_tap_cable_wait: fix off-by-one logic in a previous commit pointed out by Jie Zhang
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1940 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 007750ad5f bfin: rewrite system reset code to work around known anomalies
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1939 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 062ac8b981 urjtag.pc: make sure usb/ftdi libs are declared for static builds
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1938 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 3b461c20ad cable: fix param count checking with parallel port cables after the refactoring
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1937 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger df1a7602ec bfin: add support for using ITEST MMRs to access memory regions which DTEST MMRs cannot
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1936 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 44d5afb3a3 bfin: revert chain_system_reset update as this wasnt supposed to be part of the token commit, and this isnt quite done yet
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1935 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger f10d155e19 generalize log level converters between strings and urj_log_level_t types
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1934 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 1ddde8e7ec cmd_{bfin,set}: add sub-command completions only when earlier tokens indicate that it makes sense to
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1933 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger b4730561a1 add new helpers for command completion that take arrays of strings
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1932 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 94a2e63fcc cmd_endian: automate the completion matches
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1931 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger cfa19fc564 pass down the tokenized array to completion handlers in case they want to parse info in earlier tokens
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1930 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger adeb3616f4 cmd_bfin: update help description to include all the possible commands
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1929 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 0cb050a8cc cmd_bfin: add a check when doing "bfin reset" to make sure we are in emulation mode first
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1928 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 3a4359c510 fix constant creation of the cmd list in case the cmd_*.c files have been updated, but the resulting command list isnt different
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1927 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 5d6c06ab80 workaround new gcc-4.6 set-but-unused build warnings
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1926 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger e7bb12754a fjmem: update svn:ignores
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1925 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang ce72cfd147 Fix my last commit
* include/urjtag/Makefile.am (nodist_pkginclude_HEADERS): New and
    add urjtag.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1924 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 66b9f336fb tweak dependency info on bison headers more to work again after OBJEXT hardcoding was dropped
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1923 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Jie Zhang 895f2384b8 Fix make dist
* include/urjtag/Makefile.am (pkginclude_HEADERS): Remove urjtag.h.
  * extra/fjmem/Makefile.am: New file.
  * src/jim/Makefile.am (EXTRA_DIST): New.
  * src/pld/Makefile.am (libpld_la_SOURCES): Add xilinx.h.
  * src/bus/Makefile.am (libbus_la_SOURCES): Add blackfin.h.
  * src/bfin/Makefile.am (libbfin_la_SOURCES): Add bfin-part.h.
  * configure.ac: Add extra/fjmem/Makefile to AC_CONFIG_FILES.
  * data/Makefile.am (nobase_dist_pkgdata_DATA): Add
    xilinx/xc18v02pc44/xc18v02pc44 and xilinx/xc18v02pc44/STEPPINGS.
  * Makefile.am (SUBDIRS): Add extra/fjmem.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1922 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger f549fac82f punt empty dir from svn
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1921 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 32ef4a6da7 split out configure summary info to make a bit more readable
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1920 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger c3d25af7a9 create urj_tap_chain_connect() and urj_bus_init() by factoring cmd_cable() and cmd_initbus() respectively.
New routines present a more convenient API for use by C and language bindings.

Patch by Steve Tell.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1919 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 0604c8bd7d move prototypes for useful cmd helpers from internal cmd.h to public cmd.h
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1918 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 021ba71553 ignore new generated cmd list header
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1917 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 8be8683052 drop useless double const keywords in initbus decl
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1916 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 6487fb2c72 move libusb/libftdi linking out of global LIBS and into specific binaries LIBADD to avoid unnecessary linking in other apps
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1915 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger a03c13d1d3 use AS_VAR_APPEND more rather than manually appending
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1914 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger bfbb4eb445 add a new AS_VAR_PREPEND helper to simplify prepending stuff to variables
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1913 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger d0fcb3eac2 have all objects depend on the header so it is generated before anything else
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1912 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger ea47466b4f autogenerate list of commands
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1911 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 388bdf7a9d drop bsdl_config.h and use config.h directly to simplify the local build logic a bit
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1910 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger a2398efad4 add xilinx xc18v02pc44 support by Steve Tell
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1909 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 1bfcbfc81e fix new set-but-unused warnings noticed with gcc-4.6
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1908 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 08e714ef68 data: add some Xilinx CoolRunner-II jtag files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1907 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 82d5ff7174 usbconn: add interface option to usage
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1906 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger e863ac34f1 ft2232: set interface for libftdi
Properly set the interface to be used for libftdi variant of the ft2232 driver.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1905 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 10c8d9317d drop OBJEXT override from bison subdirs as it doesnt seem to be needed
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1904 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 3e37649503 force autoconf-2.61+, automake-1.10+, gettext-0.16.1+
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1903 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago