litex-hub / linux-on-litex-vexriscv

Linux on LiteX-VexRiscv
BSD 2-Clause "Simplified" License
550 stars 174 forks source link

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

Open allrighteveryday opened 8 months ago

Dolu1990 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 7 months ago

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 :)