31 Commits (b1a91070d802bcda1d6fb7d8aa7e517b96877141)

Author SHA1 Message Date
Marcel Telka 88953b5633 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_LDADD): Added libbrux twice to resolve dependencies.
	* src/jtag.c: Fixed cmd.h include path.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@468 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 84e187b996 2003-06-02 Marcel Telka <marcel@telka.sk>
* Makefile.am (SUBDIRS): Added libbrux.
	* configure.ac (AC_CONFIG_FILES): Removed src/flash/Makefile.
	(AC_CONFIG_SUBDIRS): Added libbrux.
	* src/Makefile.am (SUBDIRS): Removed flash.
	(jtag_DEPENDENCIES): Removed flash/libflash.a, added ../libbrux/libbrux.a.
	(jtag_LDADD): Removed libflash, added libbrux.
	* src/flash/Makefile.am: File removed.
	* src/flash/amd.c: File moved to module libbrux, directory flash.
	* src/flash/cfi.c: Ditto.
	* src/flash/intel.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@454 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d84a1ec737 2003-05-21 Marcel Telka <marcel@telka.sk>
* Makefile.rules: New file.
	* Makefile.am: Added Makefile.rules include.
	(EXTRA_DIST): Added Makefile.rules.
	* data/Makefile.am: Added Makefile.rules include.
	* doc/Makefile.am: Ditto.
	* include/Makefile.am: Ditto.
	* po/Makevars: Ditto.
	* src/Makefile.am: Ditto.
	* src/bus/Makefile.am: Ditto.
	* src/cmd/Makefile.am: Ditto.
	* src/flash/Makefile.am: Ditto.
	* src/lib/Makefile.am: Ditto.
	* src/part/Makefile.am: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@438 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bdac1de201 2003-05-20 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/cmd/Makefile.
	* include/Makefile.am (noinst_HEADERS): Added jtag.h.
	* include/jtag.h: New file.
	* po/POTFILES.in: Updated.
	* src/Makefile.am (SUBDIRS): Added cmd.
	(jtag_SOURCES): Removed jtag.h and help.c.
	(jtag_DEPENDENCIES): Added cmd/libcmd.a.
	(jtag_LDADD): Added libcmd.
	(INCLUDES): Removed JTAG_DATA_DIR.
	* src/help.c: File removed.
	* src/jtag.h: Ditto.
	* src/jtag.c (jtag_parse_line): Removed command parsing and moved it to cmd directory.
	(jtag_parse_file): Function is no longer static.
	* src/cmd/Makefile.am: New file.
	* src/cmd/cable.c: Ditto.
	* src/cmd/cmd.c: Ditto.
	* src/cmd/cmd.h: Ditto.
	* src/cmd/detect.c: Ditto.
	* src/cmd/detectflash.c: Ditto.
	* src/cmd/discovery.c: Ditto.
	* src/cmd/dr.c: Ditto.
	* src/cmd/flashmem.c: Ditto.
	* src/cmd/frequency.c: Ditto.
	* src/cmd/get.c: Ditto.
	* src/cmd/help.c: Ditto.
	* src/cmd/instruction.c: Ditto.
	* src/cmd/print.c: Ditto.
	* src/cmd/quit.c: Ditto.
	* src/cmd/readmem.c: Ditto.
	* src/cmd/script.c: Ditto.
	* src/cmd/set.c: Ditto.
	* src/cmd/shift.c: Ditto.

	* src/part/part.c (parts_print): Fixed header printing.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@434 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d126c4c797 2003-05-16 Marcel Telka <marcel@telka.sk>
