public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Compiling PCI test programs
@ 2007-10-30  1:16 Oscar Gueta
  2007-10-30  3:51 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Oscar Gueta @ 2007-10-30  1:16 UTC (permalink / raw)
  To: ecos-discuss

Hello all,

   We are porting ECOS to Freescale's MPC8313RBD and
need some help to test PCI HAL. I found a couple of
modules for testing PCI under
packages/io/pci/current/tests. Problem is that I
cannot find a way to compile them. We are using
"ecosconfig" graphical environment to compile ECOS and
RedBoot.

io_pci.cdl sets CYGPKG_IO_PCI_TESTS values to
"calculated" and there is not way to tell the
graphical interface to enable them.

Anyone can point how to do it?

Assuming the tests are compiled, the binary files
generated can be just downloaded to the target board
using hyperterminal when Redboot is already running?
If not, what is the the mechanism?

Sorry for the dummy question, but we have never used
this OS.

/Oscar

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

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

* Re: [ECOS] Compiling PCI test programs
  2007-10-30  1:16 [ECOS] Compiling PCI test programs Oscar Gueta
@ 2007-10-30  3:51 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-10-30  3:51 UTC (permalink / raw)
  To: Oscar Gueta; +Cc: ecos-discuss

On Mon, Oct 29, 2007 at 06:16:31PM -0700, Oscar Gueta wrote:
> Hello all,
> 
>    We are porting ECOS to Freescale's MPC8313RBD and
> need some help to test PCI HAL. I found a couple of
> modules for testing PCI under
> packages/io/pci/current/tests. Problem is that I
> cannot find a way to compile them. We are using
> "ecosconfig" graphical environment to compile ECOS and
> RedBoot.
> 
> io_pci.cdl sets CYGPKG_IO_PCI_TESTS values to
> "calculated" and there is not way to tell the
> graphical interface to enable them.

This is correct. 
 
I think you have the basic setup wrong. Redboot is just a boot loader.
Generally you put it into flash. You then configure a RAM version of
eCos and build all the test cases as RAM applications. Just doing

make tests

will build all the tests applicable for your configuration. You can
then use the redboot ROM bootloader to load the RAM test programs and
run them.

    Andrew

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

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

end of thread, other threads:[~2007-10-30  3:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-30  1:16 [ECOS] Compiling PCI test programs Oscar Gueta
2007-10-30  3:51 ` Andrew Lunn

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