You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(75) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(70) |
Feb
(20) |
Mar
(52) |
Apr
(149) |
May
(387) |
Jun
(466) |
Jul
(133) |
Aug
(87) |
Sep
(122) |
Oct
(140) |
Nov
(185) |
Dec
(105) |
2010 |
Jan
(85) |
Feb
(45) |
Mar
(75) |
Apr
(17) |
May
(41) |
Jun
(52) |
Jul
(33) |
Aug
(29) |
Sep
(36) |
Oct
(15) |
Nov
(26) |
Dec
(34) |
2011 |
Jan
(26) |
Feb
(25) |
Mar
(26) |
Apr
(29) |
May
(20) |
Jun
(27) |
Jul
(15) |
Aug
(32) |
Sep
(13) |
Oct
(64) |
Nov
(60) |
Dec
(10) |
2012 |
Jan
(64) |
Feb
(63) |
Mar
(39) |
Apr
(43) |
May
(54) |
Jun
(11) |
Jul
(30) |
Aug
(45) |
Sep
(11) |
Oct
(70) |
Nov
(24) |
Dec
(23) |
2013 |
Jan
(17) |
Feb
(8) |
Mar
(35) |
Apr
(40) |
May
(20) |
Jun
(24) |
Jul
(36) |
Aug
(25) |
Sep
(42) |
Oct
(40) |
Nov
(9) |
Dec
(21) |
2014 |
Jan
(29) |
Feb
(24) |
Mar
(60) |
Apr
(22) |
May
(22) |
Jun
(46) |
Jul
(11) |
Aug
(23) |
Sep
(26) |
Oct
(10) |
Nov
(14) |
Dec
(2) |
2015 |
Jan
(28) |
Feb
(47) |
Mar
(33) |
Apr
(58) |
May
(5) |
Jun
(1) |
Jul
|
Aug
(8) |
Sep
(12) |
Oct
(25) |
Nov
(58) |
Dec
(21) |
2016 |
Jan
(12) |
Feb
(40) |
Mar
(2) |
Apr
(1) |
May
(67) |
Jun
(2) |
Jul
(5) |
Aug
(36) |
Sep
|
Oct
(24) |
Nov
(17) |
Dec
(50) |
2017 |
Jan
(14) |
Feb
(16) |
Mar
(2) |
Apr
(35) |
May
(14) |
Jun
(16) |
Jul
(3) |
Aug
(3) |
Sep
|
Oct
(19) |
Nov
|
Dec
(16) |
2018 |
Jan
(55) |
Feb
(11) |
Mar
(34) |
Apr
(14) |
May
(4) |
Jun
(20) |
Jul
(39) |
Aug
(16) |
Sep
(17) |
Oct
(16) |
Nov
(20) |
Dec
(30) |
2019 |
Jan
(29) |
Feb
(24) |
Mar
(37) |
Apr
(26) |
May
(19) |
Jun
(21) |
Jul
(2) |
Aug
(3) |
Sep
(9) |
Oct
(12) |
Nov
(12) |
Dec
(12) |
2020 |
Jan
(47) |
Feb
(36) |
Mar
(54) |
Apr
(44) |
May
(37) |
Jun
(19) |
Jul
(32) |
Aug
(13) |
Sep
(16) |
Oct
(24) |
Nov
(32) |
Dec
(11) |
2021 |
Jan
(14) |
Feb
(5) |
Mar
(40) |
Apr
(32) |
May
(42) |
Jun
(31) |
Jul
(29) |
Aug
(47) |
Sep
(38) |
Oct
(17) |
Nov
(74) |
Dec
(33) |
2022 |
Jan
(11) |
Feb
(15) |
Mar
(40) |
Apr
(21) |
May
(39) |
Jun
(44) |
Jul
(19) |
Aug
(46) |
Sep
(79) |
Oct
(35) |
Nov
(21) |
Dec
(15) |
2023 |
Jan
(56) |
Feb
(13) |
Mar
(43) |
Apr
(28) |
May
(60) |
Jun
(15) |
Jul
(29) |
Aug
(28) |
Sep
(32) |
Oct
(21) |
Nov
(42) |
Dec
(39) |
2024 |
Jan
(35) |
Feb
(17) |
Mar
(28) |
Apr
(7) |
May
(14) |
Jun
(35) |
Jul
(30) |
Aug
(35) |
Sep
(30) |
Oct
(28) |
Nov
(38) |
Dec
(18) |
2025 |
Jan
(21) |
Feb
(28) |
Mar
(36) |
Apr
(35) |
May
(34) |
Jun
(58) |
Jul
(9) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
From: oharboe at B. <oh...@ma...> - 2009-07-06 09:31:47
|
Author: oharboe Date: 2009-07-06 09:31:46 +0200 (Mon, 06 Jul 2009) New Revision: 2463 Modified: trunk/src/ecosboard.c Log: zy1000 now listens for port 1234. Upon accepting connection reboot zy1000. Modified: trunk/src/ecosboard.c =================================================================== --- trunk/src/ecosboard.c 2009-07-04 03:47:54 UTC (rev 2462) +++ trunk/src/ecosboard.c 2009-07-06 07:31:46 UTC (rev 2463) @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2008 by vind Harboe * + * Copyright (C) 2007-2008 by �yvind Harboe * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -173,6 +173,62 @@ cyg_thread_resume(zylinjtag_thread_handle); } +static char zylinjtag_reboot_port_stack[2048]; +static cyg_thread zylinjtag_reboot_port_thread_object; +static cyg_handle_t zylinjtag_reboot_port_thread_handle; + +static void zylinjtag_reboot_port_task(cyg_addrword_t data) +{ + int so_reuseaddr_option = 1; + + int fd; + if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) + { + LOG_ERROR("error creating socket: %s", strerror(errno)); + exit(-1); + } + + setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (void*) &so_reuseaddr_option, + sizeof(int)); + + struct sockaddr_in sin; + unsigned int address_size; + address_size = sizeof(sin); + memset(&sin, 0, sizeof(sin)); + sin.sin_family = AF_INET; + sin.sin_addr.s_addr = INADDR_ANY; + sin.sin_port = htons(1234); + + if (bind(fd, (struct sockaddr *) &sin, sizeof(sin)) == -1) + { + LOG_ERROR("couldn't bind to socket: %s", strerror(errno)); + exit(-1); + } + + if (listen(fd, 1) == -1) + { + LOG_ERROR("couldn't listen on socket: %s", strerror(errno)); + exit(-1); + } + // socket_nonblock(fd); + + + accept(fd, (struct sockaddr *) &sin, &address_size); + + diag_printf("Got reboot signal on port 1234"); + + reboot(); + +} + +void reboot_port(void) +{ + cyg_thread_create(1, zylinjtag_reboot_port_task, (cyg_addrword_t) 0, "wait for reboot signal on port 1234", + (void *) zylinjtag_reboot_port_stack, sizeof(zylinjtag_reboot_port_stack), + &zylinjtag_reboot_port_thread_handle, &zylinjtag_reboot_port_thread_object); + cyg_thread_resume(zylinjtag_reboot_port_thread_handle); +} + int configuration_output_handler(struct command_context_s *context, const char* line) { @@ -432,6 +488,10 @@ diag_printf("Network not up and running\n"); exit(-1); } + + /* very first thing we want is a reboot capability */ + reboot_port(); + #if defined(CYGPKG_NET_FREEBSD_STACK) /*start TFTP*/ tftpd_start(69, &fileops); |
From: <zw...@ma...> - 2009-07-04 05:48:00
|
Author: zwelch Date: 2009-07-04 05:47:54 +0200 (Sat, 04 Jul 2009) New Revision: 2462 Modified: trunk/doc/manual/release.txt Log: Major update to release process documentation: - Provide overview of OpenOCD versioning schema. - Outline responsibilities and authority of the release manager. - Explain the need for flexibility in the release schedule. - Add and refine the release process steps. - Include tutorials for using new release script. - Many more improvements, too numerous to list. Modified: trunk/doc/manual/release.txt =================================================================== --- trunk/doc/manual/release.txt 2009-07-03 12:56:34 UTC (rev 2461) +++ trunk/doc/manual/release.txt 2009-07-04 03:47:54 UTC (rev 2462) @@ -1,21 +1,29 @@ /** @page releases Release Processes -This page provides an introduction to the OpenOCD Release Proceses: -- @ref releaseswhy -- @ref releaseswho -- @ref releaseswhen -- @ref releaseshow +This page provides an introduction to the OpenOCD Release Processes: -@section releaseswhy Why Produce Releases? +- @ref releasewhy - Explain the motivations for producing + releases on a regular basis. +- @ref releasewho - Describes the responsibilities and + authority required to produce official OpenOCD releases. +- @ref releasewhen - Provides guidelines for scheduling + activities for each release cycle. +- @ref releasehow - Outlines all of the steps for the + processes used to produce and release the package source archives. +- @ref releasescript - Introduces the automated @c release.sh script. -The OpenOCD maintainers should produce releases periodically. -he reasons for several reasons that should be given in detail, before -explaining who and how the processes occur. +@section releasewhy Why Produce Releases? +The OpenOCD maintainers should produce <i>releases</i> periodically. This +section gives several reasons to explain the reasons for making releases +on a regular basis. These reasons lead to motivation for developing and +following a set of <i>release processes</i>. The actual processes are +described in the remainder of the @ref releases sections. + At any time, a "source archives" can be produced by running 'make dist' in the OpenOCD project tree. With the 0.2.0 release, this command will -produce openocd-\<version\>.{tar.gz,tar.bz2,zip} archives, which will be -suitable for being released when produced properly. +produce openocd-\<version\>.{tar.gz,tar.bz2,zip} archives. These files +will be suitable for being released when produced properly. When released for users, these archives present several important advantages when contrasted to using the Subversion repository: @@ -32,61 +40,163 @@ following properties: -# Produce successive sets of release archives cleanly and consistently. - - Implementable as a script that automates the critical release steps. --# Prevent human operators from doing it wrong, as much as possible. +-# Implementable as a script that automates the critical release steps. +-# Prevent human operators from producing bad releases, when possible. -# Allow scheduling and automation of release process milestones. The current release processes are documented in the following sections. -They attempt to meet these design goals, but there are many improvements +They attempt to meet these design goals, but there may improvements remaining to be made toward automating the process. -@section releaseswho OpenOCD Release Manager +@section releaseversions Release Versions +The OpenOCD version string is composed of three numeric components +separated by two decimal points: @c x.y.z, where @c x is the @a major +version number, @c y is the @a minor number, and @c z is the @a micro. + +For a <i>bug-fix</i> release, the micro version number will be non-zero +(<code>z > 0</code>). For a <i>minor release</i>, the micro version +number will be zero (<code>z = 0</code>). For a <i>major releases</i>, +the minor version will @a also be zero (<code>y = 0, z = 0</code>). + +The trunk and all branches should have the tag '-in-development' in +their version number. This tag helps developers identify reports +created from the Subversion repository, and it can be detected and +manipulated by the release script. Specifically, this tag will be +removed and re-added during the release process; it should never be +manipulated by developers in submitted patches. + +@subsection releaseversionsdist Patched Versions + +Distributors of patched versions of OpenOCD are encouraged to extend +the version string when producing external releases, as this helps to +identify your particular distribution series. + +@subsection releaseversionsdist Version Processes + +The release process includes version number manipulations to the tree +being released, ensuring that all numbers are incremented at the right +time and in the proper locations of the repository. + +The version numbers for any branch should monotonically +increase to the next successive integer, except when reset to zero +during major or minor releases. The community should decide when +major and minor milestones will be released. + +@section releasewho Release Manager + OpenOCD archive releases will be produced by an individual filling the -role of <i>Release Manager</i>. This individual determines the schdule -(@see releaseswhen) and executes the release processes for the -community. Each release requires one individual to fulfill this role, -and these processes should survive any such transition gracefully. +role of <i>Release Manager</i>, hereafter abbreviated as <i>RM</i>. This +individual determines the schedule and executes the release processes +for the community. -@section releaseswhen OpenOCD Release Schedule +@subsection releasewhohow RM Authority -The OpenOCD release process must be carried out on a periodic basis -in order to realize the benefits outlined above (@see releaseswhy). +Each release requires one individual to fulfill the RM role; however, +graceful transitions of this authority may take place at any time. The +current RM may transfer their authority to another contributor in a post +to the OpenOCD development mailing list. Such delegation of authority +must be approved by the individual that will receive it and the +community of maintainers. Initial arrangements with the new RM should +be made off-list, as not every contributor wants these responsibilities. +@subsection releasewhowhat RM Responsibilities + +In addition to the actual process of producing the releases, the RM is +responsible for keeping the community informed of all progress through +the release cycle(s) being managed. The RM is responsible for managing +the changes to the package version, though the release tools should +manage the tasks of adding or removing any required development branch +tags and incrementing the version. + +@section releasewhen Release Schedule + +The OpenOCD release process must be carried out on a periodic basis, so +the project can realize the benefits presented in answer to the question, +@ref releasewhy. + Starting with the 0.2.0 release, the OpenOCD project should produce a -new minor release each month, with a major release once per year. Bug -fix releases could be provided more frequently; however, these should -not be a priority for the Release Manager until the processes have been -fully automated, to use resources most efficiently. +new minor release every month or two, with a major release once a year. +Bug fix releases could be provided more frequently. These release +schedule goals may be adjusted in the future, after the project +maintainers and distributors receive feedback and experience. -If T is the time of the next release, then the following milestones -describe the release milestones for each new release cycle. +More importantly, the statements made in this section do not create an +obligation by any member of the OpenOCD community to produce new +releases on regular schedule, now or in the future. +@subsection releasewhenexample Sample Schedule + +The RM must pro-actively communicate with the community from the +beginning of the development cycle through the delivery of the new +release. This section presents guidelines for scheduling key points +where the community must be informed of changing conditions. + +If T is the time of the next release, then the following schedule +might describe some of the key milestones of the new release cycle: + - T minus one month: start of new development cycle - T minus two weeks: announce pending trunk closure to new work - T minus one week: close trunk to new work, begin testing phase - T minus two days: call for final bug fixes - T minus one day: produce -rc packages and distribute to testers - T minus one hour: produce final packages and post on-line +- T minus zero: Announce the release to our mailing list and the world. -The process of scheduling release milestones should be community driven, -though the Release Manager should attempt to follow these guidelines. -Specifically, missing features that were scheduled for a release should -be dropped, rather than delaying the release cycle to wait for them. +Some additional supplemental communication will be desirable. The above +list omits the step-by-step instructions to daily release management. +Individuals performing release management need to have the ability to +interact proactively with the community as a whole, anticipating when +such interaction will be required and giving ample notification. -@section releaseshow Release Process: Step-by-Step +The next section explains why the OpenOCD project allows significant +flexibility in the part of the development that precedes the release +process. -The exact process likely requires a few releases to work out the bugs, -as it will take some experience before a script can be developed and -tested that does everything safely and robustly. Even then, some steps -require clear user intervention -- and not only by the release manager. +@note The OpenOCD project does not presently produce -rc packages. As +such, the step suggested in the list above should be read as trying to +stimulate others to test the project build and packaging on as many +platforms as possible. This proposition will be palatable once release +management tools have been committed to the tree. +@subsection releasewhenflex Schedule Flexibility + +The Release Manager should attempt to follow the guidelines in this +document, but the process of scheduling each release milestone should be +community driven at the start. By the end, missing features that were +scheduled for a release must be dropped by the Release Manager, rather +than allowing the release cycle to be delayed while waiting for them. + +Despite any assurances this schedule may appear to give, the Release +Manager cannot schedule the work that will be done on the project, +when it will be submitted, review, and deemed suitable to be committed. +In this way, the RM cannot act as a priest in a cathedral; OpenOCD uses +the bazaar development model. The release schedule must adapt +continuously in response to changes in the rate of churn. + +In particular, the suggested period of "one or two month" reflects some +expectation of a fairly high rate of development. Fewer releases may be +required if developers contribute less patches, and more releases may be +desirable if the project continues to grow and experience high rates of +community contribution. During each cycle, the RM should be tracking +the situation and gathering feedback from the community . + +@section releasehow Release Process: Step-by-Step + +The release process may require a few iterations to work out any bugs. +Even with the release script, some steps require clear user intervention +-- and not only by the Release Manager. + +The following steps should be followed to produce each release: + -# Produce final patches to the trunk (or release branch): - - add NEWS item to describe the release changes? (not ready for 0.2.0) + -# add NEWS item to describe the release changes? (not ready for 0.2.0) - the community should try to help produce this material - can be used to automatically post "blurbs" about the project. - - bump library version if our API changed (not yet required) - - bump package version + -# bump library version if our API changed (not yet required) + -# Remove -in-development tag from package version: + - For major/minor releases, remove version tag from trunk. + - For bug-fix releases, remove version tag from release branch. -# Produce and verify the binary packages: -# Start with a clean working copy, used for producing releases only. -# produce a ChangeLog for the release (using svn2cl). @@ -94,28 +204,181 @@ -# run 'make distcheck' to produce the distribution archives. -# run 'make maintainer-clean'; verify the repository is empty again. -# Branch or tag the required tree in the Subversion repository: - - For a major/minor release from the main trunk, branch and tag it: - -# svn cp .../trunk .../branches/${BRANCH_VERSION} - -# svn cp .../branches/${BRANCH_VERSION} .../tags/${PACKAGE_VERSION} - - For a bug-fix or final release from a release branch, only tag it: - -# svn cp .../branches/${BRANCH_VERSION} .../tags/${PACKAGE_VERSION} - - where: - - BRANCH_VERSION - is x.0.0-trunk or x.y.0-trunk - - PACKAGE_VERSION - is x.y.z + - Tags and branches for releases must be named consistently: @par + "${PACKAGE_TARNAME}-${PACKAGE_VERSION}" + - For a major/minor release from the main trunk, the code should be + branched and tagged in the repository: +@verbatim +svn cp .../trunk .../branches/${RELEASE_BRANCH} +svn cp .../branches/${RELEASE_BRANCH} .../tags/${RELEASE_TAG} +@endverbatim + - For bug-fix releases produced in their respective branch, a tag + should be created in the repository: +@verbatim +svn cp .../branches/${RELEASE_BRANCH} .../tags/${RELEASE_TAG} +@endverbatim +-# Prepare to resume normal development activities: + - For major/minor release from the trunk: + -# Bump major or minor package version in trunk. + -# Restore version tag to trunk and release branch. + - For bug-fix releases from a release branch: + -# Bump bug-fix version in release branch. + -# Restore version tag to release branch. +-# Publish documentation for the release: + - Allow users to access the documentation for each of our releases. + - Place static copies of the following files on the project website: + - NEWS: to provide a blurb for each release (not yet used) + - ChangeLog: to show exactly what has been changed + - User Guide, Developer Manual: to allow easy on-line viewing -# Upload packages and post announcements of their availability: -# Release packages into files section of berliOS project site. -# Post announcement e-mail to the openocd-development list. --# After the community has checked their sanity, we can post "blurbs": - -# Post NEWS update to freshmeat.net and other trackers. + -# Announce updates on freshmeat.net and other trackers. -# Submit big NEWS updates to news feeds (e.g. Digg, Reddit, etc.). -Totally-automated packaging and distribution of OpenOCD requires more -patching (post-0.2.0), but the final script(s) should be able to manage -most steps in these processes. The steps requiring user input can be -guided by an "assistant" that walks the Release Manager through the -process from beginning to end, performing basic sanity checks on their -various inputs (e.g. the NEWS blurb). +@section releasescript The Release Script +Many of the processes described in the last section are no longer +entrusted to humans. Instead, the @c release.sh script provides +automation of the mechanical steps. + +Presently, the @c release.sh script automates steps 1(c) through 4, +allowing the Release Manager from perform these tasks in easy steps. + +The following task still need to be automated: + +- Step 5: produce documentation for website using released source archive. +- Step 6(a): package archive upload process. +- Step 6(b): package announcement e-mail process. +- Step 6(c): post files and announce them using releaseforge. + +In addition, support for '-rc' releases needs to be added. + +@subsection releasescriptcmds Release Script Commands + +The following output was taken from the release script: +@verbatim +usage: tools/release.sh <command> + +Main Commands: + info Show a summary of the next pending release. + release Release the current tree as an archive. + upload Upload archives to berliOS project site + +Build Commands: + bootstrap Prepare the working copy for configuration and building. + configure Configures the package; runs bootstrap, if needed. + build Compiles the project; runs configure, if needed. + +Packaging Commands: + changelog Generate a new ChangeLog using svn2cl. + package Produce new distributable source archives. + stage Move archives to staging area for upload. + +Repository Commands: + commit Perform branch and tag, as appropriate for the version. + branch Create a release branch from the project trunk. + tag Create a tag for the current release branch. + +Other Commands: + version ... Perform version number and tag manipulations. + clean Forces regeneration of results. + clean_all Removes all traces of the release process. + help Provides this list of commands. + +For more information about this script, see the Release Processes page +in the OpenOCD Developer's Manual (doc/manual/release.txt). + +WARNING: This script should be used by the Release Manager ONLY. +@endverbatim + +Run <code>tools/release.sh help</code> for current command support. + +@subsection releasescriptenv Release Script Environment + +The @c release.sh script recognizes some environment variables which +affect its behavior: + +- @c CONFIG_OPTS : Passed as options to the configure script. +- @c MAKE_OPTS : Passed as options to the 'make' processes. +- @c RELEASE_DRY_RUN : Set this to null to perform the live release. + Unless this variable has been (un)set, the release commands will not + affect the repository. + +Proper option handling should be added to set these variables in script. + +@section releasetutorial Release Tutorials + +This section provides tutorials for using the Release Script to perform +common release tasks. + +@subsection releasetutorialminor Minor Release Tutorial + +The tutorials in this section assume the following environment +variables have been set properly: +@verbatim +SVN_USER="maintainer" +SVN_URL="https://${SVN_USER}@svn.berlios.de/svnroot/repos/openocd" +@endverbatim + +@subsection releasetutorialminor Minor Release Tutorial + +This section provides a step-by-step tutorial for a Release Manager to +use to run the @c release.sh script to produce a minor release. + +If the proper environment has been set, the following steps will produce +a new minor release: + +-# Check out (or update) the project trunk from the berliOS repository: +@code +svn checkout "${SVN_URL}/trunk" openocd-trunk +@endcode +-# Change to the new working copy directory: +@code +cd openocd-trunk +@endcode +-# Run @c release.sh to produce the minor release: +@code +tools/release.sh all +@endcode + +@subsection releasetutorialmicro Bug-Fix Release Tutorial + +This section provides a step-by-step tutorial for a Release Manager to +use to run the @c release.sh script to produce a bug-fix release. + +In addition to the environment variables described in the introduction +to these tutorials, the following variables are also used in the +instructions for this section: +@verbatim +PACKAGE_BRANCH_VERSION="x.y.z" +PACKAGE_BRANCH="openocd-${PACKAGE_BRANCH_VERSION}" +@endverbatim + +If the proper environment has been set, the following steps will produce +a new bug-fix release: + +-# Check out (or update) the release branch from the project repository: +@code +svn checkout "${SVN_URL}/branches/${PACKAGE_BRANCH}" "${PACKAGE_BRANCH}" +@endcode +@code +cd "${PACKAGE_BRANCH}" +@endcode +-# Run @c release.sh to produce the bug-fix release: +@code +tools/release.sh all +@endcode + +@section releasetodo Release Script Shortcomings + +Improved automated packaging and distribution of OpenOCD requires more +patching of the configure script. The final release script should be +able to manage most steps of the processes. The steps requiring user +input could be guided by an "assistant" that walks the Release Manager +through the process from beginning to end, performing basic sanity +checks on their various inputs (e.g. the NEWS blurb). + */ /** @file This file contains the @ref releases page. |
From: oharboe at B. <oh...@ma...> - 2009-07-03 14:57:33
|
Author: oharboe Date: 2009-07-03 14:56:34 +0200 (Fri, 03 Jul 2009) New Revision: 2461 Modified: zy1000/trunk/snapshots/repository.zip Log: bugfix for eCos romfs Modified: zy1000/trunk/snapshots/repository.zip =================================================================== (Binary files differ) |
From: oharboe at B. <oh...@ma...> - 2009-07-03 09:19:20
|
Author: oharboe Date: 2009-07-03 09:19:18 +0200 (Fri, 03 Jul 2009) New Revision: 2460 Modified: trunk/doc/ Log: more files to svn:ignore Property changes on: trunk/doc ___________________________________________________________________ Name: svn:ignore - Makefile.in mdate-sh openocd.info stamp-vti texinfo.tex version.texi + Makefile.in mdate-sh openocd.info stamp-vti texinfo.tex version.texi openocd.info-1 openocd.info-2 |
From: <oh...@ma...> - 2009-07-02 19:47:12
|
Author: oharboe Date: 2009-07-02 19:47:10 +0200 (Thu, 02 Jul 2009) New Revision: 2459 Modified: trunk/tcl/target/aduc702x.cfg Log: Xiaofan Chen <xia...@gm...> With this patch, OpenOCD can talk to my Analog Device Eval-ADuC7060 eval board. Modified: trunk/tcl/target/aduc702x.cfg =================================================================== --- trunk/tcl/target/aduc702x.cfg 2009-07-02 11:18:45 UTC (rev 2458) +++ trunk/tcl/target/aduc702x.cfg 2009-07-02 17:47:10 UTC (rev 2459) @@ -5,7 +5,7 @@ if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME s3c2410 + set _CHIPNAME aduc702x } if { [info exists ENDIAN] } { @@ -18,7 +18,7 @@ if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { - set _CPUTAPID 0xffffffff + set _CPUTAPID 0x3f0f0f0f } |
From: <zw...@ma...> - 2009-07-02 13:18:55
|
Author: zwelch Date: 2009-07-02 13:18:45 +0200 (Thu, 02 Jul 2009) New Revision: 2458 Added: trunk/AUTHORS.ChangeLog Log: Add AUTHORS.ChangeLog file suitable to be passed to 'svn2cl --authors'. Added: trunk/AUTHORS.ChangeLog =================================================================== --- trunk/AUTHORS.ChangeLog 2009-07-02 11:17:21 UTC (rev 2457) +++ trunk/AUTHORS.ChangeLog 2009-07-02 11:18:45 UTC (rev 2458) @@ -0,0 +1,10 @@ +drath:Dominic Rath <Dom...@gm...> +mlu:Magnus Lundin <lu...@ml...> +mifi:Michael Fischer <fis...@t-...> +ntfreak:Spencer Oliver <sp...@sp...> +duane:Duane Ellis <op...@du...> +oharboe:Øyvind Harboe <oyv...@zy...> +kc8apf:Rick Altherr <kc...@us...> +zwelch:Zachary T Welch <zw...@su...> +vpalatin:Vincent Palatin <vpa...@us...> +bodylove:Carsten Schlote <sc...@va...> Property changes on: trunk/AUTHORS.ChangeLog ___________________________________________________________________ Name: svn:eol-style + native |
From: <zw...@ma...> - 2009-07-02 13:17:36
|
Author: zwelch Date: 2009-07-02 13:17:21 +0200 (Thu, 02 Jul 2009) New Revision: 2457 Modified: trunk/AUTHORS Log: Add AUTHORS for 0.2.0 release. Modified: trunk/AUTHORS =================================================================== --- trunk/AUTHORS 2009-07-02 11:17:14 UTC (rev 2456) +++ trunk/AUTHORS 2009-07-02 11:17:21 UTC (rev 2457) @@ -6,3 +6,7 @@ Øyvind Harboe <oyv...@zy...> Duane Ellis <op...@du...> Michael Schwingen <mi...@sc...> +Rick Altherr <kc...@us...> +David Brownell <dbr...@us...> +Vincint Palatin <vpa...@us...> +Zachary T Welch <zw...@su...> |
From: <zw...@ma...> - 2009-07-02 13:17:18
|
Author: zwelch Date: 2009-07-02 13:17:14 +0200 (Thu, 02 Jul 2009) New Revision: 2456 Modified: trunk/README trunk/configure.in Log: Remove --enable-release option; if guess-rev.sh is missing, it is a release. Modified: trunk/README =================================================================== --- trunk/README 2009-07-02 11:17:04 UTC (rev 2455) +++ trunk/README 2009-07-02 11:17:14 UTC (rev 2456) @@ -252,11 +252,6 @@ --disable-wextra Disable extra compiler warnings --disable-werror Do not treat warnings as errors - --enable-release Enable building of an OpenOCD release. This - option is intended for project maintainers. - It simply omits the svn version string when - the openocd -v is executed (to KISS). - --disable-option-checking Ignore unrecognized --enable and --with options. --disable-dependency-tracking speeds up one-time build Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2009-07-02 11:17:04 UTC (rev 2455) +++ trunk/configure.in 2009-07-02 11:17:14 UTC (rev 2456) @@ -89,17 +89,20 @@ is_mingw=no is_win32=no is_darwin=no -build_release=yes -AC_ARG_ENABLE(release, - AS_HELP_STRING([--enable-release], [Enable Release Build, default no]), - [build_release=$enableval], [build_release=no]) +if test $cross_compiling = no; then + # guess-rev.sh only exists in the repository, not in the released archives + AC_CHECK_FILE("$srcdir/guess-rev.sh", has_guess_rev=yes, has_guess_rev=no) -if test $cross_compiling = no; then - if test $build_release = no; then - # check we can find guess-rev.sh - AC_CHECK_FILE("$srcdir/guess-rev.sh", build_release=no, build_release=yes) + AC_MSG_CHECKING([whether to build a release]) + if test $has_guess_rev = no; then + build_release=yes + else + build_release=no fi + AC_MSG_RESULT($build_release) +else + build_release=yes fi # We are not *ALWAYS* being installed in the standard place. |
From: <zw...@ma...> - 2009-07-02 13:17:11
|
Author: zwelch Date: 2009-07-02 13:17:04 +0200 (Thu, 02 Jul 2009) New Revision: 2455 Modified: trunk/tcl/board/csb337.cfg trunk/tcl/board/omap2420_h4.cfg trunk/tcl/target/icepick.cfg trunk/tcl/target/omap2420.cfg trunk/tcl/target/ti_dm6446.cfg Log: Remove vim editor commands from TCL files. Modified: trunk/tcl/board/csb337.cfg =================================================================== --- trunk/tcl/board/csb337.cfg 2009-07-02 11:16:57 UTC (rev 2454) +++ trunk/tcl/board/csb337.cfg 2009-07-02 11:17:04 UTC (rev 2455) @@ -112,5 +112,3 @@ } $_TARGETNAME configure -event reset-init {csb337_reset_init} - -# vim:syntax tcl Modified: trunk/tcl/board/omap2420_h4.cfg =================================================================== --- trunk/tcl/board/omap2420_h4.cfg 2009-07-02 11:16:57 UTC (rev 2454) +++ trunk/tcl/board/omap2420_h4.cfg 2009-07-02 11:17:04 UTC (rev 2455) @@ -10,5 +10,3 @@ # has 64M NAND on cs6. flash bank cfi 0x04000000 0x02000000 2 2 $_TARGETNAME flash bank cfi 0x06000000 0x02000000 2 2 $_TARGETNAME - -# vim:syntax tcl Modified: trunk/tcl/target/icepick.cfg =================================================================== --- trunk/tcl/target/icepick.cfg 2009-07-02 11:16:57 UTC (rev 2454) +++ trunk/tcl/target/icepick.cfg 2009-07-02 11:17:04 UTC (rev 2455) @@ -19,5 +19,3 @@ irscan $jrc 0x3F -endstate RUN/IDLE runtest 10 } - -# vim:syntax tcl Modified: trunk/tcl/target/omap2420.cfg =================================================================== --- trunk/tcl/target/omap2420.cfg 2009-07-02 11:16:57 UTC (rev 2454) +++ trunk/tcl/target/omap2420.cfg 2009-07-02 11:17:04 UTC (rev 2455) @@ -57,5 +57,3 @@ # REVISIT ... as of 12-June-2009, OpenOCD's ETM code can't talk to ARM11 cores. #etm config $_TARGETNAME 16 normal full etb #etb config $_TARGETNAME $_CHIPNAME.etb - -# vim:syntax tcl Modified: trunk/tcl/target/ti_dm6446.cfg =================================================================== --- trunk/tcl/target/ti_dm6446.cfg 2009-07-02 11:16:57 UTC (rev 2454) +++ trunk/tcl/target/ti_dm6446.cfg 2009-07-02 11:17:04 UTC (rev 2455) @@ -75,5 +75,3 @@ # trace setup etm config $_TARGETNAME 16 normal full etb etb config $_TARGETNAME $_CHIPNAME.etb - -# vim:syntax tcl |
From: <zw...@ma...> - 2009-07-02 13:17:02
|
Author: zwelch Date: 2009-07-02 13:16:57 +0200 (Thu, 02 Jul 2009) New Revision: 2454 Modified: trunk/src/jtag/ft2232.c Log: Fix FTD2XX build for CygWin. Modified: trunk/src/jtag/ft2232.c =================================================================== --- trunk/src/jtag/ft2232.c 2009-07-02 10:54:30 UTC (rev 2453) +++ trunk/src/jtag/ft2232.c 2009-07-02 11:16:57 UTC (rev 2454) @@ -1885,7 +1885,7 @@ { LOG_ERROR("ListDevices: %lu\n", num_devices); for (i = 0; i < num_devices; i++) - LOG_ERROR("%i: \"%s\"", i, desc_array[i]); + LOG_ERROR("%" PRIu32 ": \"%s\"", i, desc_array[i]); } for (i = 0; i < num_devices; i++) |
From: <zw...@ma...> - 2009-07-02 12:54:40
|
Author: zwelch Date: 2009-07-02 12:54:30 +0200 (Thu, 02 Jul 2009) New Revision: 2453 Added: trunk/doc/manual/release.txt Modified: trunk/doc/manual/main.txt Log: Commit first draft of release process documentation. Modified: trunk/doc/manual/main.txt =================================================================== --- trunk/doc/manual/main.txt 2009-07-02 09:12:43 UTC (rev 2452) +++ trunk/doc/manual/main.txt 2009-07-02 10:54:30 UTC (rev 2453) @@ -18,6 +18,7 @@ follow when submitting patches to the project. - The @subpage bugs page contains the content of the BUGS file, which provides instructions for submitting bug reports to the maintainers. +- The @subpage releases page describes the project's release process. @ref primer provide introductory materials for new developers on various specific topics. Added: trunk/doc/manual/release.txt =================================================================== --- trunk/doc/manual/release.txt 2009-07-02 09:12:43 UTC (rev 2452) +++ trunk/doc/manual/release.txt 2009-07-02 10:54:30 UTC (rev 2453) @@ -0,0 +1,122 @@ +/** @page releases Release Processes + +This page provides an introduction to the OpenOCD Release Proceses: +- @ref releaseswhy +- @ref releaseswho +- @ref releaseswhen +- @ref releaseshow + +@section releaseswhy Why Produce Releases? + +The OpenOCD maintainers should produce releases periodically. +he reasons for several reasons that should be given in detail, before +explaining who and how the processes occur. + +At any time, a "source archives" can be produced by running 'make dist' +in the OpenOCD project tree. With the 0.2.0 release, this command will +produce openocd-\<version\>.{tar.gz,tar.bz2,zip} archives, which will be +suitable for being released when produced properly. + +When released for users, these archives present several important +advantages when contrasted to using the Subversion repository: + +-# They allow others to package and distribute the code to users. +-# They build easier for developers, because they contain + a working configure script that was produced by the Release Manager. +-# They prevent users from trying a random HEAD revision of the trunk. +-# They free developers from answering questions about trunk breakage. + +Hopefully, this shows several good reasons to produce regular releases, +but these release processes were developed with some additional design +goals in mind. Specifically, the releases processes should have the +following properties: + +-# Produce successive sets of release archives cleanly and consistently. + - Implementable as a script that automates the critical release steps. +-# Prevent human operators from doing it wrong, as much as possible. +-# Allow scheduling and automation of release process milestones. + +The current release processes are documented in the following sections. +They attempt to meet these design goals, but there are many improvements +remaining to be made toward automating the process. + +@section releaseswho OpenOCD Release Manager + +OpenOCD archive releases will be produced by an individual filling the +role of <i>Release Manager</i>. This individual determines the schdule +(@see releaseswhen) and executes the release processes for the +community. Each release requires one individual to fulfill this role, +and these processes should survive any such transition gracefully. + +@section releaseswhen OpenOCD Release Schedule + +The OpenOCD release process must be carried out on a periodic basis +in order to realize the benefits outlined above (@see releaseswhy). + +Starting with the 0.2.0 release, the OpenOCD project should produce a +new minor release each month, with a major release once per year. Bug +fix releases could be provided more frequently; however, these should +not be a priority for the Release Manager until the processes have been +fully automated, to use resources most efficiently. + +If T is the time of the next release, then the following milestones +describe the release milestones for each new release cycle. + +- T minus one month: start of new development cycle +- T minus two weeks: announce pending trunk closure to new work +- T minus one week: close trunk to new work, begin testing phase +- T minus two days: call for final bug fixes +- T minus one day: produce -rc packages and distribute to testers +- T minus one hour: produce final packages and post on-line + +The process of scheduling release milestones should be community driven, +though the Release Manager should attempt to follow these guidelines. +Specifically, missing features that were scheduled for a release should +be dropped, rather than delaying the release cycle to wait for them. + +@section releaseshow Release Process: Step-by-Step + +The exact process likely requires a few releases to work out the bugs, +as it will take some experience before a script can be developed and +tested that does everything safely and robustly. Even then, some steps +require clear user intervention -- and not only by the release manager. + +-# Produce final patches to the trunk (or release branch): + - add NEWS item to describe the release changes? (not ready for 0.2.0) + - the community should try to help produce this material + - can be used to automatically post "blurbs" about the project. + - bump library version if our API changed (not yet required) + - bump package version +-# Produce and verify the binary packages: + -# Start with a clean working copy, used for producing releases only. + -# produce a ChangeLog for the release (using svn2cl). + -# bootstrap, configure, and build the package. + -# run 'make distcheck' to produce the distribution archives. + -# run 'make maintainer-clean'; verify the repository is empty again. +-# Branch or tag the required tree in the Subversion repository: + - For a major/minor release from the main trunk, branch and tag it: + -# svn cp .../trunk .../branches/${BRANCH_VERSION} + -# svn cp .../branches/${BRANCH_VERSION} .../tags/${PACKAGE_VERSION} + - For a bug-fix or final release from a release branch, only tag it: + -# svn cp .../branches/${BRANCH_VERSION} .../tags/${PACKAGE_VERSION} + - where: + - BRANCH_VERSION - is x.0.0-trunk or x.y.0-trunk + - PACKAGE_VERSION - is x.y.z +-# Upload packages and post announcements of their availability: + -# Release packages into files section of berliOS project site. + -# Post announcement e-mail to the openocd-development list. +-# After the community has checked their sanity, we can post "blurbs": + -# Post NEWS update to freshmeat.net and other trackers. + -# Submit big NEWS updates to news feeds (e.g. Digg, Reddit, etc.). + +Totally-automated packaging and distribution of OpenOCD requires more +patching (post-0.2.0), but the final script(s) should be able to manage +most steps in these processes. The steps requiring user input can be +guided by an "assistant" that walks the Release Manager through the +process from beginning to end, performing basic sanity checks on their +various inputs (e.g. the NEWS blurb). + + */ +/** @file +This file contains the @ref releases page. + */ Property changes on: trunk/doc/manual/release.txt ___________________________________________________________________ Name: svn:eol-style + native |
From: oharboe at B. <oh...@ma...> - 2009-07-02 11:12:44
|
Author: oharboe Date: 2009-07-02 11:12:43 +0200 (Thu, 02 Jul 2009) New Revision: 2452 Modified: trunk/ Log: add svn:ignore to INSTALL file (it's generated) Property changes on: trunk ___________________________________________________________________ Name: svn:ignore - autom4te.cache .project aclocal.m4 config.guess config.h.in config.sub configure depcomp install-sh Makefile.in missing compile ltmain.sh.lnk ltmain.sh + autom4te.cache .project aclocal.m4 config.guess config.h.in config.sub configure depcomp install-sh Makefile.in missing compile ltmain.sh.lnk ltmain.sh INSTALL |
From: oharboe at B. <oh...@ma...> - 2009-07-02 11:11:22
|
Author: oharboe Date: 2009-07-02 11:11:18 +0200 (Thu, 02 Jul 2009) New Revision: 2451 Modified: trunk/src/jtag/zy1000/zy1000.c zy1000/trunk/build/menu/zy1000menu.xml zy1000/trunk/build/tcl/browsemem.tcl zy1000/trunk/build/tcl/downloadmem.tcl zy1000/trunk/build/tcl/editconfigs.tcl zy1000/trunk/build/tcl/editfile.tcl zy1000/trunk/build/tcl/erase.tcl zy1000/trunk/build/tcl/flash.tcl zy1000/trunk/build/tcl/flashinfo.tcl zy1000/trunk/build/tcl/guiupload.tcl zy1000/trunk/build/tcl/index.tcl zy1000/trunk/build/tcl/log.tcl zy1000/trunk/build/tcl/openocd.tcl zy1000/trunk/build/tcl/preconfig.tcl zy1000/trunk/build/tcl/production.tcl zy1000/trunk/build/tcl/reload.tcl zy1000/trunk/build/tcl/run.tcl zy1000/trunk/build/tcl/support.tcl zy1000/trunk/build/tcl/targets.tcl zy1000/trunk/build/tcl/terminal.tcl zy1000/trunk/build/tcl/upgrade.tcl zy1000/trunk/build/tcl/zy1000.tcl zy1000/trunk/snapshots/athttpd.zip zy1000/trunk/snapshots/discover.zip zy1000/trunk/snapshots/jimtcl.zip Log: zy1000 1.53 snapshot Modified: trunk/src/jtag/zy1000/zy1000.c =================================================================== --- trunk/src/jtag/zy1000/zy1000.c 2009-07-02 07:20:04 UTC (rev 2450) +++ trunk/src/jtag/zy1000/zy1000.c 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2008 by vind Harboe * + * Copyright (C) 2007-2008 by �yvind Harboe * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -28,7 +28,7 @@ #include <cyg/hal/hal_diag.h> -#define ZYLIN_VERSION "1.52" +#define ZYLIN_VERSION "1.53" #define ZYLIN_DATE __DATE__ #define ZYLIN_TIME __TIME__ #define ZYLIN_OPENOCD "$Revision$" Modified: zy1000/trunk/build/menu/zy1000menu.xml =================================================================== --- zy1000/trunk/build/menu/zy1000menu.xml 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/menu/zy1000menu.xml 2009-07-02 09:11:18 UTC (rev 2451) @@ -1549,14 +1549,13 @@ <markup_code><![CDATA[ Before contacting Zylin, please submit a support request with relevant information. <tcl> - - set form_config [load_config "[load_target]"] - set support_id [string range [rand] 0 7] - set form_log "" - append form_log "Version: [zy1000_version zy1000]" - append form_log "OpenOCD version: [zy1000_version openocd]" - append form_log "Version date: [zy1000_version date]" - append form_log [log] + set form_config [load_config "[load_target]"] + set support_id [string range [rand] 0 7] + set form_log "" + append form_log "Version: [zy1000_version zy1000]" + append form_log "OpenOCD version: [zy1000_version openocd]" + append form_log "Version date: [zy1000_version date]" + append form_log [log] </tcl> <form action="supportrequest.tcl" method="POST" target="_blank"> @@ -1625,7 +1624,7 @@ <tr><td>Contact person</td><td><tcl>append buffer [encode [formfetch name]]</tcl></td></tr> <tr><td>Phone</td><td><tcl>append buffer [encode [formfetch phone]]</tcl></td></tr> <tr><td>email</td><td><tcl>append buffer [encode [formfetch email]]</tcl></td></tr> - <tr><td>MAC address</td><td><tcl>append buffer [formfetch serial]]</tcl></td></tr> + <tr><td>MAC address</td><td><tcl>append buffer [formfetch serial]</tcl></td></tr> <tr><td colspan="2">Summary:</td></tr> <tr><td colspan="2"><tcl>append buffer [encode [formfetch summary]]</tcl></td></tr> <tr><td colspan="2">Description:</td></tr> Modified: zy1000/trunk/build/tcl/browsemem.tcl =================================================================== --- zy1000/trunk/build/tcl/browsemem.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/browsemem.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,155 +1,155 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="browsemem.tcl" style="font-weight: bold;">Browse / Edit</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="downloadmem.tcl" style="">Download</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Browse / Edit Memory</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="browsemem.tcl" style="font-weight: bold;">Browse / Edit</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="downloadmem.tcl" style="">Download</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Browse / Edit Memory</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> @@ -269,119 +269,119 @@ - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/browsemem.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/browsemem.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> <p>Browse and edit target memory.<br> @@ -392,65 +392,65 @@ <p><b>Fill</b> - Will fill the specified region with the specified value.</p> <p><b>Refresh</b> - Display the content of the specified memory area.</p> - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> - - </td> -</tr> -</table> -</td> -</tr> -<tr> -<td/> -<td> -<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> -</td> -<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> - Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com - </td> -</tr> -</table> -</body> -</html> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + </td> +</tr> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> + + </td> +</tr> +</table> +</td> +</tr> +<tr> +<td/> +<td> +<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> +</td> +<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> + Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com + </td> +</tr> +</table> +</body> +</html> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: zy1000/trunk/build/tcl/downloadmem.tcl =================================================================== --- zy1000/trunk/build/tcl/downloadmem.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/downloadmem.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,160 +1,160 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="browsemem.tcl" style="">Browse / Edit</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="downloadmem.tcl" style="font-weight: bold;">Download</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Download Memory Range</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="browsemem.tcl" style="">Browse / Edit</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="downloadmem.tcl" style="font-weight: bold;">Download</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Download Memory Range</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> <tcl> set form_address [formfetch form_address] @@ -193,119 +193,119 @@ - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/downloadmem.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/downloadmem.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> Download memory to ZY1000 from target. <br> @@ -315,60 +315,60 @@ Once the memory is downloaded a link is available on the page to download the file from ZY1000 to your PC. - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> - - </td> -</tr> -</table> -</td> -</tr> -<tr> -<td/> -<td> -<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> -</td> -<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> - Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com - </td> -</tr> -</table> -</body> -</html> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + </td> +</tr> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> + + </td> +</tr> +</table> +</td> +</tr> +<tr> +<td/> +<td> +<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> +</td> +<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> + Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com + </td> +</tr> +</table> +</body> +</html> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: zy1000/trunk/build/tcl/editconfigs.tcl =================================================================== --- zy1000/trunk/build/tcl/editconfigs.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/editconfigs.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,142 +1,142 @@ - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/index.tcl" style="">Target Status</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/preconfig.tcl" style="">Select Target Config</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/editconfigs.tcl" style="">Edit Configurations</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/reload.tcl" style="">Reload Config Scripts</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl" style="font-weight: bold;">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Edit Target Configurations</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/index.tcl" style="">Target Status</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/preconfig.tcl" style="">Select Target Config</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/editconfigs.tcl" style="">Edit Configurations</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/reload.tcl" style="">Reload Config Scripts</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl" style="font-weight: bold;">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Edit Target Configurations</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> <form action="editconfigs.tcl" method="post"> <tcl> @@ -218,119 +218,119 @@ append buffer {</tr></table>} "\n" </tcl> </form> - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/editconfigs.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/editconfigs.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> <p>Here you can edit predefined target configurations, restore predefined configurations to @@ -346,92 +346,92 @@ <b>Note</b> that firmware included configuration files can not be deleted.</p> <p><b>Save</b> - Save the edited file under the a new or the same name.</p> - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.p... [truncated message content] |
From: oharboe at B. <oh...@ma...> - 2009-07-02 09:20:07
|
Author: oharboe Date: 2009-07-02 09:20:04 +0200 (Thu, 02 Jul 2009) New Revision: 2450 Modified: zy1000/trunk/build/makephi.sh zy1000/trunk/ecoshal/hal/zylin/phi/current/include/pkgconf/mlt_zylin_phi_dram_fast.ldi Log: fix zy1000 build problems(and tested w/Ubuntu 9.04). Modified: zy1000/trunk/build/makephi.sh =================================================================== --- zy1000/trunk/build/makephi.sh 2009-07-02 07:12:59 UTC (rev 2449) +++ zy1000/trunk/build/makephi.sh 2009-07-02 07:20:04 UTC (rev 2450) @@ -5,7 +5,8 @@ find tclconvert -regex ".*\.svn" -exec echo rm -rf {} \; | sh #sh $OPENOCD/html2tcl.tcl tclconvert find tclconvert/ -type f -exec $OPENOCD/html2tcl.tcl {} {} \; -make -s install-data-am +make +make -s install # copy over installed stuff cp -r /tmp/ecosboard/ocdinstall/lib/openocd/* tclconvert/ Modified: zy1000/trunk/ecoshal/hal/zylin/phi/current/include/pkgconf/mlt_zylin_phi_dram_fast.ldi =================================================================== --- zy1000/trunk/ecoshal/hal/zylin/phi/current/include/pkgconf/mlt_zylin_phi_dram_fast.ldi 2009-07-02 07:12:59 UTC (rev 2449) +++ zy1000/trunk/ecoshal/hal/zylin/phi/current/include/pkgconf/mlt_zylin_phi_dram_fast.ldi 2009-07-02 07:20:04 UTC (rev 2450) @@ -76,7 +76,7 @@ *kernel* (*.data*) ; -* (*cyg_httpd_thread_stack*) ; +//* (*cyg_httpd_thread_stack*) ; *hal_arm_arch_hal_misc.o* (*) ; *at91_misc* (*) ; |
From: oharboe at B. <oh...@ma...> - 2009-07-02 09:13:01
|
Author: oharboe Date: 2009-07-02 09:12:59 +0200 (Thu, 02 Jul 2009) New Revision: 2449 Modified: trunk/doc/openocd.texi Log: David Brownell <da...@pa...> Fix two texinfo formatting bugs. The first was visible by reading the output, and both were reported in openocd.log after making the PDF. Modified: trunk/doc/openocd.texi =================================================================== --- trunk/doc/openocd.texi 2009-07-02 04:55:46 UTC (rev 2448) +++ trunk/doc/openocd.texi 2009-07-02 07:12:59 UTC (rev 2449) @@ -176,10 +176,12 @@ You can download the current SVN version with an SVN client of your choice from the following repositories: - svn://svn.berlios.de/openocd/trunk + @uref{svn://svn.berlios.de/openocd/trunk} + or - http://svn.berlios.de/svnroot/repos/openocd/trunk + @uref{http://svn.berlios.de/svnroot/repos/openocd/trunk} + Using the SVN command line client, you can use the following command to fetch the latest version (make sure there is no (non-svn) directory called "openocd" in the current directory): @@ -716,7 +718,7 @@ @item You may may need to write some C code. -It may be as simple as a supporting a new new ft2232 or parport +It may be as simple as a supporting a new ft2232 or parport based dongle; a bit more involved, like a NAND or NOR flash controller driver; or a big piece of work like supporting a new chip architecture. @@ -3155,8 +3157,8 @@ readers/updaters: Please remove this worrysome comment after other chips are confirmed.} -The AT91SAM3U4[E/C] (256K) chips have 2 flash banks, the other chips -(3U[1/2][E/C]) have 1 flash bank. In all cases the flash banks are at +The AT91SAM3U4[E/C] (256K) chips have two flash banks; most other chips +have one flash bank. In all cases the flash banks are at the following fixed locations: @example |
From: <zw...@ma...> - 2009-07-02 06:55:58
|
Author: zwelch Date: 2009-07-02 06:55:46 +0200 (Thu, 02 Jul 2009) New Revision: 2448 Modified: trunk/README Log: David Brownell <da...@pa...>: More minor improvements to README to help polish the 0.2.0 release: - Add note about Ubuntu 8.04 (in lieu of starting a README.Linux file). - Fix introductory paragraph to Bulding OpenOCD - Remove some vestigial texinfo markup. Modified: trunk/README =================================================================== --- trunk/README 2009-07-02 04:55:35 UTC (rev 2447) +++ trunk/README 2009-07-02 04:55:46 UTC (rev 2448) @@ -117,13 +117,11 @@ The INSTALL file contains generic instructions for running 'configure' and compiling the OpenOCD source code. That file is provided by default -for all GNU automake packages, and +for all GNU automake packages. If you are not familiar with the GNU +autotools, then you should read those instructions first. -if you are not familiar with the GNU autotools, then you should read -those instructions first. -Still, the -remainder of this document tries to provide complete instructions for -those looking for a quick-install +The remainder of this document tries to provide some instructions for +those looking for a quick-install. OpenOCD Dependencies -------------------- @@ -143,11 +141,13 @@ - ft2232 also requires: - libftdi: http://www.intra2net.com/opensource/ftdi/ *OR* - ftd2xx: http://www.ftdichip.com/Drivers/D2XX.htm, - or the Amontec version (from @uref{http://www.amontec.com}), for + or the Amontec version (from http://www.amontec.com), for easier support of JTAGkey's vendor and product IDs. Many Linux distributions provide these packages through their automated -installation and update mechanisms. +installation and update mechanisms; however, some Linux versions include +older versions of libftdi. In particular, using Ubuntu 8.04 has been +problematic, but newer versions of Ubuntu do not have this problem. Compiling OpenOCD ----------------- @@ -377,7 +377,7 @@ svn checkout svn://svn.berlios.de/openocd/trunk openocd -If you prefer GIT based tools, the @command{git-svn} package works too: +If you prefer GIT based tools, the git-svn package works too: git svn clone -s svn://svn.berlios.de/openocd @@ -386,7 +386,7 @@ Building OpenOCD from a repository requires a recent version of the GNU autotools (autoconf >= 2.59 and automake >= 1.9). For building on -Windows, you have to use Cygwin. Make sure that your @env{PATH} +Windows, you have to use Cygwin. Make sure that your PATH environment variable contains no other locations with Unix utils (like UnxUtils) - these can't handle the Cygwin paths, resulting in obscure dependency errors. This was an observation gathered from the logs of |
From: <zw...@ma...> - 2009-07-02 06:55:44
|
Author: zwelch Date: 2009-07-02 06:55:35 +0200 (Thu, 02 Jul 2009) New Revision: 2447 Modified: trunk/tcl/board/dm355evm.cfg trunk/tcl/target/davinci.cfg Log: David Brownell <da...@pa...>: Prepare the DaVinci PLL code to support the version 0x0E module used in newer chips (e.g. dm365): rename the original code so it's specific to version 0x02 PLL modules, and update the dm355evm code to use that new name. Fix two minor bugs in that version 2 code: sysclk3 setup used the sysclk2 divider address (affecting video processing on dm355, no worry for now) and sysclk2 setup had a syntax error. Also minor fixups to dm355evm, mostly to permit use of RTCK. Modified: trunk/tcl/board/dm355evm.cfg =================================================================== --- trunk/tcl/board/dm355evm.cfg 2009-07-02 04:55:10 UTC (rev 2446) +++ trunk/tcl/board/dm355evm.cfg 2009-07-02 04:55:35 UTC (rev 2447) @@ -1,4 +1,3 @@ -# # DM355 EVM board # http://focus.ti.com/docs/toolsw/folders/print/tmdsevm355.html # http://c6000.spectrumdigital.com/evmdm355/ @@ -22,7 +21,7 @@ puts "Initialize DM355 EVM board" # CLKIN = 24 MHz ... can't talk quickly to ARM yet - jtag_khz 1500 + jtag_rclk 1500 ######################## # PLL1 = 432 MHz (/8, x144) @@ -37,10 +36,10 @@ set pll_divs [dict create] dict set pll_divs div3 16 dict set pll_divs div4 8 - pll_setup $addr 144 $pll_divs + pll_v02_setup $addr 144 $pll_divs # ARM is now running at 216 MHz, so JTAG can go faster - jtag_khz 20000 + jtag_rclk 20000 ######################## # PLL2 = 342 MHz (/8, x114) @@ -50,7 +49,7 @@ set addr [dict get $dm355 pllc2] set pll_divs [dict create] dict set pll_divs prediv 8 - pll_setup $addr 114 $pll_divs + pll_v02_setup $addr 114 $pll_divs ######################## # PINMUX Modified: trunk/tcl/target/davinci.cfg =================================================================== --- trunk/tcl/target/davinci.cfg 2009-07-02 04:55:10 UTC (rev 2446) +++ trunk/tcl/target/davinci.cfg 2009-07-02 04:55:35 UTC (rev 2447) @@ -31,12 +31,10 @@ # For PLLs that don't have a given register (e.g. plldiv8), or where a # given divider is non-programmable, caller provides *NO* config mapping. # -# REVISIT there are minor differences between the PLL controllers. -# Handle those; maybe check the ID register. This version behaves -# for at least the dm355. On dm6446 and dm357 the PLLRST polarity -# is different. On dm365 there are more changes. -# -proc pll_setup {pll_addr mult config} { + +# PLL version 0x02: tested on dm355 +# REVISIT: On dm6446 and dm357 the PLLRST polarity is different. +proc pll_v02_setup {pll_addr mult config} { set pll_ctrl_addr [expr $pll_addr + 0x100] set pll_ctrl [mrw $pll_ctrl_addr] @@ -98,7 +96,7 @@ set go 1 } if { [dict exists $config div2] } { - 1et div [dict get $config div2] + set div [dict get $config div2] set div [expr 0x8000 | ($div - 1)] mww [expr $pll_addr + 0x011c] $div set go 1 @@ -106,7 +104,7 @@ if { [dict exists $config div3] } { set div [dict get $config div3] set div [expr 0x8000 | ($div - 1)] - mww [expr $pll_addr + 0x011c] $div + mww [expr $pll_addr + 0x0120] $div set go 1 } if { [dict exists $config div4] } { |
From: <zw...@ma...> - 2009-07-02 06:55:30
|
Author: zwelch Date: 2009-07-02 06:55:10 +0200 (Thu, 02 Jul 2009) New Revision: 2446 Modified: trunk/src/flash/davinci_nand.c Log: David Brownell <da...@pa...>: Restore some whitespace that got clobbered by over-aggressive whitepace eradication patches a while back. Modified: trunk/src/flash/davinci_nand.c =================================================================== --- trunk/src/flash/davinci_nand.c 2009-07-01 19:55:52 UTC (rev 2445) +++ trunk/src/flash/davinci_nand.c 2009-07-02 04:55:10 UTC (rev 2446) @@ -675,7 +675,7 @@ if (aemif == 0x01e00000 /* dm6446, dm357 */ || aemif == 0x01e10000 /* dm335, dm355 */ || aemif == 0x01d10000 /* dm365 */ -) { + ) { if (chip < 0x0200000 || chip >= 0x0a000000) { LOG_ERROR("NAND address %08lx out of range?", chip); goto fail; |
From: <zw...@ma...> - 2009-07-01 21:55:57
|
Author: zwelch Date: 2009-07-01 21:55:52 +0200 (Wed, 01 Jul 2009) New Revision: 2445 Modified: trunk/doc/manual/main.txt Log: Minor fixes to Developer Manual pages. - Fix cosmetic bug on main page - Add missing JTAG list item. Modified: trunk/doc/manual/main.txt =================================================================== --- trunk/doc/manual/main.txt 2009-07-01 19:55:46 UTC (rev 2444) +++ trunk/doc/manual/main.txt 2009-07-01 19:55:52 UTC (rev 2445) @@ -1,7 +1,7 @@ /** @mainpage OpenOCD Reference Manual Welcome to the OpenOCD Reference Manual -- the developer's resource for -learning about the internal architecture of the OpenOCD project. +learning about the internal architecture of the OpenOCD project. @par In addition, this document contains the tactical and strategic plans and processes that have been developed by and for the OpenOCD community. @@ -69,6 +69,7 @@ - @ref helperlogging - @subpage jtagdocs - @ref jtagcore + - @ref jtagtcl - @ref jtagcmd - @ref jtagiface - @ref jtagdriver |
From: <zw...@ma...> - 2009-07-01 21:55:49
|
Author: zwelch Date: 2009-07-01 21:55:46 +0200 (Wed, 01 Jul 2009) New Revision: 2444 Modified: trunk/src/target/target_type.h Log: Add missing copyright header to target_type.h. Modified: trunk/src/target/target_type.h =================================================================== --- trunk/src/target/target_type.h 2009-07-01 19:55:39 UTC (rev 2443) +++ trunk/src/target/target_type.h 2009-07-01 19:55:46 UTC (rev 2444) @@ -1,3 +1,28 @@ +/*************************************************************************** + * Copyright (C) 2005 by Dominic Rath * + * Dom...@gm... * + * * + * Copyright (C) 2007,2008 Øyvind Harboe * + * oyv...@zy... * + * * + * Copyright (C) 2008 by Spencer Oliver * + * sp...@sp... * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #ifndef TARGET_TYPE_H #define TARGET_TYPE_H |
From: <zw...@ma...> - 2009-07-01 21:55:43
|
Author: zwelch Date: 2009-07-01 21:55:39 +0200 (Wed, 01 Jul 2009) New Revision: 2443 Modified: trunk/src/helper/membuf.h Log: Add missing copyright header and fix @page direction in membuf.h. Modified: trunk/src/helper/membuf.h =================================================================== --- trunk/src/helper/membuf.h 2009-07-01 19:55:34 UTC (rev 2442) +++ trunk/src/helper/membuf.h 2009-07-01 19:55:39 UTC (rev 2443) @@ -1,9 +1,27 @@ +/*************************************************************************** + * Copyright (C) 2009 By Duane Ellis * + * op...@du... * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #ifndef HELPER_MEMBUF_H #define HELPER_MEMBUF_H -/** @file */ - -/** @page MEMBUF - an auto-growing string buffer +/** @file + * MEMBUF - an auto-growing string buffer * * With OpenOCD often, one must write code that sends text to * different places.. the historical command_ctx, or JIM output, |
From: <zw...@ma...> - 2009-07-01 21:55:37
|
Author: zwelch Date: 2009-07-01 21:55:34 +0200 (Wed, 01 Jul 2009) New Revision: 2442 Modified: trunk/TODO Log: Update TODO list to relect 0.2.0 release. Modified: trunk/TODO =================================================================== --- trunk/TODO 2009-07-01 19:55:28 UTC (rev 2441) +++ trunk/TODO 2009-07-01 19:55:34 UTC (rev 2442) @@ -5,13 +5,6 @@ @section thelist The List -Items with a current patch available should include a link to its -posting on the openocd-developer mailing list archives. - -Some items may be in progress, usually indicated by the individual whose -initials in parentheses following it. A key for decoding these initials -appears after The List. - Most items are open for the taking, but please post to the mailing list before spending much time working on anything lists here. The community may have evolved an idea since it was added here. @@ -33,6 +26,8 @@ above rely heavily on scripting event mechanisms. - Allow full TCL support? add --with-tcl=/path/to/installed/tcl - Move TCL support out of foo.[ch] and into foo_tcl.[ch] (other ideas?) + - See src/jtag/core.c and src/jtag/tcl.c for an example. + - allow some of these TCL command modules to be dynamically loadable? @section thelistjtag JTAG @@ -44,15 +39,6 @@ - use tap_set_state everywhere to allow logging TAP state transitions - rename other tap_states to use standard JTAG names (suggested by ML) - -- retire jtag_add_end_state() and replace w/global variable: - - removes TAP_INVALID as an argument to jtag_add_xxxx(). - - - global variable as argument to jtag_add_xxxx() should be phased out, - but it is useful while we need to bug-by-bug compatible while - testing changes. - - - Suggested by . Michael Bruck also interested in this. - Encapsulate cmd_queue_cur_state and related varaible handling. The following tasks have been suggested for adding new core JTAG support: @@ -71,13 +57,11 @@ - rework USB communication to be more robust. Two possible options are: -# use libusb-1.0.1 with libusb-compat-0.1.1 (non-blocking I/O wrapper) -# rewrite implementation to use non-blocking I/O -- FT2232 driver: - - integrate FTD2XX High-Speed Device support @par - PATCH: https://lists.berlios.de/pipermail/openocd-development/2009-April/005479.html - - fix outstanding bugs - J-Link driver: - fix to work with long scan chains, such as R.Doss's svf test. - - fix other outstanding bugs +- FT2232 (libftdi): + - make performance comparable to alternatives + - make usability comparable to alternatives The following tasks have been suggested for adding new JTAG interfaces: @@ -110,8 +94,8 @@ @section thelisttargets Target Support -- general layer cleanup: - - https://lists.berlios.de/pipermail/openocd-development/2009-May/006590.html +- general layer cleanup: @par + https://lists.berlios.de/pipermail/openocd-development/2009-May/006590.html - ARM11 improvements (MB?) - fix single stepping (reported by ) - implement missing functionality (grep FNC_INFO_NOTIMPLEMENTED ...) @@ -130,7 +114,7 @@ - work out how to debug this target - AVR debugging protocol. - FPGA: - - improve things (??) + - Altera Nios Soft-CPU support - Coldfire (suggested by NC) - can we draw from the BDM project? @par http://bdm.sourceforge.net/ @@ -140,11 +124,6 @@ @section thelistsvf SVF/XSVF -- factor and clean-up code -- review The Guide for OpenOCD Users for documentation errors or omissions -- update The Manual for OpenOCD Developerrs: - - add documentation describing the architecture of each module - - provide Technical Primers to bootstrap contributor knowledge - develop SVF unit tests - develop XSVF unit tests @@ -166,6 +145,8 @@ @section thelistdebug Debugger Support +- breakpoints can get lost in some circumstances: @par + https://lists.berlios.de/pipermail/openocd-development/2009-June/008853.html - integrate Keil AGDI interface to OpenOCD? (submitted by Dario Vecchio) @section thelisttesting Testing Suite @@ -210,7 +191,7 @@ @subsection thelisttestreports Test Feedback Tools -These ideas were first introduced here: +These ideas were first introduced here: @par https://lists.berlios.de/pipermail/openocd-development/2009-May/006358.html - provide report submission scripts for e-mail and web forms @@ -225,8 +206,13 @@ @section thelistautotools Autotools Build System -- investigate fixes to permit the use of -Wshadow -- eliminate sources of confusion in @c boostrap script: +- make entire configure process require less user consideration: + - automatically detect the features that are available, unless + options were specifically provided to configure + - provide a report of the drivers that will be build at the end of + running configure, so the users can verify which driverswill be + built during 'make' (and their options) . +- eliminate sources of confusion in @c bootstrap script: -# Make @c bootstrap call 'configure --enable-maintainer-mode \<opts\>'? -# Add @c buildstrap script to assist with boostrap and configure steps. - automatically build tool-chains required for cross-compiling @@ -239,8 +225,8 @@ The following architectural tasks need to be accomplished and should be fairly easy to complete: +- clean-up code to match style guides - factor code to eliminate duplicated functionality -- overhaul use of types to improve 32/64-bit portability - rewrite code that uses casts to access 16-bit and larger types from unaligned memory addresses - libopenocd support: @par @@ -250,13 +236,24 @@ The following strategic tasks will require ambition, knowledge, and time to complete: +- overhaul use of types to improve 32/64-bit portability + - types for both host and target word sizes? + - can we use GDB's CORE_TYPE support? - Allow N:M:P mapping of servers, targets, and interfaces -- loadable module support for interface/target/flash drivers +- loadable module support for interface/target/flash drivers and commands + - support both static and dynamic modules. + - should probably use libltdl for dynamic library handing. -@section thelistadmin Administrative Tasks +@section thelistadmin Documentation Tasks -- Develop "style" guidelines for committing to Subversion -- Develop milestone and release guidelines. +- Develop milestone and release guidelines, processes, and scripts. +- Develop "style" guidelines (and scripts) for maintainers: + - reviewing patches + - committing to Subversion +- Review The Guide for OpenOCD Users for documentation errors or omissions +- Update The Manual for OpenOCD Developerrs: + - Add documentation describing the architecture of each module + - Provide more Technical Primers to bootstrap contributor knowledge */ /** @file |
From: <zw...@ma...> - 2009-07-01 21:55:32
|
Author: zwelch Date: 2009-07-01 21:55:28 +0200 (Wed, 01 Jul 2009) New Revision: 2441 Modified: trunk/README Log: Add comments to README about compiler and library dependencies. Modified: trunk/README =================================================================== --- trunk/README 2009-07-01 10:29:10 UTC (rev 2440) +++ trunk/README 2009-07-01 19:55:28 UTC (rev 2441) @@ -128,7 +128,14 @@ OpenOCD Dependencies -------------------- -You will need to install the appropriate driver files, if you want to +Presently, GCC is required to build OpenOCD. The developers have begun +to enforce strict code warnings (-Wall, -Werror, -Wextra, and more) and +use C99-specific features: inline functions, named initializers, mixing +declarations with code, and other tricks. While it may be possible to +use other compilers, they must be somewhat modern and could require +extending support to conditionally remove GCC-specific extensions. + +Also, you need to install the appropriate driver files, if you want to build support for a USB or FTDI-based interface: - ft2232, jlink, rlink, vsllink, usbprog, arm-jtag-ew: @@ -139,6 +146,9 @@ or the Amontec version (from @uref{http://www.amontec.com}), for easier support of JTAGkey's vendor and product IDs. +Many Linux distributions provide these packages through their automated +installation and update mechanisms. + Compiling OpenOCD ----------------- |
From: ntfreak at B. <nt...@ma...> - 2009-07-01 12:29:11
|
Author: ntfreak Date: 2009-07-01 12:29:10 +0200 (Wed, 01 Jul 2009) New Revision: 2440 Modified: trunk/tcl/target/stm32.cfg Log: - add stm32 connectivity line tapid to stm32.cfg Modified: trunk/tcl/target/stm32.cfg =================================================================== --- trunk/tcl/target/stm32.cfg 2009-07-01 10:15:53 UTC (rev 2439) +++ trunk/tcl/target/stm32.cfg 2009-07-01 10:29:10 UTC (rev 2440) @@ -52,8 +52,10 @@ set _BSTAPID3 0x16410041 # High density devices, Rev A set _BSTAPID4 0x06414041 + # Connectivity line devices, Rev A and Rev Z + set _BSTAPID5 0x06418041 } -jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 -expected-id $_BSTAPID4 +jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 -expected-id $_BSTAPID4 -expected-id $_BSTAPID5 set _TARGETNAME [format "%s.cpu" $_CHIPNAME] target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME |
From: ntfreak at B. <nt...@ma...> - 2009-07-01 12:15:54
|
Author: ntfreak Date: 2009-07-01 12:15:53 +0200 (Wed, 01 Jul 2009) New Revision: 2439 Modified: trunk/src/flash/stm32x.c Log: - correct stm32 connectivity line programming as per latest manual Modified: trunk/src/flash/stm32x.c =================================================================== --- trunk/src/flash/stm32x.c 2009-06-30 22:25:09 UTC (rev 2438) +++ trunk/src/flash/stm32x.c 2009-07-01 10:15:53 UTC (rev 2439) @@ -304,14 +304,15 @@ if (stm32x_info->ppage_size == 2) { - /* high density flash */ + /* high density flash/connectivity line protection */ set = 1; if (protection & (1 << 31)) set = 0; - /* bit 31 controls sector 62 - 255 protection */ + /* bit 31 controls sector 62 - 255 protection for high density + * bit 31 controls sector 62 - 127 protection for connectivity line */ for (s = 62; s < bank->num_sectors; s++) { bank->sectors[s].is_protected = set; @@ -333,7 +334,7 @@ } else { - /* medium density flash */ + /* low/medium density flash protection */ for (i = 0; i < num_bits; i++) { set = 1; @@ -776,10 +777,10 @@ } else if ((device_id & 0x7ff) == 0x418) { - /* connectivity line density - we have 1k pages - * 4 pages for a protection area */ - page_size = 1024; - stm32x_info->ppage_size = 4; + /* connectivity line density - we have 2k pages + * 2 pages for a protection area */ + page_size = 2048; + stm32x_info->ppage_size = 2; /* check for early silicon */ if (num_pages == 0xffff) @@ -921,6 +922,10 @@ snprintf(buf, buf_size, "A"); break; + case 0x1001: + snprintf(buf, buf_size, "Z"); + break; + default: snprintf(buf, buf_size, "unknown"); break; |