lowRISC / ibex-demo-system-labs

Labs for the Ibex Demo System
Creative Commons Attribution 4.0 International
11 stars 4 forks source link

Update the instructions for use with WSL2 in Windows? #18

Open Sam-Vervaeck opened 9 months ago

Sam-Vervaeck commented 9 months ago

So I am using WSL2 in Windows to have an Ubuntu install without having to deal with dual booting. This has posed certian challenges, such as getting USB devices (an Arty A7 board for example) passed through to the Ubuntu environment. I have figured out most of them and am currently working out how to run these labs on the WSL2 Ubuntu directly because the Docker container is one layer too many I'm afraid.

I was wondering if there is interest in me adding some explanation steps to these labs for people who also want to run it through WSL2? I will need to create a new issue here and there if i can't figure something out, but most of the setup of lab 1 i already got working.

marnovandermaas commented 9 months ago

Oh it is great that you got this working! We are definitely interested in your input. For now these labs are very much focussed on the Docker side of things. So I think it may be better to add this to the main demo system repo. Our README file is already a bit bloated (we are planning to split it up in the future). Could I ask you to create a file named something like windows_wsl2_guide.md in the doc directory? You can do this by creating a pull request to the main repository.

Again, thanks so much for your interest and offering to help!

colinoflynn commented 9 months ago

You aren't the only Windows person either around - so won't be a waste of effort! I haven't tried this yet myself either, but having WSL2 support is a definite plus.

Sam-Vervaeck commented 9 months ago

Oh it is great that you got this working! We are definitely interested in your input. For now these labs are very much focussed on the Docker side of things. So I think it may be better to add this to the main demo system repo. Our README file is already a bit bloated (we are planning to split it up in the future). Could I ask you to create a file named something like windows_wsl2_guide.md in the doc directory? You can do this by creating a pull request to the main repository.

Again, thanks so much for your interest and offering to help!

Ok great, I'll get to it lab by lab. I'll start by documenting my setup steps for lab 1.