Ubuntu 24.04 LTS support

I read that 20.04 LTS (Focal Fossa) has end of line Apr 2025.

Can we use Ubuntu 24.04 LTS to compile and run PYNQ ?

It is very strange that for building the SD card PYNQ image the following 18.04 and 20.04 are supported and not 22.04 or 24.04.

https://pynq.readthedocs.io/en/latest/pynq_sd_card.html#building-the-image

|Ubuntu 18.04|Bionic|
|Ubuntu 20.04|Focal|

Ubuntu 18.04 has end of line already on May 2023.

Just adding that the culprit is mostly PetaLinux which PYNQ is built upon, it only works on certain versions of host Linux. The lastest release is using PetaLinux 2022.1. When the PYNQ team completes the next release, this should enable at least Ubuntu 22 LTS, possibly 24 LTS.

In the meantime since PYNQ is open source, in theory with effort it is possible to build it with newer versions of the AMD tools. UG1144 documents the host OS requirements for PetaLinux. This points to 2024.2 but you can select other versions: AMD Technical Information Portal

Of course you also have to use the same version of Vivado to at least generate the first PetaLinux image as well; Vivado is a little more forgiving with respect to host OS and has its own requirements. It’s often the Vivado installer itself that has issues. The details of host OS for Vivado 2024.2 can be found here: AMD Technical Information Portal

The question is which version of Ubuntu has to be used in order to build PYNQ image.

According to the link below only

Ubuntu 18.04 Bionic and Ubuntu 20.04 Focal are supported.

https://pynq.readthedocs.io/en/latest/pynq_sd_card.html#building-the-image

This is really confusing.

When will Ubuntu 22.04 will be supported to build PYNQ SD card image.

Do we still need to work with Ubuntu 20.04 according the link mentioned earlier.

Any comment on this please ?

At the moment only the OS mentioned in the documentation are supported to build the SD card. There’s ongoing work to support actively maintained OSes.

Hi, Have you considered creating a virtual machine to run Ubuntu 20 LTS and setup a PYNQ build environment? With Window’s Hyper V it is easy to setup an Ubuntu VM. Linux as well can host VMs. There is a Vagrant file in the root of the pynq github for setting up an Ubuntu 18 LTS VM, but I haven’t personally used it since a few PYNQ releases ago.

Kind regards

1 Like