...
Change directory to <petalinux project>/xilinx-zcu102-2019.1 and enter the following command to build the image.ub and BOOT.BIN under the images/linux/ folder. These two files are the ones that will be copied to the BOOT partition of the SD card.
(cd /scratch/edt/xilinx-zcu102-2019.1)
(cd /scratch/edt/xilinx-zcu102-2019.1)
(Note: The GPIOs get assigned dynamically, so you may need to edit pl-power.c)
petalinux-build -c pl-power
petalinux-build -c rootfs
petalinux-build -c rootfs
...