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]
Other format: [Raw text]

VFP and FPA incompatibilitieserrors when building latest anon sources with 3.2.1arm-elf


Okay, so I've just pulled down a fresh (latest) cvs source installation. I'm using my 3.2.1 big endian compiler which I've been using great so far. (built off the ecos website instructions)

I get the following linker errors. This never happened till today...(i seem to be steadily progressing backwards). Has anything changed by way of makefiles?


rrent -I/usr/src/ecos/packages/redboot/current/src -I/usr/src/ecos/packages/redboot/current/tests -I. -finline-limit=7000 -mbig-endian -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -mapcs-frame -o /usr/src/ecos/build/install/lib/version.o /usr/src/ecos/packages/redboot/current/src/version.c
arm-elf-gcc -mbig-endian -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/usr/src/ecos/build/install/lib -Ttarget.ld -o /usr/src/ecos/build/install/bin/redboot.elf /usr/src/ecos/build/install/lib/version.o
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivsi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivsi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_divsi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_divsi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umodsi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umodsi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_dvmd_tls.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_dvmd_tls.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_ashrdi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_ashrdi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivdi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivdi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umoddi3.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umoddi3.o)
/Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_clz.o) uses FPA instructions, whereas /usr/src/ecos/build/install/bin/redboot.elf uses VFP instructions
File in wrong format: failed to merge target specific data of file /Software-Packages/HomePortal/ecos-gnutools/bin/../lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_clz.o)
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/ecos/build/install/bin/redboot.elf] Error 1
make[1]: Leaving directory `/usr/src/ecos/build/redboot/current'
make: *** [build] Error 2


-------------------------------------------------
----- Original Message ----- From: "Krishna Ganugapati" <krishnag@marakicorp.com>
To: "Mark Salter" <msalter@redhat.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, September 20, 2004 10:59 AM
Subject: Re: [ECOS] flash_query throws an exception (Redboot_ROM version)



Hi Mark,

Yes, I've kept the exact same settings for IXDP425_EXP_CS0_INIT


// CS0 (flash optimum timing) #define IXP425_EXP_CS0_INIT \ (EXP_ADDR_T(3) | EXP_SETUP_T(3) | EXP_STROBE_T(15) | EXP_HOLD_T(3) | \ EXP_RECOVERY_T(15) | EXP_SZ_16M | EXP_WR_EN | EXP_BYTE_RD16 | EXP_CS_EN)

I'm going to start with a clean anon cvs installation and start over.

Thanks!

Krishna


-------------------------------------------------
----- Original Message ----- From: "Mark Salter" <msalter@redhat.com>
To: "Krishna Ganugapati" <krishnag@marakicorp.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, September 20, 2004 10:16 AM
Subject: Re: [ECOS] flash_query throws an exception (Redboot_ROM version)



On Mon, 2004-09-20 at 12:33, Krishna Ganugapati wrote:
Hello Andrew.

Thanks for the response.

Yes 0x50000000 is the beginning of the FLASH - through gdb and through
BDI2000's telnet client, I can dump the flash at 0x50000000 and view the
contents.


This sounds like a bus configuration problem. I take it that this is a custom board. Is the EXP_WR_EN bit turned on for the CS0 config register?

--Mark



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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