public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001158] New: SPI Test broken
@ 2011-02-18  9:10 bugzilla-daemon
  2011-02-19 12:44 ` [Bug 1001158] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: bugzilla-daemon @ 2011-02-18  9:10 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

           Summary: SPI Test broken
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: minor
          Priority: low
         Component: Test farm
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: aschwarz@unifire.ch
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Hi 

I just downloaded the latest source code and ran all the tests

$ ecosconfig new stm3210e_eval default
$ ecosconfig tree
$ make tests

I got the following error message:

../ecos/stm32/ecos-hg/packages/devs/spi/cortexm/stm32/current/tests/loopback.c:93:
Fehler: »cyg_spi_stm32_bus1« ist hier nicht deklariert (nicht in einer
Funktion)
make[1]: *** [tests/loopback.d] Fehler 1

The linker can not find cyg_spi_stm32_bus1

-
Andreas

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
>From ecos-bugs-return-7589-listarch-ecos-bugs=sources.redhat.com@sourceware.org Fri Feb 18 09:10:30 2011
Return-Path: <ecos-bugs-return-7589-listarch-ecos-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-ecos-bugs@sources.redhat.com
Received: (qmail 7763 invoked by alias); 18 Feb 2011 09:10:28 -0000
Received: (qmail 7737 invoked by uid 22791); 18 Feb 2011 09:10:28 -0000
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0
	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197)
    by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 09:10:18 +0000
Received: from localhost (hagrid.ecoscentric.com [127.0.0.1])
	by mail.ecoscentric.com (Postfix) with ESMTP id 1ED062F78006
	for <ecos-bugs@ecos.sourceware.org>; Fri, 18 Feb 2011 09:10:15 +0000 (GMT)
Received: from mail.ecoscentric.com ([127.0.0.1])
	by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uVOHF+iappS5; Fri, 18 Feb 2011 09:10:06 +0000 (GMT)
From: bugzilla-daemon@bugs.ecos.sourceware.org
To: ecos-bugs@ecos.sourceware.org
Subject: [Bug 1001158] New: SPI Test broken
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: eCos
X-Bugzilla-Component: Test farm
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: aschwarz@unifire.ch
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: low
X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-1001158-13@http.bugs.ecos.sourceware.org/>
X-Bugzilla-URL: http://bugs.ecos.sourceware.org/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Date: Fri, 18 Feb 2011 09:10:00 -0000
Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <ecos-bugs.sourceware.org>
List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org>
List-Post: <mailto:ecos-bugs@sourceware.org>
List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: ecos-bugs-owner@sourceware.org
Delivered-To: mailing list ecos-bugs@sourceware.org
X-SW-Source: 2011/txt/msg00499.txt.bz2
Content-length: 1220

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

           Summary: SPI Test broken
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: minor
          Priority: low
         Component: Test farm
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: aschwarz@unifire.ch
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Hi 

I just downloaded the latest source code and ran all the tests

$ ecosconfig new stm3210e_eval default
$ ecosconfig tree
$ make tests

I got the following error message:

../ecos/stm32/ecos-hg/packages/devs/spi/cortexm/stm32/current/tests/loopback.c:93:
Fehler: »cyg_spi_stm32_bus1« ist hier nicht deklariert (nicht in einer
Funktion)
make[1]: *** [tests/loopback.d] Fehler 1

The linker can not find cyg_spi_stm32_bus1

-
Andreas

-- 
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.
>From ecos-bugs-return-7591-listarch-ecos-bugs=sources.redhat.com@sourceware.org Fri Feb 18 11:16:02 2011
Return-Path: <ecos-bugs-return-7591-listarch-ecos-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-ecos-bugs@sources.redhat.com
Received: (qmail 854 invoked by alias); 18 Feb 2011 11:16:02 -0000
Received: (qmail 847 invoked by uid 22791); 18 Feb 2011 11:16:01 -0000
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0
	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197)
    by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 11:15:55 +0000
Received: by mail.ecoscentric.com (Postfix, from userid 48)
	id 802EF2FB0005; Fri, 18 Feb 2011 11:15:53 +0000 (GMT)
X-Original-To: unassigned@bugs.ecos.sourceware.org
Delivered-To: unassigned@bugs.ecos.sourceware.org
From: bugzilla-daemon@bugs.ecos.sourceware.org
To: unassigned@bugs.ecos.sourceware.org
Subject: [Bug 1001158] SPI Test broken
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: eCos
X-Bugzilla-Component: SPI
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: john@dallaway.org.uk
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: low
X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Status CC Component Ever Confirmed
In-Reply-To: <bug-1001158-777@http.bugs.ecos.sourceware.org/>
References: <bug-1001158-777@http.bugs.ecos.sourceware.org/>
X-Bugzilla-URL: http://bugs.ecos.sourceware.org/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Date: Fri, 18 Feb 2011 11:16:00 -0000
Message-Id: <20110218111551.00CFF2FB0006@mail.ecoscentric.com>
Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <ecos-bugs.sourceware.org>
List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org>
List-Post: <mailto:ecos-bugs@sourceware.org>
List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: ecos-bugs-owner@sourceware.org
Delivered-To: mailing list ecos-bugs@sourceware.org
X-SW-Source: 2011/txt/msg00501.txt.bz2
Content-length: 1296

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

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 the assignee for the bug.


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

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: 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
  2 siblings, 0 replies; 9+ 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] 9+ messages in thread

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: SPI Test broken 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; 9+ 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] 9+ messages in thread

* [Bug 1001158] SPI Test broken
  2011-02-18  9:10 [Bug 1001158] New: SPI Test broken 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* [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
@ 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; 9+ 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] 9+ messages in thread

* [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
  2011-02-19 14:07 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ 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] 9+ messages in thread

* [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; 9+ 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] 9+ messages in thread

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18  9:10 [Bug 1001158] New: SPI Test broken 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
     [not found] <bug-1001158-13@http.bugs.ecos.sourceware.org/>
2011-02-18 11:16 ` 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

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).