aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-08dsp563xx: add x, y and p memory accessMathias K2-73/+311
Hello, this patch add commands to access to x,y and p memory. For run time optimization some local jtag function was changed to static inline. Regards, Mathias
2011-02-08cortex_a8/a9: fix some commentsLuca Ellero2-8/+8
Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-08buf_set_buf around 30% speed increaseMathias K1-7/+22
Also i have checked the input of this function and in many cases a simple byte copy is possible. I have added this check now and is it possible the buffer is copied byte by byte and not bit by bit. With byte boundary input the test looks like this: buf_set_buf 0x02000000 iteration test: runtime (seconds): old: 6.828559 new: 0.436191 diff: 6.392368 runtime (seconds): old: 6.853636 new: 0.430389 diff: 6.423247 runtime (seconds): old: 6.794985 new: 0.423065 diff: 6.371920 Without: buf_set_buf 0x02000000 iteration test: runtime (seconds): old: 6.370869 new: 5.552624 diff: 0.818245 runtime (seconds): old: 6.420730 new: 5.665887 diff: 0.754843 runtime (seconds): old: 6.583306 new: 5.599021 diff: 0.984285 Regards, Mathias
2011-02-04stm32x: add support for STM32F20xØyvind Harboe4-0/+778
ready for wider testing and comments on basic erase + programming. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-02-03more changes to dsp563xx codeMathias K4-462/+1025
Hello, this patch adds the missing cpu registers and the correct read/write register functions and fixed most of the halt/step/resume issues. The complete missing error propagation was added. + fix tab/spaces Regards, Mathias
2011-02-0324bit buffer supportMathias K3-0/+44
Hello, this patch add 24bit support to the target buffer functions and little/big endian functions. Regards, Mathias
2011-02-02omap4430: fix reset sequenceAaron Carroll1-8/+3
* Write to the PRM reset control register should have been 'phys'; * Setup empty reset-assert handlers for the M3's, since the board-level reset takes care of them; * Remove the dbginit cruft, because it gets called implicitly on reset. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-02-02cortex_m3: allow scripts to override resetAaron Carroll1-0/+10
If a handler for the reset-assert event it present, skip the usual reset handling. This is needed, for example, for board-level resets. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31error: remove debug output when reporting errorsØyvind Harboe1-1/+2
The user does not need to know or care about "command handlers". Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-31cfi: use ARM32 machine code on all CPUs but Cortex M3Øyvind Harboe1-6/+2
ARM11 broke with aa61a3b3d8b6acad19050987835ec05f3d298bdb as the code only checked for arm 7/9. CFI probably needs work for non-ARM targets but perhaps not adding working area memory to e.g. MIPS will give the default slow CFI support. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-31TCL configs for OMAP4430 and PandaboardAaron Carroll2-0/+112
Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31cortex_a9: add source files for Cortex A9 support.Aaron Carroll4-1/+2275
add target and build support for A9 Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31arm_dpm: add some SCR/RCR macrosAaron Carroll1-2/+8
Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31Add '-coreid' target option to support multiple cores per TAP.Aaron Carroll2-0/+23
ARM Cortex-A9 multi-core chips expose a single TAP/DAP which connects to both cores. The '-coreid' option selects which core the target should connect to. Note that at present, OpenOCD can connect to either core, but not both simulatenously, until ADI contexts can be shared. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31Add cscope to .gitignoreAaron Carroll1-0/+3
Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31openocd.texi: minor fixes in Reset ConfigurationAaron Carroll1-2/+2
Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-27add cortex-r4 etm id to dap infoMathias K1-2/+7
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-27- add xds100v2 configuaration fileMathias K1-0/+8
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-26Fixed small mistakes in at91sam3 info commandThomas Schmid1-1/+3
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-26add basic TI xds100v2 supportMathias K1-0/+94
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-26fix segfault from stack corruption in ahbap_debugport_initAndreas Fritiofson1-5/+4
ahbap_debugport_init was queueing reads to a local stack variable but didn't execute the queue before returning. Since the result of the reads are not used anyway, it's better to pass NULL as the destination instead of a dummy variable. I changed this throughout the function, even for the reads that were actually executed. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-19stellaris: automatically generate and update device IDsEric Wetzel2-0/+97
Added a Perl script to contrib that uses the header files in StellarisWare complete Firmware Development Package provided by TI/Luminary to generate a new list of device IDs Used Perl script and revision 6734 of TI/Luminary StellarisWare to update device IDs
2011-01-14Flash driver for em357Erik Botö3-0/+980
Hi, I took the stm32x NOR flash driver and adapted it for the Ember EM357 chip. This chip is very similar to em351 and stm32w so the driver should be easily extended to support those as well if anyone can get their hands on some of those for testing. changelog: Added NOR flash driver em357 Best regards, Erik Botö
2011-01-14str9xpec: Find flash controller from the chain.Santeri Salko3-2/+4
Find the flash controller by position since it is before the core, not after it. This fixes the problem that str9xpec enable_turbo (or any other str9xpec command) did not work. (See my post in http://forum.sparkfun.com/viewtopic.php?f=18&t=25542) Signed-off-by: Santeri Salko <santeri.salko@gmail.com>
2011-01-13transport: fix transport command args gaffesimon qian1-3/+3
the wrong index of argv. argv[0] is the command itself, argv[1] the the transport to select. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-13transport: fix LOG_DEBUG gaffesimon qian1-2/+4
LOG_DEBUG() arguments are only evaluated when DEBUG logging is enabled, do not use arguments that have side effects like foo++. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-10cfi: fix release build warningsSpencer Oliver1-2/+2
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-09nit: more LOG_* \n fixesEric Wetzel16-76/+72
Remove extra \n from LOG_DEBUG, LOG_INFO, and LOG_WARNING messages Remove LOG_INFO_N LOG_INFO_N was only used once and had a \n at the end Change LOG_USER_N calls that end with \n to LOG_USER
2011-01-09Add another level of procedures to LPC2xxx initialization - procedures for ↵Freddie Chopin7-21/+105
specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2011-01-09present CM3 Trace agendaDavid Brownell2-0/+509
2011-01-07Add common LPC2xxx setup procedure, use in all LPC2xxx files.Freddie Chopin8-238/+85
Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2011-01-06cfi: use safer arch detectionSpencer Oliver1-2/+8
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-06loader: update loader src for armv7-m archSpencer Oliver2-4/+6
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-06Add the support for the armv7m arch.Jonathan Dumaresq1-15/+64
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
2011-01-06Add the contrib file for the armv7m archJonathan Dumaresq1-0/+79
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
2011-01-05nit: do not add \n at end of LOG_ERROREric Wetzel15-63/+63
Fixed in many other places, and submitted in response to Øyvind's invitation.
2011-01-04mips32: add fastdata loader working areaSpencer Oliver6-11/+29
Add a working area that is preserved between calls to mips_m4k_bulk_write_memory - this gives us a speed increase of approx 3kb/sec during flash writes to the pic32mx. This area is released during a resume/reset. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-04target: change working area free data typeSpencer Oliver2-3/+3
We only use the struct working_area member 'free' as a true/false type so might as well use a bool data type. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-03nit: do not add \n at end of LOG_ERRORØyvind Harboe1-4/+4
This is done in many other places as well, patch to fix gratefully accepted!
2011-01-03error handling: the error number is not part of the user interfaceØyvind Harboe12-29/+26
Do not propagate error number to user. This is for internal programming purposes only. Error messages to the user is reported as text via LOG_ERROR(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-02actux3.cfg: add function to setup for u-boot debuggingMichael Schwingen1-0/+22
Signed-off-by: Michael Schwingen <michael@schwingen.org>
2011-01-02cfi_protect is not implemented on Spansion flashes (many do not even have ↵Michael Schwingen1-2/+2
protection bits). Demote from error to warning, so that common board code can use "flash write_image erase unlock" regardless of the flash type. Signed-off-by: Michael Schwingen <michael@schwingen.org>
2011-01-02non-CFI flash code uses data from CFI structures. Make sure that timeouts ↵Michael Schwingen2-99/+98
are filled in on non-CFI flashes, and print CFI information in all cases, nut just on CFI flashes. Signed-off-by: Michael Schwingen <michael@schwingen.org>
2011-01-02svf: implement sleep for RUNTEST min_timeJon Povey1-30/+28
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk> min_time was effectively ignored, I needed it to program a Lattice MachXO which uses a RUNTEST to wait for an erase operation, amongst other things. With this patch pauses happen and I can program the device with an SVF generated in LSC ispVM (with "Rev D Standard" checked to suppress nonstandard LOOP statements)
2011-01-02svf: fix USAGE and related error reportingJon Povey1-9/+4
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
2011-01-02NAND/S3CXXXX: remove private "target" copyAntonio Borneo7-33/+16
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2011-01-02NAND/ORION: remove private "target" copyAntonio Borneo1-13/+5
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2011-01-02NAND/NUC910: remove private "target" copyAntonio Borneo1-21/+7
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2011-01-02NAND/MX3: remove private "target" copyAntonio Borneo2-22/+11
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2011-01-02NAND/MX2: remove private "target" copyAntonio Borneo2-20/+11
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>