Comments (4)
I added the Zephyr-specific platform and script in 8383ccf.
Hope it solves the problem!
from renode.
@kaolpr There is a tool for generating a renode configuration from a LiteX CSV file here -> https://github.com/litex-hub/litex-renode
from renode.
I know and it's very handy, already checked it out.
The only think I wanted to point out with this issue is that Renode + Litex + Zephyr simulation looks like a great match and would be nice if it could work out-of-the-box.
But I fully understand it's not a bug and one can not consider it a reason for any modifications (yet, this discussion will be here if anyone was looking for Zephyr + LiteEth + Renode).
from renode.
Thanks for the comment, @kaolpr!
As you probably already know, LiteX is in fact a SoC builder which means it can generate many different configurations.
Those configurations can differ in many aspects, including base addresses of internal components.
That flexibility is great, but as a result you don't have one LiteX platform.
Renode, due to its modularity, is great to simulate such situation as platform configuration is described in a simple text repl file.
All you need to do to simulate another instance of LiteX is to prepare a custom version of repl platform.
As mithro has already mentioned, there is a generator that can help you with that.
You are totally right though, that it might be surprising at first.
Renode provides LiteX platform definition, but it cannot run mainline Zephyr out-of-the-box.
I want to make it clear (also for others that might stumble upon this thread in the future) that this is not a bug, what Renode comes with is just one-of-many possible LiteX platforms.
There is, however, a solution to your problem that should satisfy everyone.
I will simply add a new repl and a script that explicitly targets Zephyr OS, so that it's easier for newcomers to play with Renode + Zephyr.
from renode.
Related Issues (20)
- machine keeps looping in nvic_reset and rebooting on loading the elf for nrf5340 platform HOT 2
- LimitTimer can be created with Frequency '-1' and resetting it sets freq to 0.
- Failed to emulate mbed-os-socket-example for both wireless and wired board
- Support with adding Goodix GT911 I2C Touch Device
- CAN Bus Example HOT 4
- Usage with EFM32GG, board STK3700 HOT 2
- Adding external spi flash to nrf5340 (using Macronix_MX25R) HOT 1
- STM32_PWR peripheral initialization HOT 3
- Way to jump to specific PC while running the firmware directly via monitor or pyrenode? HOT 12
- Compatibility Issue with HSS Version When Booting Ubuntu Server Image on Simulated Icicle in Renode
- Zynq-7000 peripheral limitations?
- STM32F2 Timer triggered DMA sampled ADC
- Add command line display of `renode` version? HOT 5
- bug report? Is it considered a bug when a stm32f4 based open-source software can't boot in renode? HOT 2
- Request to support SiLabs' EFM32PG28 & PG28-PK2506A
- Error while using CC2520 SPI peripheral on STM32F4
- Error when running HSS in Renode with PolarFire SoC Icicle Example .resc files
- STM32 Timer limits behaviour
- Trying to write to a disabled Tx
- STM32F2 DMA driven SPI
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 renode.