Customizing PYNQ for Pynq-Z1

Hello Pynq support,

I am adding my PYNQ-Z1 with KSZ8863 Ethernet PHY Daughter Board ( using the PYNQ image v2.5.4. I edited the base.tcl (adding MII to RMII IP and changing some pins). For the Linux driver ( of the KSZ8863, I don’t know how to add it in when building the PYNQ image. I also could not found any guide on this. Can you give me any advices?

Thanks and best regards,
Duy Tran

Kernel module has to be compiled with kernel source. You can find kernel source headers on your board by extracting /kernel.tgz

Hi @rock,
So this step I have to do it manually?

hi @rock,

I have an small question, there are various .tcl build projects which lead to various .dsa or (hdf) files. Does the PYNQ build script will combine them all to make the .bsp file or just use the .dsa of the base.tcl?

Thanks and best regards,

dsa files are renamed in Xilinx tools to xsa files. XSA file is the starting point of a petalinux bsp. PYNQ sdbuild uses the official bsp directly to build SD card images. Other XSA files generated in hardware projects will be just treated as byproducts - they are useful for vitis platform generation.

1 Like

I just spent time reading the build scripts and I understand now. Thanks.