Mike Frysinger
a53f454f64
fix whitespace in bf538f_ezkit bus line
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1625 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
01838a708a
change some errors to fatals
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1624 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
5ef5c39b9a
port BSDL message system to urj_log/urj_err_set functionality
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1623 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
324c76a696
Add an option to skip building the main programs (--disable-apps)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1622 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
915126d9dd
fix obsolete reference to bsdl2jtag script in src/Makefile.am
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1621 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
c38a0135b1
replace wrapper shell script with application that links to liburjtag
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1620 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
5475adaba1
replace remaining printf invocations with urj_log
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1619 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
64b645b989
verify speed-up: use URJ_BUS_READ_START, _NEXT,
...
and _END instead of monolithic URJ_BUS_READ
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1618 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
6e813203d3
rework autoselect probing
...
better support of x8/x16 capable flash chips
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1617 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
22e4e6daa6
Building under Cygwin w/ gcc-3.4.4 yielded more uint32_t \!= long unsigned printf warnings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1616 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
19ea1ee344
use URJ_STATUS_ return codes except on toplevel interface, this needs to
...
be revisited
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1615 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
994fb1b818
decode the bit stream displayed by idcode into hex values automatically for the user
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1614 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
1eef94ea87
convert the local bits_to_uint64() to a proper exported urj_tap_register_get_value() like the urj_tap_register_get_string() function
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1613 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
0ca7bfc9f5
fix the idcode usage to describe what it actually does
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1612 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
7dc9b20200
fix confusing output when bit 0 of the idcode is not 1 as required by jtag spec
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1610 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
d64f2ddca1
allow for explicit control over -Werror flag similar to how most GNU toolchain packages work
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1609 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
f4a3188ed1
2009-05-21 Mike Frysinger <vapier@gentoo.org>
...
* data/xilinx/PARTS: added xc3s1200e_fg320 and xc2vp30-ffg896 (Florian
Fainelli)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1608 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
27b98ebaf9
added bcm6348 (Julien Aube)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1607 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
dec5f8f6dc
make urj_log into a macro. Principal reason: if urj_log won't print, it also
...
won't evaluate the arguments so there is no performance penalty in having
gazillion disabled low-level prints;
src/bus to use urj_log() i.s.o. printf; set urj_error wherever appropriate;
return FAIL/OK state where appropriate. read_start() now returns status.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1606 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
64ae992278
Replace urj_debug_mode in cmd_debug with setting urj_log_state.level
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1605 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4d0c186493
Wha, some gcc versions are much more pickier than others in their int promotion rules
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1604 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
a837a66041
Accidentally, put in nanosleep calls. Restore to usleep
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1603 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4a1a29aa74
Forgot to add usleep.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1602 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
7384c11cab
Make it compile for my eCos BlackFin checkout.
...
- numerous casts because "%zd" ever requires a size_t, even for a manifest
constant; and because a uint32_t should be cast to a long unsigned to be
printed with "%lu" (long unsigned is at least 32-bit)
- move include/urjtag/urjtag.h to include/urjtag/urjtag.h.in and only
export .h files for modules actually configured: USB, SVF, BSDL are
only conditionally exported
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1601 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
d7adb29de7
added Winbond W19B320AT/B flash chip
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1600 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
e68bf276bd
[ 2770421 ] Patch: Support for IXP43x (Florian Boor)
...
without jtag description files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1599 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
e66ca022bd
[ 2782584 ] PPWDATA and PPWCONTROL ioclts take unsigned char not uint8_t (Yen Rui)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1598 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
b4ec05ed41
document return value
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1597 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
8b1b595474
implement pass/fail return values with URJ_STATUS_*
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1596 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
951498a8df
Move sysdep.h from include/urjtag/ to the root dir, pending a private include dir
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1595 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
603611e442
* src/tap/cable/*.c: convert return values, error handling, printfs
...
* src/**: globally remove \n or !\n from error detail msgs; sanitize
error prints a tiny bit
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1594 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
f7b75f7289
Silly omission of != URJ_STATUS_OK in src/cmd/cmd_peekpoke.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1593 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
250a2d2b86
Fix typo in src/cmd/cmd_svf.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1592 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
56502adbe5
Fix scope/loop bug in src/cmd/cmd_svf.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1591 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
0064c8b83a
Introduce URJ_ERROR_FTD, _USB. Adorn the error detail there w/ the appropriate error print. Introduce urj_error_IO_set that handles errno transparently
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1590 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
899f07f7c3
Mwah, if -O then I get another warning (possibly uninitialized -- untrue but fixed)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1589 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
0c44282a7f
The commands in src/cmd/* now return URJ_STATUS_OK, URJ_STATUS_FAIL (or
...
URJ_STATUS_MUST_QUIT), in accordance with the rest of the library.
The caller of a command must decide how to handle an error (e.g. by printing
its detail message).
print routines in the library (e.g. bus) are equipped with a urj_log_level_t
parameter to control their verbosity.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1588 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
d0aa877eb0
invert abort condition for break timeout
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1587 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
9da936eb61
Install log.h but not sysdef.h
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1586 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
ec6bd3f4f9
hint for non-standard flash commands
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1585 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
3b07f4f4fb
Add automake magic to avoid -Werror for flex-generated files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1584 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
62fe7ae483
- replace print_progress with DETAIL log level
...
- avoid -Werror to bail out because of unused input() functions in flex-generated files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1583 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
dc0c2cf5d2
Move the include() functionality from cmd/cmd_include to an API function in global/parse/. Replace the urj_cmd_run() call in urj_tap_detect_parts() with with a call to that API function
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1582 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
fa3506e420
Replace occurrence of urj_cmd_run() in tap/detect.c with an API call urj_part_instruction_define()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1581 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
70aa54c17b
Replace occurrence of urj_cmd_run() in svf.c with an API call urj_part_instruction_define()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1580 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
e9e0469be8
Convert src/tap/*.c and src/tap/parport, src/tap/usbconn/ to use urj_log() and urj_error() i.s.o. printf. Introduce urj_warning that prints __FILE__ __func__ __LINE__
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1579 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
db5c70eedd
[ 2782581 ] TRST, TMS and TDI incorrectly marked in wiggler2 cable (Yen Rui)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1578 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
52984d817d
removed getdelim.c and getline.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1577 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
3a3ff6292b
src/jim/tap.c renamed to jim_tap.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1576 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
bd16685b4d
[ 2776954 ] typo? on 'help test'
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1575 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
4e1920403a
fix typo in S29GLxxxN, twice
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1573 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
4b4440dc38
fix typo in S29GLxxxN
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1572 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d144dbf8f0
Refactor svf/ to use urj_log()/urj_error_set() i.s.o. printf()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1571 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1206f1ddb1
Remove lib/getline.c, lib/getdelim.c; refactor src/global to use urj_log()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1570 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
10bb27ff2a
Move src/jim/tap.c to src/jim/jim_tap.c. Use urj_log() in src/jim i.s.o. printf()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1569 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4dc7aa24f2
Start refactoring on jim/. We will need to move src/jim/tap.c to src/jim/jim_tap.c, but first commit the current changes. Does not run\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1568 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
8f5fc697b8
Fix warnings (and some of them were actually errors in a new API call)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1567 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
e09387a550
start replacing calls to printf() with calls to urj_log(), for starters with src/part
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1566 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
ea6e5afaaf
Forgot a few error_get_reset -> error_reset transforms
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1565 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
17c88df4bf
Introduce manifest BSBIT_DONTCARE value for bits - let the library handle the choice
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1564 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
8d1a8d91af
Move a number of urj_cmd_run calls from the library, and replace them with API calls
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1563 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
726681b3f3
Revert s/PART/bus->part/ in string
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1562 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
e99a3289b6
Move control bit number check before mallocs in bsbit_alloc
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1561 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
3e0430466d
The fix for my bsbit_alloc bug was still wrong
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1560 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
05c742ca7a
Fix bug I introduced in bsbit_alloc; fix error returns from API routines in cmd
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1559 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
63295937a6
Revert some erroneous/unnecessary prefixes (URJ_JIM_RESET -> RESET; URJ_SVF_)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1558 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1b394b8042
Transform commands 'bus' and 'detect' into API calls
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1557 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
138b69dae3
Sanitize src/cmd a bit: have a src/cmd/cmd.h with extern declarations, move some apparently local functions from include/urjtag/cmd.h to src/cmd/cmd.h
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1556 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1c30e6ea55
%s/cmd_xfer_cx_cmd/cx_cmd/g
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1555 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
64f039c8d1
Repair a few small layout thingies
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1554 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c1d0800d87
indent the C code in .y and .l files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1553 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d57bcb0c31
Do svn:ignore propedit to get rid of the .libs subdirs, and correctly handle the new src/include dirs
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1552 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
90f771f1eb
Try to do .cvsignore for new src dirs, and add .libs everywhere appropriate
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1551 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
5a1e4577a3
Reflect the moved src files in POTFILES.in
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1550 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c416502a8f
Add include/urjtag/parse.h
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1549 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
2a9d4a9e3b
Sanitize urjtag/jtag.h; move data_dir.c from cmd/ to global/; fix indent in flash/*c; check for c99 in configure.ac
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1548 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
095f6085ce
Refactor a bit so that a make install also does an include/urjtag install. Problem: I don't know (yet) how to handle config.h, even though it is included in sysdep.h
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1547 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
b9285d7c78
Need to add source files in POTFILES.in
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1546 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6c64d1861e
Repair the build stuff for apps/jtag/jtag
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1545 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
a2257378b3
Trying to restore the mv i.s.o. the delete/add: Step III - compiles again (but the apps/jtag/jtag stuff is still broken)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1544 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
a6e31a3b1b
Trying to restore the mv i.s.o. the delete/add: Step II -- does not compile
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1543 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
3dd4f713ea
Trying to restore the mv i.s.o. the delete/add: Step I -- does not compile
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1542 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
adf6ffa644
Apparently forgot to really svn mv the include files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1541 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1a618339c9
Move jtag.c to apps/jtag/; move global vars from jtag.c to global/urjtag.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1540 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
08e72f4335
Move all include/* to include/urjtag/; start lifting command implementations into their library modules
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1539 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6fb6e82dbd
Move the .h files in include/flash/ to src/flash. Step 2. Compiles again.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1538 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
621b9bc084
Move the .h files in include/flash/ to src/flash. Step 1. DOES NOT COMPILE\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1537 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
e5b34b6286
Reverted a few more prefix-replaced strings (urj_flash_cfi_array)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1536 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d37d7014c5
Reverted a few prefix-replaced strings (discovery, readmem, writemem, detectflash, flashmem)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1535 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
adc9b7815c
Remove a global variable jtag_argv0: replace by a static var and a setter call
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1534 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
4055a8bbc4
add more Blackfin register/instruction JTAG encodings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1533 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
be6ebb2c61
update bf518 bsdl settings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1532 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
b252e04ddc
Use libtool: patch in the changes by Przemyslaw Iskra
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1531 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
69f787a86b
Remove casts of malloc result; add notes on unchecked malloc result
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1530 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
fe5e343529
Rename register.h to tap_register.h, instruction.h to part_instruction.h PART II -- compiles again
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1529 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
970893163c
Rename a few globals that had escaped; rename register.h to tap_register.h, instruction.h to part_instruction.h PART I -- does not compile\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1528 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6634b563fe
po/POTFILES is aware of file names. When renaming, update here too
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1527 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
40aab582ec
Renamed global variables to carry urj_ prefix. Redid indent.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1525 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4ee78e6020
Before we do global-variable renaming, do a few by hand because the chance of name duplication is too big: bus, buses, cmds. Also fix some buglets relating to use of global variable 'bus' where a local parameter is intended
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1524 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4c2448d871
Rename *.c to cmd_*.c in cmd/. PART 1 of 2. Incomplete commit\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1523 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
fd086d2055
When typedef'ing of a (public) enum, give the enum a (systematic) name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1522 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
2dc3c156f5
Run indent again over the renamed code. ToDo: indent the bison and flex files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1521 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d715fae138
Handle #define layouts by hand. Fix the occasional #define BLA if (x) act(): wrap in do { ... } while
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1520 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6a4ef2b9c9
Rename exported functions, variables, types, enums, defines to prefix urj_/URJ_ and prepend module path
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1519 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
0962872270
Weird editor buglet
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1518 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
3d545ea542
Forgot one place for instruction -> instruction_t
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1517 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
730687ff7a
Of all typedefs, only 3 don't have _t suffix. Add.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1516 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d99bad640d
Make some variables that are in fact file-local static
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1515 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1c1fa836b9
Enable -Wmissing-prototypes
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1514 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c42619d1e6
Rename tap.c:idcode() by hand because this name is used in many different places, and it should only be renamed for this one
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1513 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
2f94119d73
Macro definitions don't allow whitespace before (argument list). Now I know
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1512 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c488ad4dc2
By hand, rename the bitmask macros because they also occur within strings or comments where they should remain unchanged
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1511 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
7ecd47c474
Do the indent again, but pass in -T <type> for each typedef. I included FILE and uint32_t and friends, but who knows what system types I forgot
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1510 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
dd60ee16a2
Rename state.h to tap_state.h before we do changes based on file name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1509 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4864b87f8d
Rename state.h to tap_state.h before we do changes based on file name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1508 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
317fdb387c
Run indent over .c and .h files (except libiberty and gettext imports)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1507 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
41a1720498
Copy jtag/ to urjtag/.
...
This is the very first step in converting the jtag/ tree into a library
structure. All changes will be done on urjtag/. For a grace period, jtag/
will live on as a bug-fix-only release.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1506 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago