Updated: Apr 1, 2021
In this post I attempted following this guide on newer version of Vivado. (and different FPGA)
Main differences between 2020.2 and 2019.1:
PetaLinux is not bundled with Vitis (it is installed separately through the same installer)
Xilinx SDK has been replaced with Vitis
Hardware Description File (.hdf) now has extension of .xsa. (Like previously it is generated when Export Hardware button is pressed in Vivado)
Vitis has slightly different names for everything
Following the guide
Following the guide I generated this block design (view the README): https://github.com/centennialsoftwaresolutions/vivado_tcl/tree/master/vivado_2020_2_tcl
I attempted this with 2019.1 version and it succeeded. (tcl here)
2020.2 however seems fine until you get to petalinux-build part.
petalinux-create -t project -n plnx_project --template microblaze cd plnx_project/ petalinux-config --get-hw-description /home/work/compile_guide/microblaze_32_linux/design_1_wrapper.xsa petalinux-build
I think PetaLinux is not pulling some configs from .xsa correctly - causing the build to fail.
Something to do with eth_get_dev_index.