This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build Tests Problem!


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]