Xilinx / GO-PYNQ

Xilinx Contest Kshitij 2019
http://www.pynq.io/
BSD 3-Clause "New" or "Revised" License
19 stars 4 forks source link

How to transfer files from PC to PYNQ notebook or `git clone` #4

Open Sumegh-git opened 5 years ago

rpokana commented 5 years ago

You can use Samba file sharing service to copy files. https://pynq.readthedocs.io/en/latest/getting_started.html#accessing-files-on-the-board

To download Git repos, use pip install. Example below:

Quick Start On the latest PYNQ image, use the following command in a terminal to install PYNQ Deep Learning IP Jupyter notebooks

$ sudo -H pip3.6 install --upgrade git+https://github.com/Xilinx/PYNQ-DL.git $ sudo reboot now

After the setup, new Jupyter notebooks will be added under the pynqDL folder, ready to try out, no additional steps are needed

Let me know of any issues.

Sumegh-git commented 5 years ago

Ok thanks! But we are facing problems getting PYNQ board connected. Like we are configuring it in Windows , and have changed Ipv4 setting , but still 192.168.2.99:9090 doesn't open the Notebook. It opened once earlier and then never connected.

rpokana commented 5 years ago

Not sure what is happening. Some pointers:

  1. https://pynq.readthedocs.io/en/latest/getting_started/pynq_z2_setup.html#getting-started-video
  2. https://pynq.readthedocs.io/en/latest/appendix.html#assign-your-computer-a-static-ip
rpokana commented 5 years ago

This should help.

Try following this to find the ip address of the pynq board: https://pynq.readthedocs.io/en/latest/getting_started.html#opening-a-usb-serial-terminal

Sumegh-git commented 5 years ago

Yes. Thanks @rpokana . This worked .

But i'm unable to access the internet from Serial terminal of board . I have set the network proxy using set http_proxy=172.16.2.30:8080 and others too like https,ftp . Still doesn't work . When i try doing git clone it hangs and nothing happens. Can you help with this?

rpokana commented 5 years ago

First connect the LAN ethernet cable directly to the board to access internet. You can use the same setup if the laptop/PC (with Wifi) is assigned a static ip in the same range as the PYNQ board.

HTH

Sumegh-git commented 5 years ago

Thanks for helping . I had a basic doubt . Regarding installation of Tensorflow , Keras and other libraries how and from where am i supposed to install them?Doing normally with pip doesn't work , because PYNQ has different architecture and what we got on the internet are made for 32/64bit arch .

Sumegh-git commented 5 years ago

Also , i'm unable to find the 4 submodules : board, iop, drivers, and bitstream as written in docs in the GitHub Repo . Due to which i'm also unable to import pynq.drivers. Please let me know the solution for this. @rpokana

cathalmccabe commented 5 years ago

Please post this question to the PYNQ support forum www.pynq.io/support