Amazing tutorial. It's very rare to find an advanced tutorial on petalinux with a personalized board bring up on the internet. Thank you Phil for occupying this niche. Your engineering discipline is a huge source of inspiration for me and my team. Keep up the good work.
There's no other channel with this fine level of content like yours! Really looking foward to aquire your Hardware course and hopefully when you release the Software/Kernel/Programming one (what you have made with vivado ect...). Amazing work Phil, as always!
Nice to see that the BSP is 'fairly' easy to create. That slow JTAG boot reminds me of booting Sun3 workstations from tape 35 yrs ago. Cross your fingers and wait. Thanks for the video.
I actually bought a mini-pc based on a 5900hx 8 core cpu specifically to run Linux and I found that the whole Vivado/Vitis tool toolchain works better on Linux than on Windows. Initially I was using that mini-pc just for Petalinux, but now I moved my whole FPGA development there as it seems more stable and faster, despite inferior cpu (my main desktop has 5950x). Now only Altium holds me on a Windows platform.
@@PhilsLab I work with a RISC -V firm as my full time. Its one of the founding member of RISC-V writing the computing if tomorrow. If you want we can collaborate.
What a coincidence!!!! I started Hardware Design and kept following your videos. I moved on to FPGA development and lucky enough to have got your videos as a bonus. Awesome
You should've incorporated iperf3, coremark and hdparm for speed testing. They don't require C++ unlike p7zip AFAIK (and other optional for embedded distros things like wchar and pthreads), and come with minimal dependencies.
Hey there, awesome video! If i'm not mistaken there are two cortex A9 on the zynq and it's possible to run petalinux on one and a baremetal application on the other. The documentation for the device tree setup is rather poor. Do you have any experience on this ?
How much eMMC space did you use for that PETAlinux? Also did you play with commands like sudo aup upgrade or install pip? asking since i wander how one can run a C script or a more linux type application
This is booting via JTAG. Booting from eMMC is actually quite a bit more involved. I'm making a 2nd revision of this board where I'm adding an SD card to showcase how you can load an image and boot from that. Regarding your other question, I successfully tried out running python3 on the Zynq & PetaLinux, which was pretty cool.
Great tutorial and keep up the good work. Just have one question, loading everything (fsbl, u-boot, kernel) consumes time since it is over jtag interface but once it is loaded why is it taking time to start the u-boot? Does it happen every time?
Thanks, Michael! Even after loading u-boot, it's still loading the kernel (there's an additional message in the loader) through JTAG. And yes, it does take this long every time I'm afraid, which means it's better to put the image on an SD card, eMMC, or QSPI flash.
Per project lol. This thing takes up an insane amount of space. And I struggle to see why sometim. I don't understand a lot of the yocto stuff, but I almost seems like recompiles a new sysroot per program. Of course I have no idea what I'm looking at so maybe that's not the case.
If your SoC is supported by mainline Linux kernel then you could wing it with OpenEmbedded/Yocto directly (or even start with simpler Buildroot), though experience in Embedded & BSP is recommended.
Question so FPGA is supposed to be faster than a GPU rtx4090 nvidia. So if I install petalinux on the FPGA & install Hashcat , I’m wondering if it would beat my RTX4090 for hash rate?
This particular Zynq chip doesn't support PCIe. But you could use some M2 "standard" with just USB and some other I/Os (or of course use a different Zynq).
This JTAG boot is very slow, and won't work properly in some of the cases. And if you are at the development phase, sd-card is the most efficient and fast way to boot Petalinux.
Amazing tutorial. It's very rare to find an advanced tutorial on petalinux with a personalized board bring up on the internet. Thank you Phil for occupying this niche.
Your engineering discipline is a huge source of inspiration for me and my team. Keep up the good work.
Thank you for watching, Muhammad - great to hear that!
Thanks Phil, your serie is amazing !
There's no other channel with this fine level of content like yours! Really looking foward to aquire your Hardware course and hopefully when you release the Software/Kernel/Programming one (what you have made with vivado ect...). Amazing work Phil, as always!
Thank you very much, I'm very glad to hear that!
One of my favorite series.
Thanks, Andrew!
This is so awesome! I had actually mentioned this in your survey!
Thank you!
First gave a thumbs up, then made a coffee, now watching the video. Everybody has different style of coffee break. Thanks Phil!
Haha thank you, Sencer - sounds like a good coffee "break" :)
Thanks for the excellent tutorial series. Best Znyq video I saw especially for a custom design. Keep going.
Nice to see that the BSP is 'fairly' easy to create. That slow JTAG boot reminds me of booting Sun3 workstations from tape 35 yrs ago. Cross your fingers and wait. Thanks for the video.
thank you phil! you are the king .
I could not catch you for digesting such rich contents :)
Thank you very much, Mustafa :)
This brings back all the pain from the bleeding edge ~10y ago.
Oh no :(
Awesome video, keep these up, love them!
Thank you!
Always looking for your videos.... Educational videos... Thanks for your efforts...
Thanks for your support, Sagar :)
I actually bought a mini-pc based on a 5900hx 8 core cpu specifically to run Linux and I found that the whole Vivado/Vitis tool toolchain works better on Linux than on Windows. Initially I was using that mini-pc just for Petalinux, but now I moved my whole FPGA development there as it seems more stable and faster, despite inferior cpu (my main desktop has 5950x). Now only Altium holds me on a Windows platform.
Amazing Phil! Would love to see some RISC-V work too.
Thanks, Pratik - haven't done much with RISC-V so far but will look into it.
@@PhilsLab I work with a RISC -V firm as my full time. Its one of the founding member of RISC-V writing the computing if tomorrow. If you want we can collaborate.
@@PhilsLab Litex! Litex! Litex!
What a coincidence!!!!
I started Hardware Design and kept following your videos.
I moved on to FPGA development and lucky enough to have got your videos as a bonus. Awesome
Please move towards RISCV and Embedded Computing if it's among your interests. It's an amazing domain.
I like the way they've set it up so it generates device trees from the xsa file. Very neat.
I agree!
thanks for sharing, adding or bringin up some GUI over HDMI or LCD would be highly appreciated
I am yet to watch the other videos. I am curious as to when your course is going to be live. Congrats on the #100th video.
Thanks, Sai! Course will be around mid this year - there's quite a lot of content that I'm packing in.
Amazing tutorial. Part 6??
i love it, thank you for your work!
Thanks, Oleksiy!
Phil , thank very much for the video , im looking forward for the High speed design course, when its expected to be ready to pay asap :)
Thanks, Juan - still working on the course! :)
@@PhilsLab thank you!, I'll be waiting for it
You should've incorporated iperf3, coremark and hdparm for speed testing. They don't require C++ unlike p7zip AFAIK (and other optional for embedded distros things like wchar and pthreads), and come with minimal dependencies.
phenomenal!!
Thank you!
Hey there, awesome video! If i'm not mistaken there are two cortex A9 on the zynq and it's possible to run petalinux on one and a baremetal application on the other. The documentation for the device tree setup is rather poor. Do you have any experience on this ?
Thanks! I'm afraid I don't have any experience with that type of set-up.
Nothing in the Xilinx docs? I cannot believe they leave it up to the user to figure it out
Did pcb way also populate your board with components?
too much helpful tutorial for beginners.
Great instruction video, thanks!
It seems that Petalinux is based on Yocto, the terminal output looks very familiar.
Thanks, Martin - yes, it is in fact based on Yocto.
How much eMMC space did you use for that PETAlinux?
Also did you play with commands like sudo aup upgrade or install pip?
asking since i wander how one can run a C script or a more linux type application
This is booting via JTAG. Booting from eMMC is actually quite a bit more involved. I'm making a 2nd revision of this board where I'm adding an SD card to showcase how you can load an image and boot from that.
Regarding your other question, I successfully tried out running python3 on the Zynq & PetaLinux, which was pretty cool.
@@PhilsLab NICE
Where can I get this Board just the way it is.
what command should I use to run the install_drivers script ?
Great tutorial and keep up the good work.
Just have one question, loading everything (fsbl, u-boot, kernel) consumes time since it is over jtag interface but once it is loaded why is it taking time to start the u-boot? Does it happen every time?
Thanks, Michael!
Even after loading u-boot, it's still loading the kernel (there's an additional message in the loader) through JTAG. And yes, it does take this long every time I'm afraid, which means it's better to put the image on an SD card, eMMC, or QSPI flash.
Tip to anyone doing this: leave ~ 40Gb free space for petalinux
Per project lol. This thing takes up an insane amount of space. And I struggle to see why sometim. I don't understand a lot of the yocto stuff, but I almost seems like recompiles a new sysroot per program. Of course I have no idea what I'm looking at so maybe that's not the case.
Hello.. Phil , how to extract these (petalinux-v2022.2-10141622-installer.run)_file ..?
Also, lets say i dont have these xilinx bring up tools like these IDE's will it be possible to bring up a system just by datasheets from scratch?
Possibly - but that's a serious amount of work, which I wouldn't recommend unless you have specific reasons to do so.
If your SoC is supported by mainline Linux kernel then you could wing it with OpenEmbedded/Yocto directly (or even start with simpler Buildroot), though experience in Embedded & BSP is recommended.
@@ALTracer Yeah, Port stuff using reference boards and SoC. That's how i play.
Hardware is similar can it run NI myrio firmware ?
Thank you for the tutorial! can you make a tutorial about XADC?
There are XADC tutorials out there.
Could this be used as a starting point for an SDR radio ala Radioberry??
Yep!
you are the best.!!
Thanks, Diego!
Do you recommend any fpga embedded Linux development boards??
Check out the boards by Digilent if you're into SoCs. Otherwise, something with NXP i.MX may be a good alternative.
Question so FPGA is supposed to be faster than a GPU rtx4090 nvidia. So if I install petalinux on the FPGA & install Hashcat , I’m wondering if it would beat my RTX4090 for hash rate?
supposed?
Would it be hard to add an M.2 slot on this board?
This particular Zynq chip doesn't support PCIe. But you could use some M2 "standard" with just USB and some other I/Os (or of course use a different Zynq).
Мега круто, вот бы ещё на эту штуку QNX натянуть, 10 гироскопов на чипе и можно БУ для ракеты получить.
This JTAG boot is very slow, and won't work properly in some of the cases. And if you are at the development phase, sd-card is the most efficient and fast way to boot Petalinux.
My English is poor, so I borrow a translator and thank you very much
Thanks for watching!
Is this FPGA chip expensive?
I got them for about 25 USD a piece. They're usually two-to-three times that in small quantities.
that's one sexy pcb
Just like yocto
Yes, it's built on top of Yocto.