This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Build Tests Problem!
- To: "Chris C." <phchang at programmer dot net>
- Subject: Re: [ECOS] Build Tests Problem!
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 01 Aug 2001 17:11:59 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <20010801154023.23975.qmail@mail.com>
"Chris C." wrote:
>
> I have generated the redboot bin file and ran it on the target board. I want to do some testing so that I can validate the HAL like timer, interrupt....
> I modified the testing source in hal\common\ and using arm-elf-gcc to build the test. The testing program is used to turn on the LEDs on the target board but some errors occur like above error messages.
> which main function name should I use?
> [main, cyg_start, cyg_user_start]
But the important thing is not to try to build the tests when using a build
tree configured with the redboot template. The only use of that build tree
is to build redboot. I know it's probably a bit confusing in that respect,
but it's an unavoidable result of the architecture.
> I selected the kernel template in the config. tool and then built it but I didn't find any image files [bin]/xxx.out file in the bin directory. How to build it and run it via redboot?
If you want to build those tests, then you will find them in the "tests"
subdirectory of the install tree, not "bin".
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine