aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-22bootstrap: by default the submodules are initializedØyvind Harboe1-7/+10
use "nosubmodule" to skip setting up submodules. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-21server: remove error value from LOG_INFOØyvind Harboe1-1/+1
the error values is not part of the interface to the user, so they should never be printed in LOG_INFO or LOG_USER. Printing them in LOG_DEBUG() rarely makes much sense but is OK. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-20tcl/interface/flashlink.cfg: Fix broken ST URLTormod Volden1-1/+1
2010-12-20tcl/board: Clean up STM32 EVAL boards configurationsTormod Volden5-15/+8
Make consistent use of hex memory size for flashing. Delete stm32f10x_128k_eval.cfg. It has no product reference nor any settings in it.
2010-12-20tcl/board: Fix ST URLs in stm32* eval board configuration filesTormod Volden4-8/+8
ST recently rewamped (screwed up) their web site and broke all links. Also match the chip names with those on the web site product descriptions.
2010-12-19update IXP42x target / XBA board configMichael Schwingen3-96/+130
2010-12-18Add support for Hilscher netX controllersMichael Trensch15-9/+431
2010-12-18script: support only Tcl commentsØyvind Harboe1-9/+0
Only Tcl comments are now supported. For classic style commands comments were supported at the end of the line. Move in the direction of letting the script language decide syntax, rather than have special rules for some commands. Before this patch goes in, the scripts should be updated to use ;# instead of # for end of line comments. > mdw 0 1 2 mdw ['phys'] address [count] zy1000.cpu mdw address [count] Command handler execution failed in procedure 'mdw' > mdw 0 1 #2 mdw ['phys'] address [count] zy1000.cpu mdw address [count] Command handler execution failed in procedure 'mdw' > mdw 0 1 ;#2 0x00000000: ffffffff > mdw 0 1 0x00000000: ffffffff > mdw 0 0x00000000: ffffffff Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-18TCL: fix non TCL commentsAntonio Borneo28-732/+732
End of line comments fixed with ';' before '#'. Added few additional 'space' to keep indentation in multi-line comments. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-16openocd doc: update the comments about Jim Tcl a bitØyvind Harboe1-19/+27
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-16Fix for compilation failure amt_jtagaccel.cJohn Devereux1-0/+3
Hi, I think there are errors in amt_jtagaccel.c I attach a small patch that I needed to make it compile.
2010-12-15Fix for segfault in handle_nand_dump_command.Paul Richards1-5/+5
2010-12-15stm32: fix unprotectØyvind Harboe1-4/+11
the unprotect fn in stm32 needs to unprotect more sectors than was requested aligned to some boundary. Print warning when this happens. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-15flash: clarify protect documentationØyvind Harboe1-3/+6
some chips unprotect more than the range asked for. The protect fn, must unprotect/protect minimally the range given. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-10contrib: add source to the cfi flash loadersSpencer Oliver8-6/+475
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10contrib: make sure loaders use correct archSpencer Oliver4-0/+6
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10stm32: add STM32E-EVAL external memory config scriptSpencer Oliver1-0/+56
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: disable buffer writes for M29W128GSpencer Oliver2-5/+16
For some reason buffer writes for the M29W128G do not work reliably, so disable them. See: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=504a3e72208fc6a65924426ff5693982590bccdc Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: allow optional buffer write supportSpencer Oliver2-2/+12
Some flash's do not support buffer writes, so we now check they are supported before trying to use them. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: calculate correct timeoutsSpencer Oliver2-16/+29
The existing code used incorrect timeout values for the various cfi operations. We now calculate the timeouts and convert to msecs if necessary. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: prefix string hex outputSpencer Oliver1-12/+12
Add hex prefix so we know output is not decimal. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: add time format to cfi query outputSpencer Oliver1-8/+11
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: whitespace and long line cleanupSpencer Oliver1-282/+389
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10Fix for segmentation fault from freed memory access in ↵Paul Richards1-13/+9
jtag_unregister_event_callback()
2010-12-09remove srst_pulls_trst from LPC2xxx target scriptsFreddie Chopin6-12/+6
LPC2xxx do not require reset_config srst_pulls_trst. This can cause various "strange" problems when flashing the chip, because "reset halt" actually allows the chip to run for some short period of time and execute some code. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-12-08build: fix build from previous commitSpencer Oliver2-2/+2
commit 740b9e25b410c164e661d0334a9ea4168406726b broke the drivers for ftdi and parport due to retval already being defined. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08jtag: getting the JTAG speed can failØyvind Harboe11-27/+71
If the JTAG speed has not been set, then it has no defined value, add code to propagate the error. No change to actual behavior as no new failure paths have been introduced. This is a no-op patch to make subsequent patches smaller. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-07svf: various improvementsAndrew Leech1-78/+292
* added support for targeting particular tap * improved file reading * improved command line parsing * added progress meter * more readable time measurement output
2010-12-05lpc2478 target config: CCLK as (mandatory) parameterRolf Meeser1-4/+7
2010-12-04xscale: trace buffer remains enabled until explicitly disabledMike Dunn2-54/+97
Hi everyone, Since a call went out for patches... been sitting on this for months. For some reason, the xscale trace buffer is automatically disabled as soon as a break occurs and the trace data is collected. This patch was a result of the frustration of always re-enabling it, or else hitting a breakpoint and checking the trace data, only to discover that I forgot to re-enable it before resuming. Don't see why it should work this way. There is no run-time penalty, AFAIK. Along the way, I also cleaned up a little by removing the ugly practice of recording wrap mode by setting the fill count variable to "-1", replacing it with an enum that records the trace mode. I've been using this for months. Comments, criticisms gratefully received. Mike Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2010-12-04Add board config for Embedded Artists LPC2478-32Rolf Meeser1-0/+148
2010-12-04Fix flash name in Hitex LPC2929 board configRolf Meeser1-1/+1
2010-12-04Fix sector layout for 504-KiB LPC2000 devicesRolf Meeser1-4/+7
2010-12-03stm32: set default soft reset configSpencer Oliver1-0/+4
If no srst is configured then default to using sysresetreq to reset the target. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-03luminary: remove unused config cmds.Spencer Oliver5-31/+0
Due to commit e40aee2954d2beabe1d8c530d9ff1e564fb01f48 we now honour the targets 'reset_config' setting. Previously we ignored the srst setting for luminary targets. Luminary targets have never supported using srst to reset into debug mode so remove the option from the target configs files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-03cortex_m3: change cortec_m3 reset_config behaviourSpencer Oliver2-19/+2
Currently the cmd 'cortex_m3 reset_config' will overide the default target's 'reset_config'. Chnage the behaviour to use the target 'reset_config' if configured and fallback if not. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-02config: fix luminary jtag configSpencer Oliver1-3/+0
When this config was updated in commit e3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1 the old jtag declaration was not removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-02rename some target scripts to be consistent with the restFreddie Chopin3-0/+0
Rename Atmel target scripts which had wrong name ("at91" missing for ARM7 AT91SAM7..., "at" missing for AVR ATmega...) Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-12-01profile: use 100Hz as a default sampling frequencyØyvind Harboe1-2/+2
it's a lie that is somewhere in the vicinity of the truth. Certainly 64MHz confuses gprof and produces zero output and no error messages. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-01lpc2900.c: Improve debug output for device probingRolf Meeser1-1/+5
2010-12-01lpc2900.c: Add support for new device LPC2926Rolf Meeser1-1/+5
2010-12-01LPC2900: Avoid false positive reprobing if first probing failsRolf Meeser1-7/+11
2010-11-30Some cosmetic fixes to the Lisa/L layout support functions.Piotr Esden-Tempski1-5/+1
2010-11-30Added support for the blinking leds on Floss-JTAG v0.3 and newer.Piotr Esden-Tempski2-1/+58
2010-11-30Updated Floss-JTAG config file to support v0.3 and newer. Also added ↵Piotr Esden-Tempski2-1/+29
noeeprom version of the config file for older versions of Floss-JTAG.
2010-11-26build: fix make install with jimtclSpencer Oliver1-0/+0
Update subproject jimtcl to fix issue with make install. see jimtcl commit 373b721510fd2d0754a41cc70a3b7cfd02e929bd Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-26build: correct configure help messageSpencer Oliver1-1/+1
As we default to building jimtcl the help text should show that. No change in functionality or configure args required. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-23FLASH/NOR: Rename spearsmi.c to stmsmi.cAntonio Borneo2-1/+1
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-23FLASH/NOR: rename from spearsmi to stmsmiAntonio Borneo5-89/+90
STMicroelectronics controller SMI is not SPEAr specific. Rename it and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-23STR750: Add SMI interface supportAntonio Borneo2-35/+55
Modified spearsmi driver to include support for STR75x Added missing initialization in tcl file for STR750 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>