Comments (5)
Just several comments because in your question actually several questions:
-
You can freely change json-configuration files it cannot affect the build process.
-
examples/dhrystone/makefiles/binarm folder contains the pre-built hex-image + elf (with debug symbols) for ARM processor (not a RISC-V). These files are used by target functional_arm_gui.json or with the custom ARM-R5 system that not in the repository. You shouldn't rename it.
-
FPU is disabled by default for boot/ example. See the parameter FPU_ENABLED=0 in the make_boot. Total size of the boot image 3 KB it is much less than available 'bootrom' space.
-
I am using own utility 'examples/elf2rawx' to generate hex-file. So you can try to build it and copy the binary file 'elf2rawx' into the folder with your gcc compiler:
$ cd examples/elf2rawx/makefiles $ make $ cp elf/elf2rawx $(YOUR_CUSTOM_RISCV_GCC_FOLDER) $ cd ../../dhrystone21/makefiles $ make
-
What version of gcc you are using (or actually where I can get the same to reproduce your result)?
-
Are you going to port freertos yourself?
from riscv_vhdl.
from riscv_vhdl.
I think I've understood. There're special *.vhd configuration file for each project:
- rtl/prj/kc705/config_k7.vhd for the KC705 board
- rtl/prj/ml605/config_v6.vhd for the ML605 board
- rtl/prj/modelsim/config_msim.vhd for the simulation in QuestaSim
- etc
All these files have the following constants definition:
constant CFG_SIM_BOOTROM_HEX : string :=
CFG_TOPDIR & "examples/boot/linuxbuild/bin/bootimage.hex";
constant CFG_SIM_FWIMAGE_HEX : string :=
CFG_TOPDIR & "examples/zephyr/gcc711/zephyr.hex";
Make sure that these constants are the same as shown above to run zephyr. It possible to change them to run bare-metal Dhrystone benchmark or bootrom_tests for CPU verification or redefine CFG_TOPDIR parameter.
from riscv_vhdl.
from riscv_vhdl.
In that case please share information about gcc version and build log.
from riscv_vhdl.
Related Issues (20)
- What configuration did you use for Rocket core? HOT 2
- Cannot find _run_functional_sim.sh HOT 2
- showing CPU is turned off HOT 1
- Openning ttyUSB0 at 115200 . . .failed" HOT 3
- Uart Conf HOT 1
- Error compiling debugger HOT 1
- gptimer alignment in the second timer is not correct HOT 2
- Communicating with the ML605 Board (v8.0) HOT 4
- can you run linux? HOT 2
- problem compilation with options: -march=rv64imafd -DFPU_ENABLED HOT 1
- GNSS module HOT 1
- Build debugger with GUI failed: libdbg64g.so undefined reference HOT 1
- How to generate VCD files of bare-metal dhrystone with _run_systemc_sim.sh? HOT 4
- slurm dependency HOT 3
- Run Hello world example on VC707 board HOT 24
- riscv_soc_tb Simulaton HOT 18
- Adding a Master peripheral HOT 27
- simulation of kc705_tb HOT 19
- Any plans or suggestions for laticce or gowin fpga chips support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv_vhdl.