* include/part.h (part_print): New function declaration.
	* src/part/part.c: Marked all user visible messages for translation.
	(part_print): New function.
	(parts_print): Simplified. Added part_print() call.
	* po/POTFILES.in: Added src/part/part.c.

	* src/Makefile.am (jtag_DEPENDENCIES): Added flash/libflash.a.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@431 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 246966636e 2003-05-14 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added cfi.h.
	* include/cfi.h: New file.
	* src/jtag.h (detect_cfi): Removed function declaration.
	* src/flash.c: Replaced jtag.h include with cfi.h.
	* src/readmem.c: Ditto.

	* src/flash/Makefile.am (libflash_a_SOURCES): Added cfi.c.
	* src/Makefie.am (jtag_SOURCES): Removed cfi.c.
	* src/cfi.c: Moved this file ...
	* src/flash/cfi.c: ... here and replaced jtag.h include with cfi.h one.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@427 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8d184b53c5 2003-05-14 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/flash/Makefile.
	* include/Makefile.am (noinst_HEADERS): Added flash.h.
	* src/Makefile.am (SUBDIRS): Added flash.
	(jtag_SOURCES): Removed flash.h, flash-intel.c, and flash-amd.c.
	(jtag_LDADD): Added libflash.
	* src/flash-amd.c: Moved this file ...
	* src/flash/amd.c: ... here.
	* src/flash-intel.c: Moved this file ...
	* src/flash/intel.c: ... here.
	* src/flash.h: Moved this file ...
	* include/flash.h: ...here.
	* src/flash/Makefile.am: New file.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@425 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 543c297840 2003-03-17 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (bin_PROGRAMS, bsdl2jtag_SOURCES): Added new bsdl2jtag conversion
		tool (Matan Ziv-Av).
	* src/bsdl2jtag.c: New file (Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@395 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 584d2e57f1 2003-03-14 Marcel Telka <marcel@telka.sk>
* configure.ac (CPPFLAGS): Added common include paths.
	* src/Makefile.am (INCLUDES): Removed common include paths.
	* src/bus/Makefile.am (INCLUDES): Ditto.
	* src/part/Makefile.am (INCLUDES): Ditto.
	* src/tap/Makefile.am (INCLUDES): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@394 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1977dae043 2003-03-13 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_HEADERS): Replaced this `new' macro ...
	(AM_CONFIG_HEADER): ... with this `old' one to make build compatible with automake-1.6.
	(AM_GNU_GETTEXT_VERSION): Relaxed version number from 0.11.5 to 0.11.4.
	* src/Makefile.am (jtag_LDADD): Added LIBINTL.
	(LIBS): Removed LIBINTL.
	(DEFS): Removed whole content ...
	(INCLUDE): ... and added it here.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@393 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka daa49cf9bc 2003-03-13 Marcel Telka <marcel@telka.sk>
