This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Compiling PCI test programs
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Oscar Gueta <ogueta at yahoo dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 30 Oct 2007 04:51:17 +0100
- Subject: Re: [ECOS] Compiling PCI test programs
- References: <473519.68029.qm@web56403.mail.re3.yahoo.com>
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