nick-petrovsky / PYNQ-ZYBO

PYNQ for Zybo board
5 stars 2 forks source link

Prebuild image link is dead #1

Closed pbk20191 closed 2 months ago

pbk20191 commented 9 months ago

Hello, first of all. I'm really happy to discover this project and it's very helpful. It looks like the link to the pre-build image has been corrupted. Could you get the link back?

nick-petrovsky commented 9 months ago

Hello! Thank for your interest, please check release tab of the project.

pbk20191 commented 8 months ago

Thanks for fast response. I tried prebuilt image using balenaEtcher and it isn't working at all.

nick-petrovsky commented 8 months ago

Thanks for fast response. I tried prebuilt image using balenaEtcher and it isn't working at all.

  • Can't connect the device using serial port
  • led is not flashing at all ( is this intended?, pynq 2.7 disk image does flash leds )
  • Can't access to the jupyter notebook

Are you sure that board you have is old Digilent Zybo? They actually have 3 variants:

If board part is correct, please check cables, power pin, boot pin configuration (set it to SD), and SDcard have to be at least 8GB (Probably 16 GB is more convenient).

Also check MD5sum of downloaded file:

$ md5sum Zybo-3.0.1-fix-boot-bin-fix-havege.img.xz
ef7fd9fbcd1dc035c02347687127a44d *Zybo-3.0.1-fix-boot-bin-fix-havege.img.xz

After kernel boot led MI07 have to start blinking and you can try to ping it 192.168.2.99, also embedded Linux correctly handle DHCP, so you can access jupyter and etc.

pbk20191 commented 8 months ago

Oh... wait my board is Zybo-Z7 (7020). So I was doing with the wrong solution. Thanks for reminding me.

nick-petrovsky commented 8 months ago

Oh... wait my board is Zybo-Z7 (7020). So I was doing with the wrong solution. Thanks for remining me.

I've managed to port this project to Zybo Z7-10, after few days I'll publish the image. Look like Zybo Z7-20 have same schematic and I can just change SoC part in TCL scripts. I'll kindly ask you to test the result.

nick-petrovsky commented 8 months ago

Oh... wait my board is Zybo-Z7 (7020). So I was doing with the wrong solution. Thanks for remining me.

Can you test the image for Zybo-Z7-20?

pbk20191 commented 7 months ago

sorry for late response. i have just tested the image. BaseOverlay leds blink on boot. But some system fails to start on boot.

image

I can not restart isc-dhcp-server.service and isc-dhcp-server6.service. jupyter.service and ifup@eth0.service sometimes failed to start on boot.

on boot there is log about interrupt

zocl-drm axi:zyxclmm_drm: IRQ index 0 not found

I will attach log about the services. status.txt

BaseOverlay leds works but switch and button does not responding.

pbk20191 commented 7 months ago

oh wait

sorry for late response. i have just tested the image. BaseOverlay leds blink on boot. But some system fails to start on boot. image

I can not restart isc-dhcp-server.service and isc-dhcp-server6.service. jupyter.service and ifup@eth0.service sometimes failed to start on boot.

on boot there is log about interrupt

zocl-drm axi:zyxclmm_drm: IRQ index 0 not found

I will attach log about the services. status.txt

BaseOverlay leds works but switch and button does not responding.

I checked again and BaseOverlay buttons and switch works normally.

nick-petrovsky commented 7 months ago

sorry for late response. i have just tested the image. BaseOverlay leds blink on boot. But some system fails to start on boot. image

I can not restart isc-dhcp-server.service and isc-dhcp-server6.service. jupyter.service and ifup@eth0.service sometimes failed to start on boot.

on boot there is log about interrupt

zocl-drm axi:zyxclmm_drm: IRQ index 0 not found

I will attach log about the services. status.txt

BaseOverlay leds works but switch and button does not responding.

Working leds and buttons is sign that PL image is seems to be correct.

This issue related to original Ubuntu rootfs that used in PYNQ project. I can confirm that ISC DHCP IPv4/IPv6 server hasn't started properly, but you can safely ignore this error. Network interface eth0 configured by networked and dhclient without any issues, you should have a static IP 192.168.2.99 and DHCP-lease from router.

I faced with issues related to jupyter.service if board was rebooted before first boot completed, some files are corrupted or not properly coped etc.

Try to refresh SD and give some time until board completely boot. Please test ethernet with ip a and pinning some host, check that MAC is volatile after cold reboot.

If you not facing with any other issues I will close the issue and mark z7020 image as correct. Thank you for testing!

pbk20191 commented 7 months ago
  1. I checked static Ip and the other ip is valid for ssh and jupyter
  2. jupyter.service and the other serivces might fail to start at the very first time. But I if I restart it manually, it will works normally (of course including next boot). Maybe it was rebooted too early by my loose cable? Like what you said.
  3. I checked the MAC and it has stable address, even after multiple cold reboot. (If I'm correct, you want me to check if MAC address is stable, right?)
nick-petrovsky commented 2 months ago
  1. I checked static Ip and the other ip is valid for ssh and jupyter

It should have both static and dynamic IP if DHCP is provided in network segment. Mentioned behaviour is expected. Unfortunately Jupyter isn't bind on ipv6 address group and overlapping subnets can happens even if ipv6 is configured correctly.

  1. jupyter.service and the other serivces might fail to start at the very first time. But I if I restart it manually, it will works normally (of course including next boot). Maybe it was rebooted too early by my loose cable? Like what you said.

Probably. PYNQ is too fragile, especially during first boot.

  1. I checked the MAC and it has stable address, even after multiple cold reboot. (If I'm correct, you want me to check if MAC address is stable, right?)

Right. This is was main idea why I contributed to this repo for old Zybo.

In my point of view, issue can be marked as resolved. So I can mark Zybo-Z7-20 as ''tested''.