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]

problems with opcodes (mips1)


hello.

  i tried to get one of the simulators up and running, however, i face
problems with both (tx39 minimal simulator and matsushita stdeval1 board. i
did not find any clues about these problems, so hopefully you can help me.

this is my current configuration:
- cygwin
- binutils 2.14
- gcc 3.3.3 + newlib
- ecos 2.0 (also tried the latest cvs version)

i created cross compilers for both platforms (mips-tx39-elf and
mn10300-elf).

####################

tx39 simulator: i cannot build the library

when i select the template and want to build the library and i get the
following error:

make -r -C hal/mips/arch/current
/ecos-c/cygwin/home/Sebastian/tx39sim_install/lib/vectors.o
make[1]: Entering directory
`/ecos-c/cygwin/home/Sebastian/tx39sim_build/hal/mips/arch/current'
mips-tx39-elf-gcc -Wp,-MD,vectors.tmp
-I/ecos-c/cygwin/home/Sebastian/tx39sim_install/include
-I/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current
-I/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/src
-I/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/tests -I.
-finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions   -c -o
/ecos-c/cygwin/home/Sebastian/tx39sim_install/lib/vectors.o
/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/src/vectors.S
cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
make[1]: Leaving directory
`/ecos-c/cygwin/home/Sebastian/tx39sim_build/hal/mips/arch/current'
/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/src/vectors.S:
Assembler messages:
make: Leaving directory `/ecos-c/cygwin/home/Sebastian/tx39sim_build'
/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/src/vectors.S:782
: Error: opcode not supported at this ISA level (mips1) `sync '
/ecos-c/cygwin/opt/src/ecos/packages/hal/mips/arch/current/src/vectors.S:919
: Error: opcode not supported at this ISA level (mips1) `bltzl $27,1f'
make[1]: *** [/ecos-c/cygwin/home/Sebastian/tx39sim_install/lib/vectors.o]
Error 1


#############################


matsushita stdeval1: i can build the library, and write code, but get a
warning about memory assignment

building the library works fine. when i compile the tests, i get the
following error:

make[1]: Entering directory
`/ecos-c/cygwin/home/Sebastian/matstd_build/infra/current'
mn10300-elf-gcc -L/ecos-c/cygwin/home/Sebastian/matstd_install/lib
-Ttarget.ld -o
/ecos-c/cygwin/home/Sebastian/matstd_install/tests/infra/current/tests/cxxsu
pp tests/cxxsupp.o -g -nostdlib -Wl,-static -Wl,--fatal-warnings 
/opt/ecos/gnutools/lib/gcc-lib/mn10300-elf/3.3.3/../../../../mn10300-elf/bin
/ld: warning: no memory region specified for section `.bss._cyg_io_init'
/opt/ecos/gnutools/lib/gcc-lib/mn10300-elf/3.3.3/../../../../mn10300-elf/bin
/ld: warning: no memory region specified for section
`.bss.tty_private_info_diag'
/opt/ecos/gnutools/lib/gcc-lib/mn10300-elf/3.3.3/../../../../mn10300-elf/bin
/ld: warning: no memory region specified for section `.bss._no_data'

.... and for a lot of other stuff.

altough it builds a binary that i can run, gdb crashes when the program
calls ecos-kernel functions






thanks a lot for helping :-)
  sebastian


-- 
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]