Le 2014-01-10 18:34, Yann Sionneau a écrit :
answer inline:
Le 2014-01-10 18:20, Salman Sheikh a écrit :
Okay, got a new binutils installed and the
make sim_hello_world spits out "Hello World"..
but the make sim_pipe1 doesn't seem to do anything on the screen (no
output but no errors)...
but the make unittest fails....I suspect (and dread) I might have to
recompile the entire gcc for lm32...its still using the lm32-elf-gcc
from Lattice...
make unittest
make -C unittests check
make[1]: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/lm32-master/test/unittests'
lm32-elf-gcc -x assembler -Wa,-I,. -c crt.S -o crt.o
crt.S: Assembler messages:
crt.S:88: Error: unrecognized keyword/register name `rcsr
r24,TLBVADDR'
crt.S:98: Error: unrecognized keyword/register name `rcsr
r24,TLBVADDR'
crt.S:108: Error: unrecognized keyword/register name `rcsr
r24,TLBVADDR'
Makefile:103: recipe for target 'crt.o' failed
make[1]: *** [crt.o] Error 1
make[1]: Leaving directory
'/cygdrive/c/GMSAG/CPU_TESTING/lm32-master/test/unittests'
Makefile:52: recipe for target 'unittest' failed
make: *** [unittest] Error 2
Your binutils does not support lm32 MMU, you should at least use
binutils 2.23.2
OR you can use binutils from my github repository:
https://github.com/fallen/lm32-binutils-mmu but I would strongly
recommend using upstream binutils 2.23.2 or superior.
OR if you don't want to use the MMU anyway, you can just remove the
MMU unit test from the list by removing the lines 53 84 85 86 in
https://github.com/m-labs/lm32/blob/master/test/unittests/Makefile
That would be the fastest and cleanest solution for you if you don't
care about unit testing the MMU :)
I forgot to say to remove everything from line 86 in this file:
https://github.com/m-labs/lm32/blob/master/test/unittests/crt.S#L86
On Fri, Jan 10, 2014 at 11:06 AM, Sébastien Bourdeauducq
<[email protected]> wrote:
On 01/10/2014 05:08 PM, Yann Sionneau wrote:
issues with your lm32 objcopy not supporting the -O verilog
backend
Do those issues manifest themselves with a fresh binutils, or the
outdated Lattice binaries?
_______________________________________________
Devel mailing list
[email protected]
https://ssl.serverraum.org/lists/listinfo/devel
--
Yann Sionneau
_______________________________________________
Devel mailing list
[email protected]
https://ssl.serverraum.org/lists/listinfo/devel