Giter Site home page Giter Site logo

Comments (4)

mateusz-holenko avatar mateusz-holenko commented on May 22, 2024 1

I added the Zephyr-specific platform and script in 8383ccf.

Hope it solves the problem!

from renode.

mithro avatar mithro commented on May 22, 2024

@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.

kaolpr avatar kaolpr commented on May 22, 2024

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.

mateusz-holenko avatar mateusz-holenko commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.