OpenCores
no use no use 1/1 no use no use
ORPSoC and toolchain problem.
by saurabhgupta on Nov 17, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
Hello,

Recently I read about updated ORPSoC. When my make check failed for its installation I was told to use the latest toolchain which is 1.0rc. It turns out there is a problem with the script to install this tool chain too and the make check fails for it. This is a major problem because the I can't find a way to download the version of ORPSoC which could be installed with the old stable toolchain while the latest toolchain required for newer ORPSoC has a broken installation script. Kindly suggest me a solution to get out of this problem. Its been quite somedays that I have been trying to get over with the installation of tools and actually start playing/working with them.

sincerely,
Saurabh.
RE: ORPSoC and toolchain problem.
by julius on Nov 17, 2010
julius
Posts: 363
Joined: Jul 1, 2008
Last seen: May 17, 2021
It turns out there is a problem with the script to install this tool chain too and the make check fails for it.

To my knowledge the crossbuild-1.0.sh script works fine, and installs a toolchain that will compile the software included in the latest ORPSoC. The only issue I know of is that "make check" in the build-or1ksim path from the toolchain build isn't working. This does not mean the toolchain doesn't work.

If there are any other issues please post them here or in the bugtracker.
RE: ORPSoC and toolchain problem.
by saurabhgupta on Nov 18, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
Hello,

I have installed the toolchain v1.0rc and also checked out ORPSoC from SVN. When I run the command make rtl-test (as said in the pdf manual) I get the following error. Kindly help me with it. I have now done everything as you said. Installed latest toolchain and downloaded the latest ORPSoC.


saurabh@bhaismachine:~/testing/orpsocv2/sim/run$ make rtl-test

### Compiling software ###

make[1]: Entering directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
make[2]: Entering directory `/home/saurabh/testing/orpsocv2/sw/drivers/or1200'
make[2]: or32-elf-gcc: Command not found
make[2]: *** [crt0.o] Error 127
make[2]: Leaving directory `/home/saurabh/testing/orpsocv2/sw/drivers/or1200'
make[1]: *** [../../../drivers/or1200/crt0.o] Error 2
make[1]: Leaving directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
make: *** [/home/saurabh/testing/orpsocv2/sim/run/../../sw/tests/or1200/sim/or1200-simple.vmem] Error 2
saurabh@bhaismachine:~/testing/orpsocv2/sim/run$

Really appreciate and rely on the help you guys provide here.

regards,
Saurabh.
RE: ORPSoC and toolchain problem.
by saurabhgupta on Nov 18, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
Sorry that was the wrong output. I didn't set the path properly before running it. I am posting the actual error I am getting .

saurabh@bhaismachine:~/testing/orpsocv2/sim/run$ make rtl-test

### Compiling software ###

make[1]: Entering directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
../../../drivers/or1200/crt0.o:(.vectors+0x510): undefined reference to `timer_ticks'
../../../drivers/or1200/crt0.o: In function `_start':
(.text+0x128): undefined reference to `main'
../../../drivers/or1200/crt0.o: In function `_start':
(.text+0x134): undefined reference to `exit'
../../../drivers/or1200/crt0.o: In function `default_exception_handler':
(.text+0x1b0): undefined reference to `default_exception_handler_c'
collect2: ld returned 1 exit status
make[1]: *** [or1200-simple.elf] Error 1
make[1]: Leaving directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
make: *** [/home/saurabh/testing/orpsocv2/sim/run/../../sw/tests/or1200/sim/or1200-simple.vmem] Error 2
saurabh@bhaismachine:~/testing/orpsocv2/sim/run$

regards,
Saurabh.
RE: ORPSoC and toolchain problem.
by saurabhgupta on Nov 22, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
Atleast someone help me with setting up ORPSoC. I have been asking for help since quite some time now. If that is not possible please make the download link for VMware working again. Thank you.

regards,
Saurabh.
RE: ORPSoC and toolchain problem.
by saurabhgupta on Nov 22, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
The problem is solved now. I was instructed on IRC to use the make distclean command in the sim/run directory. All the errors were gone after it. Consider this thread as closed.

regards,
Saurabh.
RE: ORPSoC and toolchain problem.
by saurabhgupta on Nov 22, 2010
saurabhgupta
Posts: 31
Joined: Sep 16, 2010
Last seen: Feb 3, 2021
The problem is solved now. I was instructed on IRC to use the make distclean command in the sim/run directory. All the errors were gone after it. Consider this thread as closed.

regards,
Saurabh.
RE: ORPSoC and toolchain problem.
by bhautikbaraiya on Jul 29, 2014
bhautikbaraiya
Posts: 2
Joined: Dec 16, 2013
Last seen: Oct 7, 2014
Hello,

I have installed the toolchain v1.0rc and also checked out ORPSoC from SVN. When I run the command make rtl-test (as said in the pdf manual) I get the following error. Kindly help me with it. I have now done everything as you said. Installed latest toolchain and downloaded the latest ORPSoC.


saurabh@bhaismachine:~/testing/orpsocv2/sim/run$ make rtl-test

### Compiling software ###

make[1]: Entering directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
make[2]: Entering directory `/home/saurabh/testing/orpsocv2/sw/drivers/or1200'
make[2]: or32-elf-gcc: Command not found
make[2]: *** [crt0.o] Error 127
make[2]: Leaving directory `/home/saurabh/testing/orpsocv2/sw/drivers/or1200'
make[1]: *** [../../../drivers/or1200/crt0.o] Error 2
make[1]: Leaving directory `/home/saurabh/testing/orpsocv2/sw/tests/or1200/sim'
make: *** [/home/saurabh/testing/orpsocv2/sim/run/../../sw/tests/or1200/sim/or1200-simple.vmem] Error 2
saurabh@bhaismachine:~/testing/orpsocv2/sim/run$

Really appreciate and rely on the help you guys provide here.

regards,
Saurabh.


I have followed the same path you have mentioned above and i am facing the same isuue.
Please let us know the path you provided to fix the same issue.

Hope for a immediate reply.

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