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

Is there any way to run python programs in linux-on-litex-vexriscv #367

Open
allrighteveryday opened this issue Oct 27, 2023 · 4 comments
Open

Comments

@allrighteveryday
Copy link

No description provided.

@Dolu1990
Copy link
Contributor

you need to add python in buildroot
Look at the readme about how to compile buildroot, but before compileing it you can do "make xconfig" this will open a gui, there you can do ctrl + f python

@allrighteveryday
Copy link
Author

you need to add python in buildroot Look at the readme about how to compile buildroot, but before compileing it you can do "make xconfig" this will open a gui, there you can do ctrl + f python

thanks for guidance.it does work!
and is there any way to see the power performance area of the vexriscv processor?

@Dolu1990
Copy link
Contributor

so far, i would say you can check the synthesis results, but the values are a mix for the whole soc, so not so much Vex specific

@allrighteveryday
Copy link
Author

you need to add python in buildroot Look at the readme about how to compile buildroot, but before compileing it you can do "make xconfig" this will open a gui, there you can do ctrl + f python

micropython is ok.but when I select python3, it doesn't work. or Do we have to check some dependency?
when enter python3 in linux , the error is
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

by the way ,I really wonder why I can't execute a C programs by gcc in the linux :(

any help apprecited :)

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