Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Bare Metal application code on litex with cpu type rocket #2010

Open
sramichetty20019 opened this issue Jul 8, 2024 · 1 comment

Comments

@sramichetty20019
Copy link

Hi Everyone, I am trying to run litex with Rocket as CPU type, and I am trying to demo.bin file to see if the bare metal application code execution works, i know that it doesn't work or does not produce any output while i run using the command

litex_sim --threads-8 --with-sdram --cpu-type rocket --cpu-variant small /linux --sdram-init demo.bin

The above does not go beyond the liftoff

i also tried
litex_sim --integrated-rom-size 0x10000 --cpu-type rocket --cpu-variant small --rom-init demo.bin
this is also stuck
i want to run litex in simulation model
i have also removed the -flto flag yet it dosent work
kindly provide me some guidence to bare-metal-applications on litex simulation if possible also a way to get the instruction trace

@gsomlo
Copy link
Collaborator

gsomlo commented Jul 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants