Tutorial

Hardware platform

.xsa or .hdf file

system configuration menu

import:

petalinux-config --get-hw-description <>

Building petalinux image

petalinux-build

↳ /images/linux/built images and /tftpboot/copy of built images

rootfs.cpio.gz.u-boot is a RAM disk image, image.ub is a FIT image, Image is a kernel image

Generate boot image

 petalinux-package --boot --u-boot

↳ images/linux/BOOT.BIN (FSBL. Bitstream, UBoot)

UBoot + FIT image (Root file system, dtb, image) → Linux !

Optimization

Packaging prebuilt image

You want to share petalinux image !

petalinux-package --prebuilt --fpga <FPGA bitstream>

BSP packaging

You want to ship the project b/w team and customer !

petalinux-package --bsp -p <plnx-proj-root> --output MY.BSP

Booting prebuilt image

will overwrite all settings