PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Not able to open Jupyter Notebook

I had built Pynq image for mercury enlcustra XU1 without using a BSP as provided in the link below
(https://pynq.readthedocs.io/en/v2.4/pynq_sd_card.html#building-from-a-board-repository)
I am facing an issue, I am not able to access Jupyter notebook when I try connecting the IP from a web browser.
I tried connecting the board to my network and opened a browser on my PC navigating to Pynq:9090 It’s not working though please help me out

What have you tried to resolve the problem?
Have you checked the network interface of the board is up, and the network connection between PC and board? Did you try connect using the IP address of the board rather than pynq:9090?

Cathal

Our board-agnostic image doesn’t bring the hardened ethernet up by default to avoid issues with boards like the Ultra96 which don’t have a wired ethernet connection. Try adding

STAGE4_PACKAGES_${BOARD} := ethernet

to your .spec file and see if that helps.

Peter

I did this before building the image.I added this to the .spec file

The network interface of the board is up. Yes, I tried connecting using the IP address of the board. Still not able to connect it

Can you ping the board from PC and vice versa?
Is the Jupyter server running on the board?

Cathal

Yes i can ping the ip from my pc . I dont know how to find if the jupyter server is running on the board.

What about using <your_board_ip>:9090 instead of pynq:9090?

Can you use the following commands?

ps aux | grep jupyter

and

systemctl status jupyter

On my board, I have:

1 Like

I tried it using still i am not able to connect to Jupyter notebook. The board which i have doesn’t have a UART connection , I will not be able to get the terminal unless i log in to the Jupyter notebook directly from the browser. I have a router which displays the IP generated when the image is booted from the SD card.

Since you already can ping your board from your PC, why don’t you just ssh onto the board?

ssh <your IP>

Both username and password should be xilinx

Tried that it showed connection timed out

I am confused. If you don’t have connection to your board, how do you know your board’s IP? Also, is your board connected directly to your router, or to your PC?

The board is connected directly to a router.The Ip is displayed on the router when the board is booted.

It is really difficult to try and debug this without terminal access or any other info. All we have been able to determine is that the board gets an IP and responds to ping, but nothing else.

You said the board doesn’t have UART. I presume you are using a carrier board with the XU1. Do you have pins available on the carrier that you can pull out the UART to?

Cathal

There is a module which is used for connecting FMC module. Maybe We can connect UART using an external interface to the board

Hi,
Thanks for your answer. I had similar problem and my 3rd line returned “Active: failed (Result: timeout)” instead of “Active: active (running)”. I did lots of search with no related solution. Finally I removed SD and copy img file again. It worked!
Best regards