Overlay import error zedboard

Pynq v2.3
Jupyter Notebooks
Device : Xilinx Zedboard

I’ve been trying to run halfsqueezenet(spooNN) on ZedBoard through Jupyter Notebooks.
Repository link : spooNN/halfsqueezenet at master · fpgasystems/spooNN · GitHub
I attempted to implement halfsqueezenet from this repo on my zedboard; even though the repo is for PYNQ Z1. To know the whole procedure please read the readme file at spooNN/halfsqueezenet/README.md

Jupyter Notebooks keeps returning the following error (bitstream and .tcl files are attached)procsys_wrapper.bit (3.9 MB) :

RuntimeError Traceback (most recent call last)
in ()
1 OVERLAY_PATH = ‘halfsqueezenet_overlay.bit’
----> 2 overlay = Overlay(OVERLAY_PATH)
3 dma = overlay.axi_dma_0
4 WEIGHTS_FILE_NAME = ‘halfsqueezenet_weights_file.txt’
5

/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in init (self, bitfile_name, download, partial, ignore_version)
311 self._ip_map = _IPMap(description)
312 if download:
→ 313 self.download()
314
315 self. doc = _build_docstring(self._ip_map._description,

/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in download(self)
350 Clocks.set_pl_clk(i)
351
→ 352 super().download()
353 PL.reset(self.parser)
354

/usr/local/lib/python3.6/dist-packages/pynq/pl.py in download(self)
1603
1604 “”"
→ 1605 self._download()
1606 if not self.partial:
1607 self._update_pl()

/usr/local/lib/python3.6/dist-packages/pynq/pl.py in _download(self)
1648 “”"
1649 if not os.path.exists(self.BS_FPGA_MAN):
→ 1650 raise RuntimeError(“Could not find programmable device”)
1651
1652 bin_file = os.path.basename(self.bitfile_name).replace(‘.bit’, ‘.bin’)

RuntimeError: Could not find programmable device

Are you able to download other bitstreams?

Cathal

I think the problem is that it is very risky to boot a pynq-z1 image on zedboard - we have never tested that. The best chance is to rebuilt a customized board image for your zedboard - otherwise the fpga manager will not appear in your rootfs.

No, not any bitstream at all. Overlay import is a recurring error

I built a customized image for zedboard and now I can see that there is a folder named FPGA manager present but I am unable to connect to my zedboard to a network with ethernet. Running ifconfig returns nothing but the loop back address

It is probably because you do not have the ethernet package installed

Do you have something similar to:

Actually what you suggested had been done even before I stumbled upon this issue. I had to run a command sudo ifconfig eth0 172.30.1.90 netmask 255.255.255.0 up. Even to this point, every time I power up the device I must run the same command to make ethernet work. What might be the root of this problem?

What does this file look like: /etc/network/interfaces.d/eth0 on your image?

On z1 and z2, it looks like:

auto eth0
iface eth0 inet dhcp

auto eth0:1
iface eth0:1 inet static
address 192.168.2.99
netmask 255.255.255.0

The file looks exactly like that.

We need more information on this question. How did you build the image? I suppose it is image v2.3? How did you connect the board to networks, static IP or dynamic IP?

I followed this procedure to build the image v2.3.
And it was connected to the local network with a dynamic IP