OpenCores
no use no use 1/1 no use no use
cbasic problem address 0x38 of cbasic-nocache-O2.or32
by Unknown on May 19, 2004
Not available!
I try to run orp/orp_soc/sw/cbasic but I still get this error :


hod 213% make
or32-uclinux-ld -T ../support/orp.ld cbasic-O0.o
./support/reset-nocache.o ../support/libsupport.a -o
cbasic-nocache-O0.or32
or32-uclinux-objcopy -O binary cbasic-nocache-O0.or32
cbasic-nocache-O0.bin
./utils/bin2hex cbasic-nocache-O0.bin > cbasic-nocache-O0.hex
cp cbasic-nocache-O0.hex ../../sim/src/
or32-uclinux-ld -T ../support/orp.ld cbasic-O2.o
./support/reset-nocache.o ../support/libsupport.a -o
cbasic-nocache-O2.or32

or32-uclinux-ld: warning: no memory region specified for section
`.rodata.str1.1'
or32-uclinux-ld: address 0x38 of cbasic-nocache-O2.or32 section .dummy
is not within region flash
make: *** [cbasic-nocache-O2] Error 1



I guess it's a memory problem but I don't know where it comes from...
I wonder if I should creste a .dummy file with bin2c bin2srec
bin2flimg bin2hex in directory ../support. I have already made them
but maybe the problem comes from the linking betwen us... with
merge2srec. but when I run it nothing happens. and after many commands
I don't manage to do something

Thanks if someone can help me.

faf19
cbasic problem address 0x38 of cbasic-nocache-O2.or32
by Unknown on May 19, 2004
Not available!
jfafinski@hotmail.com writes:
I try to run orp/orp_soc/sw/cbasic but I still get this error :
or32-uclinux-ld: warning: no memory region specified for section
`.rodata.str1.1'
or32-uclinux-ld: address 0x38 of cbasic-nocache-O2.or32 section .dummy
is not within region flash


On the `.rodata.str1.1' thing: there's a mismatch between
the section names your (cross-)compiler is spitting out and
what the linker script (orp.ld) is expecting. In the latter,
trying changing...

.rodata :
{
*(.rodata)
} > flash

to

.rodata.str1.1 :
{
*(.rodata.str1.1)
} > flash

Worked for me :-)

Will


no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.