Comments (8)
Kunyan confirms that this is an Ibex bug. The refactoring of the PermitAccessSystemRegisters logic accidentally missed mcycleh
.
from cheriot-rtos.
You shouldn't need it, but sometimes rm -rf .xmake build
is necessary.
from cheriot-rtos.
And the exercise needs the simulator because the sail model doesn't have a uart - is that right ?
The Sail UART is output only, yes.
from cheriot-rtos.
If the board is sail
then they're not using the Ibex simulator, they're the instruction simulator generated from the Sail formal model.
from cheriot-rtos.
I suspect that the recent(ish) changes to the AccessSystemRegisters permissions in Ibex may have broken mcycleh
access. The test suite uses mcycle
but not mcycleh
(it doesn't run long enough to overflow a 32-bit cycle counter. @kliuMsft, can you check?
from cheriot-rtos.
If the board is
sail
then they're not using the Ibex simulator, they're the instruction simulator generated from the Sail formal model.
Ah, Ok thanks. I tried changing one of the examples to the ibex simulator and then doing "xmake config --sdk=/cheriot-tools/; xmake clean; xmake; xmake run" - but that didn't fail which made me think this was the wrong track. Looks like I need to "rm -rf .xmake .cache" to really get back to a clean state ?
And the exercise needs the simulator because the sail model doesn't have a uart - is that right ?
(Sorry for the questions - still feeling my way around here some)
from cheriot-rtos.
The dev container is updated with the fix so this should work now.
from cheriot-rtos.
Yep - runs fine now, thanks
from cheriot-rtos.
Related Issues (20)
- [help-wanted] Import table invalid export HOT 4
- Loader does not check interrupt status for thread entry points
- Move message queues out of the scheduler
- heap_free_all frees sealed objects HOT 3
- Would be nice to support hazard pointer like claims on heap objects HOT 5
- Create sub-quotas for allocation capabilities
- Separate permissions in quotas
- Recursive mutex needs tests HOT 1
- Destruction lock
- MMIO regions are artificially constrained to 2^24 bytes HOT 5
- Benchmarks are bitrotted
- Better protect against stack-overflow attacks HOT 2
- Large globals sections are incorrectly set up HOT 4
- A few typos in the examples READMEs HOT 1
- Constraints on sealed sizes can be reduced HOT 2
- Question about std::string HOT 1
- Add std:string overload to debug HOT 1
- Tag violation when creating a std::string from string literal over 14 characters in length HOT 5
- No firmware works with Ibex on Arty A7 100T HOT 15
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 cheriot-rtos.