]>
git.sur5r.net Git - openocd/log
Martin Schmölzer [Mon, 20 Jun 2011 17:49:24 +0000 (19:49 +0200)]
Include ULINK driver in src/jtag/interfaces.c
Martin Schmölzer [Mon, 20 Jun 2011 17:49:49 +0000 (19:49 +0200)]
Add OpenULINK firmware
Build requires SDCC, the Small Device C Compiler.
Martin Schmölzer [Mon, 20 Jun 2011 17:48:40 +0000 (19:48 +0200)]
Add source code for new ULINK driver
Drasko DRASKOVIC [Wed, 22 Jun 2011 10:45:21 +0000 (12:45 +0200)]
Fix load_image for ELF with all p_paddr set to zero
So far image_load command tries to load ELF binaries to address
discovered by reading p_paddr member of a Program header of an ELF
segment.
However, ELF specifications says for p_paddr : ...Because System V
ignores physical addressing for application programs, this member has
unspecified contents for executable files and shared objects.
ARM ELF specifiaction goes even further, demanding that this member
be set to zero, using the p_vaddr as a segment load address.
To avoid the cases to wrong addr where p_paddr is zero,
we are now using p_vaddr to as a load destination in case that *all*
p_paddr == 0. Basically, this patch re-implements the approach present in
BDF's elf.c, which is used by GDB also (so that we can be consistent).
Spencer Oliver [Fri, 17 Jun 2011 11:22:37 +0000 (12:22 +0100)]
build: do not included generated files in distribution
We have to use this method as automake seems to ignore nodist_ on libs.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Spencer Oliver [Fri, 17 Jun 2011 11:21:01 +0000 (12:21 +0100)]
build: add missing files to make dist
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Spencer Oliver [Fri, 17 Jun 2011 08:28:02 +0000 (09:28 +0100)]
build: pass correct flags to jimtcl during make distcheck
This is only for the case of a make distcheck.
During a normal release build these flags will be created by configure.gnu
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Spencer Oliver [Fri, 17 Jun 2011 08:26:18 +0000 (09:26 +0100)]
build: add missing files from dist release
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Tomek CEDRO [Thu, 16 Jun 2011 06:54:58 +0000 (06:54 +0000)]
ADAPTER: Fixed transport selection mechanism to support transports other than jtag (if defined).
Tomek CEDRO [Thu, 16 Jun 2011 07:09:41 +0000 (07:09 +0000)]
OPENOCD: Renamed ambiguous main2() into openocd_thread() to show possible solution for thread support in future.
Dale Lukas Peterson [Wed, 15 Jun 2011 22:12:54 +0000 (15:12 -0700)]
Added Olimex STM32 {H,P}107.cfg board
Øyvind Harboe [Mon, 13 Jun 2011 13:42:46 +0000 (15:42 +0200)]
transport: move files over to transport folder
as we introduce swd and jtag as two transports, we want
to start up with a new transport folder to organize the
code a bit.
Øyvind Harboe [Sun, 12 Jun 2011 09:33:37 +0000 (11:33 +0200)]
HACKING: add tip on how to write comments
rlrosa [Fri, 10 Jun 2011 20:26:47 +0000 (13:26 -0700)]
added minimodule interface
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:24:55 +0000 (12:24 -0700)]
doxy more
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:24:27 +0000 (12:24 -0700)]
doxy & cleanup
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:52 +0000 (12:23 -0700)]
fix protection behavior
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:34 +0000 (12:23 -0700)]
cleanup trailing whitespaces
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:17 +0000 (12:23 -0700)]
flash speed improved
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:21:49 +0000 (12:21 -0700)]
removed unnecessary actions/controls
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:21:22 +0000 (12:21 -0700)]
cleanup flash module command
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:20:59 +0000 (12:20 -0700)]
fix read for verify_image
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:20:18 +0000 (12:20 -0700)]
fix read speed improved by queueing commands
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:19:58 +0000 (12:19 -0700)]
fix flash driver size, sector erase
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:19:32 +0000 (12:19 -0700)]
Added minimodule (ftdi) interface
Laurent Charpentier [Mon, 6 Jun 2011 10:47:52 +0000 (12:47 +0200)]
Added configuration file for STM3220G-EVAL board.
Laurent Charpentier [Mon, 6 Jun 2011 09:51:38 +0000 (11:51 +0200)]
Added configuration file for stm32f2xxx.
Øyvind Harboe [Tue, 7 Jun 2011 15:58:41 +0000 (17:58 +0200)]
Silence -O3 warning
Freddie Chopin [Fri, 3 Jun 2011 20:10:03 +0000 (22:10 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover changes
Stefan Mahr [Fri, 3 Jun 2011 09:10:34 +0000 (11:10 +0200)]
mips: add nor flash write from memory block
Rodrigo L. Rosa [Thu, 2 Jun 2011 16:59:18 +0000 (09:59 -0700)]
crc check on flashed data
Rodrigo L. Rosa [Thu, 2 Jun 2011 16:52:33 +0000 (09:52 -0700)]
code cleanup
Freddie Chopin [Fri, 3 Jun 2011 20:13:35 +0000 (22:13 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixes
Freddie Chopin [Fri, 3 Jun 2011 20:10:03 +0000 (22:10 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
Bear [Thu, 2 Jun 2011 10:17:28 +0000 (12:17 +0200)]
uptech2410
Tormod Volden [Wed, 1 Jun 2011 18:59:52 +0000 (20:59 +0200)]
bootstrap: Various code improvements
- Do not specify -e twice.
- Use "which" instead of calling commands that might not exist.
- Fix bashism ("==" is C not sh)
- Carefully quote potentially empty variables
- Check command arguments before doing anything
- Rewrite argument checking to be more easily extensible
- Consistent indentation
- UNIX style error messages
Stefan Mahr [Tue, 31 May 2011 07:33:01 +0000 (09:33 +0200)]
mips: fixup fastdata
fixup fastdata
Stefan Mahr [Mon, 30 May 2011 14:21:04 +0000 (16:21 +0200)]
mips: fix some more endian madness
Laurent Charpentier [Tue, 31 May 2011 08:52:50 +0000 (01:52 -0700)]
bootstrap: fix argument handling
- no argument => run submodule init
- "nosubmoudle" => do not run submodule
- other values => error message
Damjan Marion [Sun, 29 May 2011 21:41:02 +0000 (23:41 +0200)]
Board definition for mini6410/tiny6410 (ARM1176)
The following mini6410/tiny6410 functions are available:
init_6410 - initialize clock, timer, DRAM
init_6410_flash - initializes NAND flash support
install_6410_uboot - copies u-boot image into RAM and runs it
Stefan Mahr [Sun, 29 May 2011 20:50:40 +0000 (22:50 +0200)]
mips: fix swapping if running on big endian host
Damjan Marion [Sun, 29 May 2011 16:59:08 +0000 (18:59 +0200)]
SMDK6410 is not target, move file to board
Damjan Marion [Sat, 28 May 2011 16:58:06 +0000 (18:58 +0200)]
Fixed values for Samung NAND chips
Damjan Marion [Mon, 23 May 2011 11:25:28 +0000 (13:25 +0200)]
Improve NAND flash detection
Detect based on both manufacturer id and chip id
if manufacturer id is defined in table
Damjan Marion [Mon, 23 May 2011 11:25:27 +0000 (13:25 +0200)]
Reorganize NAND flash table
- added manufacturer field
- name moved to the end for better text alignment
Stefan Mahr [Wed, 25 May 2011 13:49:21 +0000 (15:49 +0200)]
mips: fix swapping if openocd is running on big endian host
Alan Bowman [Mon, 23 May 2011 19:37:58 +0000 (20:37 +0100)]
Report actual current thread
Alan Bowman [Mon, 23 May 2011 19:32:00 +0000 (20:32 +0100)]
Add eCos/Cortex RTOS support
Stefan Mahr [Tue, 24 May 2011 12:58:03 +0000 (14:58 +0200)]
add support for spansion flash on mindspeed c300 eval board
Signed-off-by: Stefan Mahr <stefan.mahr@sphairon.com>
Spencer Oliver [Mon, 23 May 2011 09:23:34 +0000 (10:23 +0100)]
dsp5680xx: whitespace cleanup
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Spencer Oliver [Mon, 23 May 2011 09:22:12 +0000 (10:22 +0100)]
Fix build issue under cygwin
cygwin does not define sleep, so use our internal win32 version.
caused by commit
9d4aec6bda90ad39a140747ea270c6a09dd26440
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Rodrigo L. Rosa [Thu, 19 May 2011 03:11:04 +0000 (20:11 -0700)]
flashing speed improved using queued jtag. error propagation improved.
Jie Zhang [Tue, 3 May 2011 18:35:40 +0000 (14:35 -0400)]
Get register value if it's invalid in cache.
Alan Bowman [Sun, 15 May 2011 20:20:21 +0000 (21:20 +0100)]
Corrected test for invalid current_threadid
Rodrigo L. Rosa [Wed, 18 May 2011 02:41:21 +0000 (19:41 -0700)]
flash support (only full erase/write) for 568013 and 568037
Rodrigo L. Rosa [Wed, 18 May 2011 02:40:29 +0000 (19:40 -0700)]
partial support for 568013 and 568037, target integration.
Alan Bowman [Wed, 11 May 2011 11:12:07 +0000 (12:12 +0100)]
Correct stacking direction and use of address offset
Michel Jaouen [Mon, 9 May 2011 15:30:55 +0000 (17:30 +0200)]
cortex a : smp doc update
Øyvind Harboe [Wed, 4 May 2011 05:14:06 +0000 (07:14 +0200)]
beagleboard: add support for various icepick versions
The beagleboard icepick jtag tap id's vary.
Jonas Hoerberg [Thu, 5 May 2011 08:02:21 +0000 (08:02 +0000)]
at91rm9200-ek: add low default communication speed
Alexandre Pereira da Silva [Wed, 27 Apr 2011 12:21:40 +0000 (09:21 -0300)]
Add support for the lpc2460 target
Alexandre Pereira da Silva [Wed, 27 Apr 2011 12:19:55 +0000 (09:19 -0300)]
Make the lpc2xxx generic driver support romless parts
Jie Zhang [Tue, 3 May 2011 18:43:22 +0000 (14:43 -0400)]
Remove useless MIPS code in avr32_ap7k.c.
Jonas Hörberg [Thu, 28 Apr 2011 07:17:57 +0000 (09:17 +0200)]
adapter speed: require init script setting and centralize activation from drivers to core.c
Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com>
Øyvind Harboe [Thu, 28 Apr 2011 20:17:48 +0000 (22:17 +0200)]
ecos: add 64 bit types for sprintf/sscanf
Michel Jaouen [Tue, 19 Apr 2011 07:39:21 +0000 (09:39 +0200)]
u8500.cfg : ste u8500 support
Michel Jaouen [Tue, 19 Apr 2011 07:36:41 +0000 (09:36 +0200)]
gdb_server : 'R' command replied by OK
Michel Jaouen [Tue, 19 Apr 2011 06:50:00 +0000 (08:50 +0200)]
cortex_a : smp support
Conflicts:
src/target/cortex_a.c
Michel Jaouen [Tue, 19 Apr 2011 06:43:33 +0000 (08:43 +0200)]
smp : infra for smp minimum support
Øyvind Harboe [Wed, 27 Apr 2011 21:02:28 +0000 (23:02 +0200)]
cfi: leave check on whether target is running to target_write_memory()
there was a check in clearing the status register that
called exit() if the target was running. target_write_memory()
has such a check and will report the error correctly.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
SimonQian [Sun, 24 Apr 2011 15:35:27 +0000 (23:35 +0800)]
add STM32F2 revY
SimonQian [Sun, 24 Apr 2011 15:33:53 +0000 (23:33 +0800)]
remove read of flash_size in STM32F2
Damjan Marion [Thu, 21 Apr 2011 20:07:03 +0000 (22:07 +0200)]
buspirate: fix building on some OSes
Michel Jaouen [Mon, 18 Apr 2011 15:43:51 +0000 (17:43 +0200)]
rtos : compilation error on amd64
Alexandre Pereira da Silva [Tue, 12 Apr 2011 15:56:28 +0000 (12:56 -0300)]
Fix non cfi x16 nor flash connected to x8 bus. The ids in the table should be masked before comparison.
Alexandre Pereira da Silva [Tue, 12 Apr 2011 16:06:13 +0000 (13:06 -0300)]
Make the LPC32xx nand driver support up to 5 address cycles. This will only work in the SLC driver.
Alexandre Pereira da Silva [Tue, 12 Apr 2011 13:56:56 +0000 (10:56 -0300)]
Make the LPC32xx slc nand driver the default
Øyvind Harboe [Wed, 13 Apr 2011 19:51:42 +0000 (21:51 +0200)]
jtag: clarify jtag->init() and jtag->quit() definitions
only set jtag global pointer if jtag->init() succeeds. Less code,
more clear what the rules are.
Fix nit that error value from init() was not propagated unmodified.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Broadcom Corporation (Evan Hunter) [Thu, 14 Apr 2011 08:25:01 +0000 (10:25 +0200)]
RTOS Thread awareness support wip
- works on Cortex-M3 with ThreadX and FreeRTOS
Compared to original patch a few nits were fixed:
- remove stricmp usage
- unsigned compare fix
- printf formatting fixes
- fixed a bug with overrunning a memory buffer allocated with malloc.
Spencer Oliver [Wed, 13 Apr 2011 16:04:34 +0000 (17:04 +0100)]
pic32: update pic32mx flash driver
Update devices as per the latest programming manual.
We now use the full DEVID to identify the target. Previously we used
a 8bit id but that has now been changed in the manual.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Luca Ellero [Wed, 13 Apr 2011 18:55:19 +0000 (18:55 +0000)]
Replace byte-access to memory with faster word-access
Freescale iMX53 doesn't seem to like unaligned accesses to his memory
mapped registers.
Anyway this patch makes dump_image/load_image 4X faster for every
access through APB.
Signed-off-by: Luca Ellero <lroluk@gmail.com>
Luca Ellero [Wed, 13 Apr 2011 18:55:18 +0000 (18:55 +0000)]
Add opcodes for load/store registers words immediate post-indexed
Signed-off-by: Luca Ellero <lroluk@gmail.com>
Luca Ellero [Wed, 13 Apr 2011 18:55:17 +0000 (18:55 +0000)]
Add preliminary support for Freescale iMX53
Signed-off-by: Luca Ellero <lroluk@gmail.com>
Alexandre Pereira da Silva [Wed, 13 Apr 2011 14:50:53 +0000 (11:50 -0300)]
Add the REV A tap id to the LPC3250 configuration
Michel JAOUEN [Tue, 12 Apr 2011 14:48:22 +0000 (16:48 +0200)]
cortex_a :apb mem read/write working with mmu_on
Conflicts:
src/target/cortex_a.c
Michel JAOUEN [Tue, 12 Apr 2011 16:24:50 +0000 (18:24 +0200)]
cortex_a : multiple target on the same dap
Michel JAOUEN [Tue, 12 Apr 2011 16:09:18 +0000 (18:09 +0200)]
cortex_a : use dap ref from armv4_5common
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:41 +0000 (06:07 +0200)]
at91: add at91sam9263 chip register definition
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 16:06:36 +0000 (18:06 +0200)]
at91: add chip register definition and generic init support
for
- pio
- pmc
- rstc
- wdt
- sdramc
- smc
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:42 +0000 (06:07 +0200)]
add at91sam9263-ek support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:40 +0000 (06:07 +0200)]
add at91sam9261-ek support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:39 +0000 (06:07 +0200)]
at91: add at91sam9261 chip register definition
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:21:57 +0000 (06:21 +0200)]
jlink: jlink_debug_buffer use inline function when _DEBUG_USB_COMMS_ not define
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Ali Lown [Sun, 3 Apr 2011 21:16:51 +0000 (22:16 +0100)]
Buffering for up to 64 bytes in USB Blaster.
Uses a global buffer.
Add self to acknowledgements.
Ali Lown [Sun, 3 Apr 2011 20:56:14 +0000 (21:56 +0100)]
Add support for LED to USB Blaster code.
Spencer Oliver [Tue, 5 Apr 2011 11:13:48 +0000 (12:13 +0100)]
build: correctly use AC_LANG_PROGRAM
With newer versions of autoconf >= 2.68 we receive warnings about the
incorrect use of AC_LANG_PROGRAM. This fixes those warnings.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Michel JAOUEN [Tue, 5 Apr 2011 16:41:32 +0000 (18:41 +0200)]
cortex_a : implement jtag console for cortex_a
Drasko DRASKOVIC [Mon, 4 Apr 2011 13:33:04 +0000 (15:33 +0200)]
Added mips_ejtag_drscan_32_out() for optimization.
Drasko DRASKOVIC [Mon, 4 Apr 2011 13:24:59 +0000 (15:24 +0200)]
Corrected waiting on PrAcc in wait_for_pracc_rw(). Added necessary check that PrAcc is "1" before FASTDATA access.
Drasko DRASKOVIC [Mon, 4 Apr 2011 11:06:18 +0000 (13:06 +0200)]
Added correct endianess treatment for big endian targets. Now it is possible to use mips_m4k_write_memory() and mips_m4k_read_memory() to correctly set-up SDRAM, as well as bulk data write, which already handled endianess well. Also added correct endianess manipulation in case of fallback from erroneus bulk write to simple write (to avoid byte swapping two times).