This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot on mbx platform
- From: Gary Thomas <gary at chez-thomas dot org>
- To: john ashfield <johny122 at hotmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 21 Jun 2002 13:21:31 -0600
- Subject: Re: [ECOS] Redboot on mbx platform
- References: <F1950zrAXBirbThA9QR000089b0@hotmail.com>
On Fri, 2002-06-21 at 13:10, john ashfield wrote:
> Hi,
>
> Architecture PowerPC
> Platform MBX
> Template Redboot
>
> I have one problem that I dont know how to solve.
> Everything went well after these commands:
> ecosconfig new mbx redboot
> ecosconfig import \
> /local/nam/ecos/packages/hal/powerpc/mbx/current/misc/redboot_RAM.ecm
> ecosconfig tree
> make
>
>
> But, after the command "make tests", I received this error:
> powerpc-ecos-eabi-gcc -msoft-float -mcpu=860 -g -nostdlib -Wl,--gc-sections
> -Wl,-static -L/local/nam/psim-redboot/install/lib -Ttarget.ld
> -o
> /local/nam/psim-redboot/install/tests/hal/powerpc/mpc8xx/current/tests/intr0
> tests/intr0.o
> /local/nam/psim-redboot/install/lib/libtarget.a(redboot_main.o): In function
> `do_reset':
> /local/nam/ecos/packages/redboot/current/src/main.c:754: multiple definition
> of `cyg_start'
> tests/intr0.o:/local/nam/ecos/packages/hal/powerpc/mpc8xx/current/tests/intr0.c:329:
> first defined here
> /proj/SDE/camelot1.1/linux/bin/../lib/gcc-lib/powerpc-ecos-eabi/3.0/../../../../powerpc-ecos-eabi/bin/ld:
> Warning: size of symbol `cyg_start' changed from 32 to 980 in
> /local/nam/psim-redboot/install/lib/libtarget.a(redboot_main.o)
> collect2: ld returned 1 exit status
> make[1]: ***
> [/local/nam/psim-redboot/install/tests/hal/powerpc/mpc8xx/current/tests/intr0]
> Error 1
> make[1]: Leaving directory
> `/local/nam/psim-redboot/hal/powerpc/mpc8xx/current'
> make: *** [tests] Error 2
There's no need to 'make tests' when building the RedBoot
configuration. After you've done 'make', the resulting RedBoot binary
for the platform should be ready to go in ".../install/bin/redboot.*"
Why were you building 'tests'?
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss