X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=testing%2Findex.html;h=687bb90dd677e863cf6a5dc0588ab69dcd6808e8;hp=1cd9e7fead6a67922e25876a8c6a6443f5d485a9;hb=5a4525613dbd1b91ddbd9610e13b26eac6794f88;hpb=55b4d9a984980f5d752f247199a6e516190e91e6 diff --git a/testing/index.html b/testing/index.html index 1cd9e7fead..687bb90dd6 100644 --- a/testing/index.html +++ b/testing/index.html @@ -17,21 +17,21 @@ is tested and thus all tests refer to committed code by subversion number.

Release procedure

OpenOCD trunk is work in progress. Expect it to change daily and to have some quirks. -

If you need the latest released and tested version, look for binary snapshots of OpenOCD. Worst case look up the test result table below for the features that are important to you and extract and build the version that has the right cocktail of working features for you. You can also work with the community to address the problems you are seeing. Testing work and bug reports are highly appreciated.

+

If you need the latest released and tested version, look for binary snapshots of OpenOCD. Worst case look up the test result table below for the features that are important to you and extract and build the version that has the right cocktail of working features for you. You can also work with the community to address the problems you are seing. Testing work and bug reports are highly appreciated.

The OpenOCD community may decide to create release branches. If this happens, then a branch will be created from OpenOCD trunk. The particular version to create that branch might be an older version rather than the latest and greatest. Fixes are then ported to that release branch from OpenOCD trunk.

Vocabulary

- + - + - +
Passed versionThe latest version on which the test is known to pass.The latest branch and version on which the test is known to pass
Broken versionThe latest version on which the test is known to fail. n/a when older than passed version.The latest branch and version on which the test is known to fail. n/a when older than passed version.
IDA unique ID to refer to a test. The unique numbers are maintained in this file.A unqiue ID to refer to a test. The unique numbers are maintained in this file. Note that the same test can be run on different hardware/interface. Each combination yields a unique id.

@@ -41,151 +41,158 @@

The latest version in which the test is known to have passed is in the table below.

- + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - + + + - + + + + + + + + - - - + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +
IDUnique ID Synopsis JTAG device Passed version Broken version
fill_mallocfill_malloc Fill malloc() memory with garbagen/an/an/an/an/an/a
ocd1ocd1 Telnet Windowsn/an/an/an/an/an/a
ocd2ocd2 Telnet Linuxn/an/an/an/an/an/a
ocd3ocd3 Telnet Cygwinn/an/an/an/an/an/a
ocd4ocd4 ARM7 debuggingn/an/an/an/an/an/a
xscale1SAM9260SAM9260 debuggingft2232 500trunk (version?)
xscale1 XScale debuggingn/an/an/abitbang505n/a
xscale2XScale MMUn/an/an/axscale2XScale debuggingFT2232202n/a
bdte-ramstr710 RAM debuggingJTAGkey423n/abdte-ram1str710 ram debuggingJTAGkey517n/a
bdte-romstr710 ROM debuggingJTAGkey423n/abdte-rom2str710 rom debuggingJTAGkey517n/a
bdte-ramstr912 RAM debuggingJTAGkey423n/abdte-ram3str912 ram debuggingJTAGkey517n/a
bdte-romstr912 ROM debuggingJTAGkey423n/abdte-rom4str912 rom debuggingJTAGkey517n/a
bdte-ramlpc2148 RAM debuggingJTAGkey423n/abdte-ram5lpc2148 ram debuggingJTAGkey517n/a
bdte-romlpc2148 ROM debuggingJTAGkey423n/abdte-rom6lpc2148 rom debuggingJTAGkey517n/a
bdte-ramlpc2294 RAM debuggingJTAGkey423n/abdte-ram7lpc2294 ram debuggingJTAGkey517n/a
bdte-romlpc2294 ROM debuggingJTAGkey423n/abdte-rom8lpc2294 rom debuggingJTAGkey517n/a
bdte-ramsam7s256 RAM debuggingJTAGkey423n/abdte-ram9sam7s256 ram debuggingJTAGkey517n/a
bdte-romsam7s256 ROM debuggingJTAGkey423n/abdte-rom10sam7s256 rom debuggingJTAGkey517n/a
bdte-ramsam7x256 RAM debuggingJTAGkey423n/abdte-ram11sam7x256 ram debuggingJTAGkey517n/a
bdte-romsam7x256 ROM debuggingJTAGkey423n/abdte-rom12sam7x256 rom debuggingJTAGkey517n/a
bdte-ramat91r40008 RAM debuggingJTAGkey423n/abdte-ram13at91r40008 ram debuggingJTAGkey517n/a