* include/chain.h: New file.
	* src/tap/chain.c: Ditto.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added chain.c.
	* include/Makefile.am (noinst_HEADERS): Added chain.h.
	* src/jtag.c: Encapsulated parts, cable and TAP state into one object - chain.
		All relevant function parameters changed to `chain'.
	* src/tap/state.c: `trst' state moved to cable drivers.
		All cable drivers changed.
	* include/cable.h (cable_driver_t) <set_trst>: Changed return value from void to int.
		All cable drivers changed.
	(cable_driver_t) <get_trst>: New function.
		Implemented this function to all cable drivers.
	* include/part.h (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Funcions removed.
	* src/part/part.c (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Ditto.
	* src/tap/cable/arcom.c: Removed dependency on state.h.
	* src/tap/cable/byteblaster.c: Ditto.
	* src/tap/cable/dlc5.c: Ditto.
	* src/tap/cable/ea253.c: Ditto.
	* src/tap/cable/ei012.c: Ditto.
	* src/tap/cable/mpcbdm.c: Ditto.
	* src/tap/cable/wiggler.c: Ditto.

	* include/state.h (bit): Replaced with common.h include.
	(Unknown_State, Run_Test_Idle, Select_DR_Scan, Select_IR_Scan): Removed parentheses.
	* include/tap.h (write_command): Removed unused declaration.

	* src/detect.h: Removed file.
	* src/jtag.h: New file with common jtag function declarations.
	* src/Makefile.am (jtag_SOURCES): Removed detect.h, added jtag.h.
	* src/cfi.c: Added jtag.h include. Moved common function declarations to jtag.h file.
	* src/detect.c: Ditto.
	* src/discovery.c: Ditto.
	* src/flash.c: Ditto.
	* src/help.c: Ditto.
	* src/jtag.c: Ditto.
	* src/readmem.c: Ditto.

	* src/jtag.c (jtag_create_jtagdir, jtag_load_history, jtag_save_history, jtag_parse_line)
	(jtag_readline_loop, jtag_parse_file, jtag_parse_rc): Changed functions to `static'.

	* src/tap/tap.c: Added l10n support.
	* po/POTFILES.in: Added src/tap/chain.c and src/tap/tap.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7ea095b6e6 2003-03-06 Marcel Telka <marcel@telka.sk>
* configure.ac: Added test for readline library.
	* src/Makefile.am (jtag_LDADD): Removed readline and ncurses.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@388 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 170f1eeeff 2003-02-20 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_SOURCES): Added missing flash.h.
	* src/jtag.c: Added missing string.h include. Moved gettext.h include
		to the top level of the include list.
	* src/help.c: Moved gettext.h include to the top level of the include list.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@377 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5f4dc04142 2003-02-18 Marcel Telka <marcel@telka.sk>
* autogen.sh: Added autopoint call. Added '-I m4' parameter for aclocal.
	* Makefile.am (SUBDIRS): Added intl, include and po.
	(DIST_SUBDIRS): Removed.
	(ACLOCAL_AMFLAGS): Added '-I m4'.
	* configure.ac (AC_INIT): Changed version number to 0.3.
	(AC_CONFIG_FILES): Added intl/Makefile and po/Makefile.in.
	(AM_GNU_GETTEXT): Added.
	(AM_GNU_GETTEXT_VERSION): Added with version 0.11.5.
	* include/gettext.h: Copied new file from gettext share.
	* po/LINGUAS: Added new empty file.
	* po/Makevars: Added new file.
	* po/POTFILES.in: Added new empty file.
	* src/Makefile.am (INCLUDES): Removed JTAG_DATA_DIR.
	(localedir): Added path to locale directory.
	(DEFS): Added JTAG_DATA_DIR and LOCALEDIR.
	(LIBS): Added LIBINTL.
	* src/help.c: Included gettext.h.
	* src/jtag.c: Included gettext.h.
	(main): Added l10n support.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@372 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2b799c36b9 2003-02-18 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/bus/Makefile.
	* src/bus.h: Moved this file...
	* include/bus.h: ...here.
	* include/Makefile.am (noinst_HEADERS): Added bus.h.
	* src/ixp425.c: Moved this file...
	* src/bus/ixp425.c: ...here.
	* src/pxa250.c: Moved this file...
	* src/bus/pxa2x0.c: ...here.
	* src/sa1110.c: Moved this file...
	* src/bus/sa1110.c: ...here.
	* src/bus/Makefile.am: New file.
	* src/Makefile.am (SUBDIRS): Added bus.
	(jtag_SOURCES): Removed bus.h, ixp425.c, pxa250.c, sa1110.c.
	(jtag_DEPENDENCIES): Added libbus.a.
	(jtag_LDADD): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@368 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4e5cbded38 2003-02-17 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_FUNCS): Added getdelim and getline.
	(AC_CONFIG_FILES): Added src/lib/Makefile.
	* src/Makefile.am (SUBDIRS): Added lib.
	(jtag_DEPENDENCIES): Added libjtaglib.a.
	(jtag_LDADD): Ditto.
	* src/jtag.c: Added portable getline() declaration.
	* src/lib/Makefile.am: New file.
	* src/lib/getdelim.c: Ditto.
	* src/lib/getline.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@361 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b7738d12bf 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_SOURCES): Added new flash files with flash driver
		framework (August Hörandl).
	* src/flash-amd.c: New file with AMD flash support (August Hörandl).
	* src/flash-intel.c: New file. Extracted Intel flash support from src/flash.c
		file (August Hörandl, me).
	* src/flash.c (set_flash_driver): New function. Added support for flash
		drivers (August Hörandl).
	(flashceck): Ditto.
	(flashmsbin): Added support for flash driver (August Hörandl).
	(flashmem): Ditto.
	(flash_erase_block): Function moved to src/flash-intel.c (August Hörandl).
	(flash_unlock_block): Ditto.
	(flash_program): Ditto.
	(flash_erase_block32): Ditto.
	(flash_unlock_block32): Ditto.
	(flash_program32): Ditto.
	* src/flash.h: New file. Interface for flash drivers (August Hörandl).
	* src/help.c (help): Added list of supported flash drivers for 'flashmem'
		command (August Hörandl).
	* src/readmem.c (detectflash): Removed Intel specific code. Enhanced output
		messages (August Hörandl).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@356 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 17bb0adbbc 2003-02-13 Marcel Telka <marcel@telka.sk>
* src/ixp425.c: Added bus driver for Intel IXP425 (Christian Pellegrin).
	* src/bus.h: Ditto.
	* src/jtag.c (main): Ditto.
	* src/Makefile.am (jtag_SOURCES): Added ixp425.c (Christian Pellegrin).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@345 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0ac86537b0 2003-01-05 Marcel Telka <marcel@telka.sk>
* include/register.h (register_inc, register_dec, register_shift_rigth,
		register_shift_left): Added new functions.
	* src/tap/register.c (register_inc, register_dec, register_shift_rigth,
		register_shift_left): Ditto.
	* src/Makefile.am: Added discovery.c file.
	* src/discovery.c: Added new file with discovery() implementation.
	* src/help.c (help): Added help for 'discovery' command.
	* src/jtag.c (main): Added 'discovery' command.
	* src/tap/tap.c (write_command): Removed unused function.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@291 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b165bbbaf8 Moved help command implementation to separate file (help.c).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@270 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f3e1cddadf JTAG data dir path is now configurable via configure script.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@261 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 23f6927ce7 Added detect_cfi().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@236 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka dadea18e33 Added bus driver architecture.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@227 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka af3870faca Added support for strata flash programming.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@225 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 09884928dd Added bus operations for SA1110.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@209 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 29c14582f4 Added openwince include module dependency.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@204 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 058af3d585 Added detect.h into jtag_SOURCES.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@194 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 895ec4fdbc Added initial command line interface to jtag.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@131 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka cfa3e30773 Removed -lioperm.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@98 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 248ed10446 Added part library (libpart).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@74 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 0fb300488a Added initial simple JTAG parts detector.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@71 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago