public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001158] SPI Test broken
       [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
@ 2011-02-18 11:16 ` bugzilla-daemon
  2011-02-19 12:44 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-18 11:16 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |chris@zynaptic.com,
                   |                            |john@dallaway.org.uk
          Component|Test farm                   |SPI
     Ever Confirmed|0                           |1

--- Comment #1 from John Dallaway <john@dallaway.org.uk> 2011-02-18 11:15:48 GMT ---
Andreas, thank you for the bug report.

Bug confirmed. The STM32 SPI loopback test assumes SPI bus 1 is enabled.

A quick workaround is to add the following line to the definition of
CYGPKG_DEVS_SPI_CORTEXM_STM32_TESTS in spi_stm32.cdl:

  active_if       CYGHWR_DEVS_SPI_CORTEXM_STM32_BUS1

A better long term fix would be to add CDL to specify the SPI bus to used for
testing and disable the test if this bus is not specified explicitly.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
       [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
  2011-02-18 11:16 ` [Bug 1001158] SPI Test broken bugzilla-daemon
@ 2011-02-19 12:44 ` bugzilla-daemon
  2011-02-19 14:07 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-19 12:44 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

--- Comment #2 from Chris Holgate <chris@zynaptic.com> 2011-02-19 12:43:55 GMT ---
The loopback test should not be included in the set of default eCos tests
because it relies on a hardware modification in order to work.  Specifically,
MISO and MOSI need to be shorted together and any other devices on the bus need
to be explicitly disabled.  The comments at the top of the test file should
explain this in more detail.

I included it in the original package because although it can't be used for
standard regression tests it is a useful test harness for anyone who has to
maintain the driver.

The fix is to remove the CYGPKG_DEVS_SPI_CORTEXM_STM32_TESTS option completely.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
       [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
  2011-02-18 11:16 ` [Bug 1001158] SPI Test broken bugzilla-daemon
  2011-02-19 12:44 ` bugzilla-daemon
@ 2011-02-19 14:07 ` bugzilla-daemon
  2011-03-10 12:07 ` bugzilla-daemon
  2011-03-11 14:48 ` bugzilla-daemon
  4 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-19 14:07 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

--- Comment #3 from John Dallaway <john@dallaway.org.uk> 2011-02-19 14:07:24 GMT ---
(In reply to comment #2)

> The fix is to remove the CYGPKG_DEVS_SPI_CORTEXM_STM32_TESTS option completely.

It would be a shame to disable the building of the test completely. The
building of an eCos test which requires some sort of external harness is
typically enabled via a CDL option and disabled by default (eg
CYGBLD_IO_SERIAL_EXTRA_TESTS).

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
       [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
                   ` (2 preceding siblings ...)
  2011-02-19 14:07 ` bugzilla-daemon
@ 2011-03-10 12:07 ` bugzilla-daemon
  2011-03-11 14:48 ` bugzilla-daemon
  4 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-10 12:07 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned@bugs.ecos.source |john@dallaway.org.uk
                   |ware.org                    |

--- Comment #4 from John Dallaway <john@dallaway.org.uk> 2011-03-10 12:07:29 GMT ---
Created an attachment (id=1168)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1168)
stm32-spi-build-110310.patch

This patch adds a CDL option to control building of the STM32 SPI loopback
test. Building of this test is disabled by default to avoid the reported build
failure in the default configuration.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
       [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
                   ` (3 preceding siblings ...)
  2011-03-10 12:07 ` bugzilla-daemon
@ 2011-03-11 14:48 ` bugzilla-daemon
  4 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-11 14:48 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |CURRENTRELEASE

--- Comment #5 from John Dallaway <john@dallaway.org.uk> 2011-03-11 14:48:12 GMT ---
Patch checked-in.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: " bugzilla-daemon
  2011-02-19 12:44 ` [Bug 1001158] " bugzilla-daemon
  2011-02-19 14:07 ` bugzilla-daemon
@ 2011-03-10 12:07 ` bugzilla-daemon
  2 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-10 12:07 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned@bugs.ecos.source |john@dallaway.org.uk
                   |ware.org                    |

--- Comment #4 from John Dallaway <john@dallaway.org.uk> 2011-03-10 12:07:29 GMT ---
Created an attachment (id=1168)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1168)
stm32-spi-build-110310.patch

This patch adds a CDL option to control building of the STM32 SPI loopback
test. Building of this test is disabled by default to avoid the reported build
failure in the default configuration.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: " bugzilla-daemon
  2011-02-19 12:44 ` [Bug 1001158] " bugzilla-daemon
@ 2011-02-19 14:07 ` bugzilla-daemon
  2011-03-10 12:07 ` bugzilla-daemon
  2 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-19 14:07 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

--- Comment #3 from John Dallaway <john@dallaway.org.uk> 2011-02-19 14:07:24 GMT ---
(In reply to comment #2)

> The fix is to remove the CYGPKG_DEVS_SPI_CORTEXM_STM32_TESTS option completely.

It would be a shame to disable the building of the test completely. The
building of an eCos test which requires some sort of external harness is
typically enabled via a CDL option and disabled by default (eg
CYGBLD_IO_SERIAL_EXTRA_TESTS).

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: " bugzilla-daemon
@ 2011-02-19 12:44 ` bugzilla-daemon
  2011-02-19 14:07 ` bugzilla-daemon
  2011-03-10 12:07 ` bugzilla-daemon
  2 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-19 12:44 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001158

--- Comment #2 from Chris Holgate <chris@zynaptic.com> 2011-02-19 12:43:55 GMT ---
The loopback test should not be included in the set of default eCos tests
because it relies on a hardware modification in order to work.  Specifically,
MISO and MOSI need to be shorted together and any other devices on the bus need
to be explicitly disabled.  The comments at the top of the test file should
explain this in more detail.

I included it in the original package because although it can't be used for
standard regression tests it is a useful test harness for anyone who has to
maintain the driver.

The fix is to remove the CYGPKG_DEVS_SPI_CORTEXM_STM32_TESTS option completely.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-11 14:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
2011-02-18 11:16 ` [Bug 1001158] SPI Test broken bugzilla-daemon
2011-02-19 12:44 ` bugzilla-daemon
2011-02-19 14:07 ` bugzilla-daemon
2011-03-10 12:07 ` bugzilla-daemon
2011-03-11 14:48 ` bugzilla-daemon
2011-02-18  9:10 [Bug 1001158] New: " bugzilla-daemon
2011-02-19 12:44 ` [Bug 1001158] " bugzilla-daemon
2011-02-19 14:07 ` bugzilla-daemon
2011-03-10 12:07 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).