@@ -197,35 +204,45 @@ ID Synopsis - Passed version - Broken version + Passed version + Broken version jtag1 Parport - n/a - n/a + n/a + n/a jtag2 JTAGkey - 432 - n/a + 517 + n/a jtag3 Turtelizer2 - 432 - n/a + 517 + n/a jtag4 + JTAGkey + 517 + n/a + + + jtag5 add new one - n/a - n/a + n/a + n/a -

+

jtag1:

+

jtag2: Tested on Windows XP Prof. (SP2) with original FTDI driver.

+

jtag3: Tested on Windows XP Prof. (SP2) with original FTDI driver.

+

jtag4: Tested on Mac OS X (10.5.2, Intel) with libftdi-0.10 and libusb-0.1.12

+

jtag5:


OpenOCD JTAG device speed test result

The test result is in KB/sec.

@@ -236,6 +253,8 @@ r320 r420 r423 + r459 + r517 speed1 @@ -243,13 +262,26 @@ 93 64 93 + 93 + 93 + + + speed2 + JTAGkey + n/a + n/a + n/a + n/a + 52 - speed2 + speed3 add new one n/a n/a n/a + n/a + n/a

@@ -257,12 +289,12 @@

Policy on removing features from OpenOCD

If a feature in OpenOCD is known to be broken and nobody has submitted a fix and the feature is causing trouble for maintainence, it can be removed from OpenOCD trunk. The threshold for temporarily removing something from OpenOCD trunk is low to ease maintainence and place the burden of maintainence on those that care about a feature.

Note that code is never deleted from OpenOCD svn, it remains in svn so if somebody sees a feature removed that they would like kept, they have but to port and fix that feature back up to main trunk. This document can be helpful in this regard in that the latest working version and the known broken version may be listed.

-

Policy on adding features to OpenOCD

+

Policy on adding features from OpenOCD

To add a feature to OpenOCD, generally it should not break any existing features and it should be functional and the code reasonably readable and useful to others in the OpenOCD community. The code does not have to be completed. Work in progress is fine for OpenOCD trunk.

Also new tests should be defined. Note that the code does not have to pass all the tests. In fact it can be helpful to have tests to describe facets that really should be working, but aren't done yet.


ocd4 - ARM7 debugging

- Connect to ARM7 device (any), use GDB load to load a program into RAM and single halt, resume and single step. + Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.

bdte-ram (Basic debugging test with Eclipse in RAM)

This test was made under Eclipse with the Zylin Embedded CDT plugin. For the GDB "Initialize commands" take a look in the examples/<target>/prj/eclipse_ram.gdb file.

@@ -279,7 +311,18 @@ Start address 0x62000040, load size 393628
Transfer rate: 93 KB/sec, 2008 bytes/write.

In this example a speed of 93 KB/sec was reached. The hardware which was used for the test can be found here.

+

The test was made on Windows XP Prof. (SP2) with a JTAGkey and the original FTDI driver.

+
+

speed2 - Download speed test

+

For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB can look like:

+

Loading section .text, size 0x6019c lma 0x62000000
+ Start address 0x62000040, load size 393628
Transfer rate: 52 KB/sec, 2008 bytes/write.

+

In this example a speed of 52 KB/sec was reached. The hardware which was used for the test can be found here.

+

The test was made on Mac OS X (10.5.2, Intel) with a JTAGkey and the following driver:

+

- libftdi 0.10
+ - libusb 0.1.12

+

- + \ No newline at end of file