-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
common/common.mk : 144 main.elf Error 1 #138
Comments
Could you share a screenshot of your console output? If
So you are using this board: https://reference.digilentinc.com/programmable-logic/basys-3/start I just had a quick look at the master xdc file. You could connect
Please double check these mapping - maybe I looked too fast 😉 |
make check output is exactly as in the User guide. here is the output from make info in sw/example/blink_led. make clean_all all gives the following: Yes I am using the Basys3 from Digilent. I set up the neorv32_ProcessorTop_Test.vhd as you described, except I only set gpio(0) to U16. |
This is a problem with the toolchain. Please run Did you download a pre-compiled toolchain or did you build that by yourself? Alternatively, you can use this prebuilt toolchain: https://github.com/stnolting/riscv-gcc-prebuilt |
riscv32-unknown-elf-gcc -v I built the toolchain as you described in the User guide. |
Here is the entity portion of the neorv32_ProcesssorTop_test.vhd |
This is the problem: The toolchain was build only for a
You need to compile the toolchain with
You do not have to build the toolchain by yourself. You can use the one I have build: https://github.com/stnolting/riscv-gcc-prebuilt But note that this prebuilt toolchain does not use the latest GCC and binutils.
You need to do the signal -> pin mapping in Vivado and not in the actual VHDL file. Maybe this can help: https://forums.xilinx.com/t5/Implementation/Pin-assignment/td-p/735164 Put simple: Use the Basys-3-Master.xdc file, remove all pins that are not used, replace the default net names by the NEORV32 top signal names (for example for the clock signal: replace |
I corrected a typo in --with-abi=ilp32 and recompiled the toolchain. Now make check, make info and make exe compile without error. thank you. |
Great to hear! 👍 Let's keep this open for a while in case you have any further questions. |
Thanks. I need help matching the basys3 ports with the neorv32 signals.
…On Tue, Aug 10, 2021, 12:51 PM stnolting ***@***.***> wrote:
Great to hear! 👍
Let's keep this open for a while in case you have any further questions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEE7TMY37ZS3KAOUIXMGI3T4FKKBANCNFSM5B2FJYPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
OK. Starting from scratch, I followed the General Hardware Setup including step 5 neorv32_ProcessorTop_Test.vhd. I followed listing 2, not changing the Memory configurations. I couldn't find neorv32_test_setup.vhd file (Page not found Error 404). Could you point me to the file? |
Sorry for the late answer...
Seems like the is a dead link... :( We are currently reworking the test setups (see #136). You can use the Anyway, the "current" / "classic" test setup is here: |
The new test setups have been merged into the master branch. Here are the new setups: |
Thanks. I am taking a break from fpga development
…On Sat, Aug 14, 2021, 1:43 PM stnolting ***@***.***> wrote:
The new test setups have been merged into the master branch.
Here are the new setups: rtl/test_setups
<https://github.com/stnolting/neorv32/tree/master/rtl/test_setups>
Please have a look at the reworked User Guide section:
https://stnolting.github.io/neorv32/ug/#_general_hardware_setup
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEE7TNXF3MWMQFKXCFOOA3T42TLBANCNFSM5B2FJYPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
I am closing this. Do not hesitate to open a new issue or discussion in case you come back to this project. 😉 |
I have gotten as far as checking the Toolchain and Info by make check and make info in /sw/example/blink_led. But all other examples end up with the error message above. I am trying to set up neorv32 on my Basys3. I have tried the General Hardware Setup using neorv32_ProcessorTop_Test.vhd as well as neorv32_top.vhd files. In each case I can't figure out how to setup the ports for clk_i, rstn_i, gpio_0, uart0_txd0 and uart0_rxd0 for the Basys3. I think the ports are W5, W8, U16, B18 and A18 respective. I need some help.
The text was updated successfully, but these errors were encountered: