Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebuild image link is dead #1

Open
pbk20191 opened this issue Feb 19, 2024 · 11 comments
Open

Prebuild image link is dead #1

pbk20191 opened this issue Feb 19, 2024 · 11 comments
Assignees

Comments

@pbk20191
Copy link

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
Copy link
Owner

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

@pbk20191
Copy link
Author

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

@nick-petrovsky
Copy link
Owner

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:

  • Zybo B.3 soc: zynq7010 (first Zybo with VGA, on official site it is marked as absolute, I have such one)
  • Zybo Z7 soc: zynq7010 (I've not ported PYNQ for it yet, schematic is different a bit, image isn't compatible with it)
  • Zybo Z7 soc: zynq7020 (same as previous but with bigger SoC)

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
Copy link
Author

pbk20191 commented Feb 23, 2024

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

@pbk20191 pbk20191 closed this as completed Mar 2, 2024
@nick-petrovsky
Copy link
Owner

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 nick-petrovsky self-assigned this Mar 5, 2024
@nick-petrovsky
Copy link
Owner

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?

@nick-petrovsky nick-petrovsky reopened this Mar 9, 2024
@pbk20191
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

pbk20191 commented Apr 20, 2024

  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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@nick-petrovsky @pbk20191 and others