- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I have a Nios V system in platform designer. I've created a bsp, then created an application project as in 1.4.3.2 in Nios® V Embedded Processor Design Handbook. Then I tried to use RiscFree IDE to compile the project and got this error:
Error: -march=rv32ima_zicbom: unknown z ISA extension `zicbom'
make[2]: *** [bsp/CMakeFiles/hal2_bsp.dir/build.make:75: bsp/CMakeFiles/hal2_bsp.dir/HAL/src/alt_log_macro.S.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: bsp/CMakeFiles/hal2_bsp.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
My PATH var looks like this
echo $PATH
/mnt/HDD/Intel/intelFPGA_pro/23.1/riscfree/build_tools/cmake/bin:/mnt/HDD/Intel/intelFPGA_pro/23.1/riscfree/toolchain/riscv32-unknown-elf/bin/:/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin:/usr/share/bittware-sdk/bin
How can I fix this error?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i am working on your issue. please give me time.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
https://www.rocketboards.org/foswiki/Documentation/NiosVZephyrDesignExampleHelloWorld
please follow the shared article. in this article, we can find an example design also. please follow those steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Thank you for your answer.
I've found out that this error was probably due to I used Nios V/g IP core. Unfortunately I coundn't find any info about development flow for this processor and existing one for Nios V/m doesn't work for it. So after switching to Nios V/m and doing the flow from the scratch I was able to get an .elf file for my design. But also I got an error:
make[2]: niosv-stack-report: Command not found
make[2]: *** [CMakeFiles/niosv-stack-report.dir/build.make:73: main.elf.stack_report] Error 127
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/niosv-stack-report.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
It seems that Ashling IDE somehow doesn't find niosv-stack-report binary, while i can see it at niosv/bin directory:
$ ls intelFPGA_pro/23.1/niosv/bin/
commons-cli-1.4.jar elf2flash elf2flash.jar elf2hex elf2hex.jar niosv-app niosv-bsp niosv-download niosv-download-files niosv-shell niosv-shell-files niosv-stack-report niosv-stack-report-files
Is there any workaround for this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
https://www.intel.com/content/www/us/en/support/programmable/articles/000091393.html
On this page, we can find the error details. actually, you can ignore this error. complete details of this error we can see the shared page.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer. Running Ashling IDE from niosv-shell helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
so, based on your last message shall I take it as your issue has been solved? please confirm if it's ok I will close this case.
Thank you,
Hareesh B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hareesh.
Yes, you can close the case. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page