pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
337 stars 209 forks source link

Development Machine #639

Closed davidhay45 closed 6 years ago

davidhay45 commented 6 years ago

Hi

I am trying to set up a development machine on my Windows 10 PC following the instructions given.

I think I am almost there (!), Under the VM I can login via root and I have downloaded the Xilinx_Vivado_SDK_2016.4_1215_1.tar.gz and unpacked it but I can't run the installer because of the lack of X11. So I have run SSH with X11 enabled but I can't login to the VM via SSH with root/changeme (password wrong) and when I log in via red-pitaya/changeme I don't have permission to create the xsetup via sed.

So, is the root password via SSH something else? Or what should I do? I have many years experience of Windows and Visual C++ but I am a beginner at Linux as you will have guessed.

I very much appreciate all the work you have done here it is amazing.

Thanks

David

davidhay45 commented 6 years ago

Is it possible to compile a c file on the RP under Alpine? Alternatively is it possible to use ftp on the RP into the Debian VM or direct into my Win 10 PC?

Thanks

pavel-demin commented 6 years ago

Is it possible to compile a c file on the RP under Alpine?

Yes. The compiler is on the SD card but not installed by default. The compiler and make can be installed with the following command:

apk add make gcc

If you prefer to keep them installed, then write the changes to the SD card with the following command:

lbu commit -d

Alternatively is it possible to use ftp on the RP into the Debian VM or direct into my Win 10 PC?

SCP can be used to transfer files. It works with both a Linux command line and with graphical clients like WinSCP: https://winscp.net

davidhay45 commented 6 years ago

I think winscp is wonderful and really works well with my Windows 10/Debian/RP. I am not sure if you mention it elsewhere but it is worth it.