This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to run a program on redboot!
- To: phchang at programmer dot net
- Subject: Re: [ECOS] How to run a program on redboot!
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 02 Aug 2001 04:13:32 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <20010802021448.18053.qmail@mail.com>
phchang@programmer.net wrote:
>
> Hi
>
> I have loaded the redboot to the target board. Now, I want to build my own testing program and then run it on redboot, but I got some error messages from arm-elf-gcc:
>
> //E/Gary/Program/eCos/tmp/eCos/new_redboot_install/lib/libtarget.a(redboot_main.o): In function
> `do_go':
> //D/ecoscvs/ecos/packages/redboot/current/src/main.c:475: undefined reference to
> `RedBoot_version'
> collect2: ld returned 1 exit status
>
> How to solve it?
>
> Also, I selected some templates like kernel, minimal... and then built them but I didn't find any bin file in bin directory. How to build them and then run them on the target board (the target board have redboot on it)
You are still building redboot. Do not choose the redboot template if you
want to bulid tests. Also when you choose a different template, I would
recommend using a new empty build directory.
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