public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Sergei Gavrikov <sergei.gavrikov@gmail.com>
To: Chris Holgate <chris@zynaptic.com>
Cc: "ecos-discuss@ecos.sourceware.org" <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] Testing eCos 3.0 beta 1 on STM3210E-EVAL board.
Date: Tue, 24 Feb 2009 18:42:00 -0000	[thread overview]
Message-ID: <20090224184242.GA26378@ubuntu.local> (raw)
In-Reply-To: <49A42D15.3040008@zynaptic.com>

On Tue, Feb 24, 2009 at 05:23:33PM +0000, Chris Holgate wrote:
> All the following STM32 tests worked as expected - although I had to use
> the 'net' template because 'all' wouldn't fit into RAM!

This is. Most of the targets have a few RAM to build tests for 'all'
template. Just to be sure that all compile itself for my targets I use
this trick

    sed -i "/ram : .*LENGTH/s/$/0/" install/lib/target.ld
    make tests

Same way I multiply RAM's length on 16 and "get" 16M instead 1M in my
case. At the least I knew that all compiled. Yes, it was surprise for me
that even hal basic test built for 'all' template do not fit into 1M

arm-eabi-size install/tests/hal/common/v3_0b1/tests/basic
   text	   data	    bss	    dec	    hex	filename
 433973	      0	 653480	1087453	 1097dd	install/tests/hal/common/v3_0b1/tests/basic

> The one configtool quirk I did notice was that while trying to run the
> tests from the GUI, they would occasionally fail with 'file not found'.
>  This is all new to me, since i usually use GDB from the command line.
> The only file I can think of which 'comes and goes' in this way would be
> /dev/ttyS0 - or more specifically the lock on it - so I was wondering if
> this behaviour may be caused by GDB not releasing /dev/ttyS0 properly
> between tests.  Is this something anyone else has seen?

I did meat same errors when I did try to run tests using configtool, but
I though that is because I use rare communication port /dev/ttyUSB0. I
think what if your environment is Linux, you can dig it using 'lsof':

    lsof /dev/ttyS0

Regards,

Sergei

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2009-02-24 18:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 12:05 Chris Holgate
2009-02-24 17:23 ` Chris Holgate
2009-02-24 18:42   ` Sergei Gavrikov [this message]
2009-03-09 16:31   ` [ECOS] File not found when running tests [ was Re: Testing eCos 3.0 beta 1 on STM3210E-EVAL board. ] John Dallaway
2009-03-09 17:24     ` Sergei Gavrikov
2009-03-09 19:38       ` [ECOS] Re: File not found when running tests John Dallaway
2009-03-09 20:18         ` Sergei Gavrikov
2009-03-10  9:28           ` Sergei Gavrikov
2009-03-10 10:58         ` Chris Holgate
2009-03-10 11:22           ` John Dallaway

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090224184242.GA26378@ubuntu.local \
    --to=sergei.gavrikov@gmail.com \
    --cc=chris@zynaptic.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).