Comments (6)
@zhemao Can you address this, since you updated the images last.
from fpga-zynq.
Oh crap, it looks like the DefaultFPGASmallConfig has virtual memory turned off now. So of course it's not going to work with the new pk, which requires virtual memory.
I can fix this in my outstanding PR for the serial tether change. It might take a while for that to make it in.
@jsren If you don't want to wait, you can go to rocket-chip/src/main/scala/coreplex/Configs.scala and edit the WithSmallCores config. If you change "UseVM" and "UseUser" to true and recompile the boot image, it should work.
from fpga-zynq.
@jsren You could also try the previous commit for the time being: 86d2cf1
from fpga-zynq.
@zhemao @davidbiancolin Cheers!
from fpga-zynq.
I've been following the tutorial for pushing rocket modifications to the FPGA on my Zedboard using the default ZynqConfig configuration, and when I go to run the example hello program I get a similar error to what @jsren found:
fesvr-zynq: ../fesvr/dtm.cc:67: uint32_t dtm_t::run_program(const uint32_t*, size_t, size_t): Assertion
n <= ram_words()' failed.`
Somehow it seems to think that the amount of memory the program wants is greater than available, but this also happens when I increase memory size (and I don't see how hello could need more than 256MB of memory anyway). This doesn't happen with the image that comes with the repository, but it does happen if I rebuild boot.bin according to the tutorial, or fetch it with make fetch-images.
Edit: Correction: This seems to not be happening anymore, even if I allocate more memory than the board has. I'm not sure what changed.
from fpga-zynq.
This has been fixed by 9a0b82d.
from fpga-zynq.
Related Issues (20)
- Problems with fesvr-zynq on zc702 HOT 5
- A problem when building u-boot-xlnx HOT 1
- How to extend the address size of ExtMem HOT 1
- Password not working HOT 1
- ERROR: No cores found HOT 2
- terminate called after throwing an instance of 'std::runtime_error'
- To port free rtos on rocketcore
- uEnv.txt not found
- **[error] (compile:run) Nonzero exit code: 1
- How to use update_version script
- Project Loading Failed HOT 1
- make rocket过程中遇到的问题 HOT 1
- 在rocket chip上使用buildroot配置linux时,需要账号密码 HOT 2
- Can rocket core use PS7 side FCLK0 instead of external clock input?
- How to create RAM disk image
- Compiling testchipip
- Failed to launch run 'impl_1' due to failures in the following run(s)
- PYNQ ZU support
- Newer versions of Vivado
- Newer linux kernels on bbl.
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 fpga-zynq.