litex-buildenv icon indicating copy to clipboard operation
litex-buildenv copied to clipboard

"...on Windows" docs wants udev rules

Open CarlFK opened this issue 6 years ago • 7 comments

last step of this section:

https://github.com/timvideos/litex-buildenv/wiki/Bash-On-Windows#install-litex

juser@DESKTOP-KOJ4LVF:~/lhub/litex-buildenv$ source ./scripts/enter-env.sh
Please install the HDMI2USB udev rules.
These are installed by scripts/download-env-root.sh

Does udev make sense on windows?

CarlFK avatar Jul 14 '19 06:07 CarlFK

udev doesn't make sense on Windows.

mithro avatar Jul 15 '19 13:07 mithro

this needs to ignore windows:

https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L63-L71

Later today I'll try to figure out how to see what OS we are running under

GitHub
An environment for building LiteX based FPGA designs. Makes it easy to get everything you need! - timvideos/litex-buildenv

CarlFK avatar Jul 16 '19 16:07 CarlFK

@cr1901 - Any idea here?

mithro avatar Jul 16 '19 20:07 mithro

William@William-THINK MINGW64 ~
$ uname -a
MINGW64_NT-6.1-7601 William-THINK 3.0.7-338.x86_64 2019-05-24 10:50 UTC x86_64 Msys

Prob best to check the uname string for a match for NT or something for now? Idk what the conda bash returns for uname on Windows...

cr1901 avatar Jul 16 '19 20:07 cr1901

(LX P=arty C=mor1kx) juser@DESKTOP-KOJ4LVF:~/lhub/litex-buildenv$ uname -a
Linux DESKTOP-KOJ4LVF 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 GNU/Linux

CarlFK avatar Jul 20 '19 18:07 CarlFK

@CarlFK Is that WSL? Note I have absolutely no experience with WSL :(.

cr1901 avatar Jul 20 '19 19:07 cr1901

Yes, WSL.

no sad faces, most of my experience with WSL has been following these instructions, so we are in the same rocky boat.

CarlFK avatar Jul 23 '19 17:07 CarlFK