aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-26ARM NAND I/O refactor code copying.Dean Glazeski
Created a function for copying code to the working area on a target. The NAND write and read functions are updated to include use of this function. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-26ARM NAND I/O read function.Dean Glazeski
Implementation of the NAND read function for ARM NAND I/O that includes running a local algorithm on a device to increase the performance of block reads. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-26NAND Flash documentation update.Dean Glazeski
Updated doxygen comments for different interface structures for the NAND interface. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-26XScale: add stub {read,write}_phys routinesDavid Brownell
Just make these fail, instead of letting them write over potentially random memory. Users should be able to work around the lack of real implementations by disbling the MMU by hand ... until someone provides a Real Fix. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-26update bug reporting informationUwe Hermann
The Berlios bug-tracker is disabled, bug reports go to the list. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-26fix typos in documentationUwe Hermann
Fixes some minor typos in the top-level documentation files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-26fix typos in source filesUwe Hermann
Correct some spelling errors in source comments and printed output. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-26styleguide: add some embedded style rules.Øyvind Harboe
Embedded and pthreads rely on modest and predictable stack usage. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-26fix 'flash protect' and 'flash erase_sector'Eric Wetzel
Command upgrading introduced two off-by-one bugs in the flash commands. This patch fixes the 'flash {protect,erase_sector}' commands to check that they have been passed the correct number of arguments. Ammended during commit to fix help text for 'erase_address' too.
2009-11-25target: create and use target_name()David Brownell
Several of the sites now using target_type_name() really ought to be using an instance-specific name. Create a function called target_name(), accessing the instance's own (command) name. Use it in several places that really should be displaying instance-specific names. Also in several places which were already doing so, but which had no wrapper to call. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25target: target_get_name() --> target_type_name()David Brownell
There are two names that may matter on a per-target basis. One is a per-instance name (for example, "at91sam7s.cpu"). The other is the name of its type (for example, "arm7tdmi"), which is shared among multiple targets. Currently target_get_name() returns the type name, which is misleading and is rarely appropriate for target diagnostics. Rename that as target_type_name(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25omap3530.cfg: yes we have SRAM!David Brownell
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25ARM: minor armv4/armv5 cleanupDavid Brownell
Lines of 300+ characters are still bad; debug tweaks. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25ARM: comment tweaks in ADIv5David Brownell
"OptimoDE DESS" is ARM's semicustom DSPish stuff. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25ARM7/9: shrink run_algorithm_inner() linesDavid Brownell
300+ characters is unreasonable. So is half that. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25NEWS updatesDavid Brownell
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25update NEWS with recent developmentsZachary T Welch
Mention changes to flash bank command syntax, 'nand verify' command, command error handling and reporting, and help/usage command upgrades.
2009-11-25use ARRAY_SIZE macroZachary T Welch
Search and destroy lingering cases where the ARRAY_SIZE macro should be used to convey more intrinsic meaning in the OpenOCD code.
2009-11-25support OPENOCD_DEBUG_LEVEL environment settingZachary T Welch
Detect the OPENOCD_DEBUG_LEVEL setting in log_init(), allowing the very early startup phases to be debugged.
2009-11-25log: improve initializationZachary T Welch
Removes redundant assignment of start_ms from log_register_commands(). Eliminates command_context parameter and return value. Adds Doxygen comment block for this API call.
2009-11-25update command handler documentationZachary T Welch
Adds sections on command registration and chaining, giving an overview to developers that want to use these features.
2009-11-25add 'testee' target typeZachary T Welch
Alliteration aside, this should provide the final piece of the puzzle for developers that want to get started writing a new target type. In this way, it also seeks to complement the 'dummy' interface driver and 'faux' NOR flash driver.
2009-11-25improve command handling examplesZachary T Welch
Removes hello and foo commands from top-level registration. Instead, the dummy interface driver and faux flash driver have been augmented to register these commands as sub-commands.
2009-11-25add script_command_run helperZachary T Welch
Eliminates duplicated code in script_command and handle_unknown_command. Fixes bug with duplicated help output generated by placeholder commands.
2009-11-25encapsulate and re-use log capture, retval setupZachary T Welch
Factors log capture while running script commands, eliminating duplicated code between script_command and jim_capture. Factors setting a command's Jim "retval" into a new helper as well. Using these new helpers in the new unknown command handler's fixes possible regressions caused by these bits being missing.
2009-11-25combine help and usage command handlersZachary T Welch
Remove duplicated handler code by checking the running command name.
2009-11-24improve usage and help command outputZachary T Welch
Rewrite formatting code in C, removing last remenants of TCL help code. Sinificantly improves the readability by using smarter indent and wrap.
2009-11-24allow scripts to update usage informationZachary T Welch
The add_usage_text command uses the same C handler, which was updated to support its new polymorphic role. This patch updates the two script commands that needed this support: 'find' and 'script'.
2009-11-24httpd: use register_commands()Zachary T Welch
Updates httpd_start() to use register_commands() for 'readform' and 'writeform' commands. Adds server/httpd.h to export the new signatures for this function (and httpd_stop), which allows removing the obsoleted declarations inside openocd.c.
2009-11-24add jim_handler to command_registrationZachary T Welch
Adding jim_handler field to command_registration allows removing the register_jim helper. All command registrations now go through the register_command{,s}() functions.
2009-11-24refactor command_new to use command_registrationZachary T Welch
Save stack space: use a struct. Makes it easier to add new parameters.
2009-11-24remove register_commands from etm_capture_driverZachary T Welch
Converts callback to an array of command_registration records. Moves oocd_trace driver definition to end of file to eliminate useless forward declaration.
2009-11-24remove target_type register_command callbackZachary T Welch
Uses chaining of command_registration structures to eliminate all target_type register_callback routines. Exports the command_handler registration arrays for those target types that are used by others.
2009-11-24xscale: use register_commands()Zachary T Welch
2009-11-24trace: use register_commands()Zachary T Welch
2009-11-24target_request: use register_commands()Zachary T Welch
2009-11-24target: use register_commands()Zachary T Welch
2009-11-24oocd_trace: use register_commands()Zachary T Welch
2009-11-24etm_dummy: use register_commands()Zachary T Welch
2009-11-24etm: use register_commands()Zachary T Welch
2009-11-24etb: use register_commands()Zachary T Welch
2009-11-24cortex_m3: use register_commands()Zachary T Welch
2009-11-24cortex_a8: use register_commands()Zachary T Welch
2009-11-24armv7m: use register_commands()Zachary T Welch
2009-11-24armv7a: use register_commands()Zachary T Welch
2009-11-24armv4_5: use register_commands()Zachary T Welch
2009-11-24arm9tdmi: use register_commands()Zachary T Welch
2009-11-24arm966e: use register_commands()Zachary T Welch
2009-11-24arm926ejs: use register_commands()Zachary T Welch
2009-11-24arm920t: use register_commands()Zachary T Welch