aboutsummaryrefslogtreecommitdiff
path: root/src/ecosboard.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05zy1000: complete zy1000_uart to jim command switchØyvind Harboe1-6/+6
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-19zy1000: print out PCB revision upon bootØyvind Harboe1-1/+5
Simplify debugging a bit. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-30zy1000: add zy1000_ prefix to uart commandØyvind Harboe1-1/+1
less polution of the general namespace(preventive action, no problems reported). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-30zy1000: unlock flash upon startup for revcØyvind Harboe1-0/+14
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-30zy1000: reconfigure FPGA upon reset instead of just the CPUØyvind Harboe1-0/+8
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-16zy1000: removed some redundant includeØyvind Harboe1-22/+4
spotted by lint. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-15zy1000: keep up with command.h cleanupØyvind Harboe1-5/+15
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-08zy1000: remove unecessary includeØyvind Harboe1-4/+0
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-03zy1000: include files have moved aboutØyvind Harboe1-2/+2
now compiles again after include files were moved about to reduce -I usage and stop using quotes but rather angle brackets for include files. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-03change #include "xsvf.h" to <xsvf/xsvf.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "xsvf.h" the following form should be used. #include <xsvf/xsvf.h> The exception is from .c files in the same directory.
2009-12-03change #include "svf.h" to <svf/svf.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "svf.h" the following form should be used. #include <svf/svf.h> The exception is from .c files in the same directory.
2009-12-03change #include "pld.h" to <pld/pld.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "pld.h" the following form should be used. #include <pld/pld.h> The exception is from .c files in the same directory.
2009-12-03change #include "telnet_server.h" to <server/telnet_server.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "telnet_server.h" the following form should be used. #include <server/telnet_server.h> The exception is from .c files in the same directory.
2009-12-03change #include "server.h" to <server/server.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "server.h" the following form should be used. #include <server/server.h> The exception is from .c files in the same directory.
2009-12-03change #include "gdb_server.h" to <server/gdb_server.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "gdb_server.h" the following form should be used. #include <server/gdb_server.h> The exception is from .c files in the same directory.
2009-12-03change #include "nand.h" to <flash/nand.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "nand.h" the following form should be used. #include <flash/nand.h> The exception is from .c files in the same directory.
2009-12-03change #include "jtag.h" to <jtag/jtag.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "jtag.h" the following form should be used. #include <jtag/jtag.h> The exception is from .c files in the same directory.
2009-12-03change #include "types.h" to <helper/types.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "types.h" the following form should be used. #include <helper/types.h> The exception is from .c files in the same directory.
2009-12-03change #include "ioutil.h" to <helper/ioutil.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "ioutil.h" the following form should be used. #include <helper/ioutil.h> The exception is from .c files in the same directory.
2009-12-03change #include "configuration.h" to <helper/configuration.h>Zachary T Welch1-1/+1
Changes from the flat namespace to heirarchical one. Instead of writing: #include "configuration.h" the following form should be used. #include <helper/configuration.h> The exception is from .c files in the same directory.
2009-12-02remove BUILD_IOUTIL symbolZachary T Welch1-7/+1
Add ioutil_stubs.c to provide an empty ioutil_init() routine. Add ioutil.h to prevent applications from needing to declare it. Allows unconditionally calling that function during startup, and the resulting libocdhelper library API is now more stable. Prints a DEBUG message when the stub implementation is included.
2009-12-02zy1000: keep up with startup refactoring work.Øyvind Harboe1-0/+5
keep up with server_init() introduction. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-01zy1000: keep up with latest changes to command handlingØyvind Harboe1-6/+4
Keep up with Jim Tcl interpreter creation cleanup. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-27zy1000: keep up with changes to log_init()Øyvind Harboe1-7/+1
fn's and return value for log_init() changed to void. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-24use COMMAND_REGISTER macroZachary T Welch1-1/+1
Replaces direct calls to register_command() with a macro, to allow its parameters to be changed and callers updated in phases.
2009-11-22zy1000: un-break uart command after command handler refactoringØyvind Harboe1-15/+19
Switched it to jim command to insulate it from command refactoring. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-17zy1000: revC UART forwardingØyvind Harboe1-4/+12
Name of serial device differs between revB/C. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-16#include "target.h" less wildlyDavid Brownell1-1/+0
Don't include "target.h" from more headers than necessary. This avoids needless interdependencies and duplicated include paths. Don't needlessly include it in source files, either. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16target: less implicit inclusion of "command.h"David Brownell1-3/+0
Lots of files still include it, often through needless duplicate inclusion of "log.h"; sigh. This cleans up the inclusion graph a bunch, so there are fewer inclusion paths, but it doesn't change much otherwise. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-14add openocd.h for top-level declarationsZachary T Welch1-0/+1
Create src/openocd.h to hold declarations previously made internally by src/main.c and src/server/server.c. This ensures all functions are verified to be in-sync at compile time (rather than at link), making it easier to track down bugs.
2009-11-13command_context_t -> struct command_contextZachary T Welch1-8/+8
Remove misleading typedef and redundant suffix from struct command_context.
2009-11-13target_type_t -> struct target_typeZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct target_type.
2009-11-13flash_driver_t -> struct flash_driverZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct flash_driver.
2009-11-05warnings: removeØyvind Harboe1-3/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-10-22disable ZY1000's UART forwarding test code.Øyvind Harboe1-1/+10
2009-10-21eCos synthetic target updates.Øyvind Harboe1-0/+2
2009-10-07increase pause before reboot so web interface remains responsive when ↵oharboe1-2/+2
issuing a reboot of zy1000 git-svn-id: svn://svn.berlios.de/openocd/trunk@2813 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17prefix zy1000_reboot command to avoid name conflictsoharboe1-1/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2721 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30David Brownell <david-b@pacbell.net> Be sure the built-in search paths ↵oharboe1-1/+1
always go *after* ones provided on the command line ... matching comment in add_default_dirs(). Without this it's impossible to use a private config file which happens to have the same name as an installed one. Say, because you're bugfixing a private copy... git-svn-id: svn://svn.berlios.de/openocd/trunk@2649 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-17Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixesoharboe1-1/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06zy1000 now listens for port 1234. Upon accepting connection reboot zy1000.oharboe1-1/+61
git-svn-id: svn://svn.berlios.de/openocd/trunk@2463 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23Remove whitespace that occurs before ')'.zwelch1-2/+2
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23Remove whitespace that occurs after '('.zwelch1-5/+5
- Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '[|]' whitespacezwelch1-1/+1
- Replace ')\([|]\)(' with ') \1 ('. - Replace ')\([|]\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\([|]\)(' with '\1 \2 ('. - Replace '\(\w\)\([|]\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2374 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '=' whitespacezwelch1-4/+4
- Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19less warningsoharboe1-2/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2291 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18less warningsoharboe1-10/+10
git-svn-id: svn://svn.berlios.de/openocd/trunk@2287 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17dummy driver now works under eCosoharboe1-5/+25
git-svn-id: svn://svn.berlios.de/openocd/trunk@2268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11embedded host: launch telnet server even if configuration failsoharboe1-0/+3
git-svn-id: svn://svn.berlios.de/openocd/trunk@2198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05remove unused include file: strings.hoharboe1-1/+0
git-svn-id: svn://svn.berlios.de/openocd/trunk@2073 b42882b7-edfa-0310-969c-e2dbd0fdcd60