petalinux-package --wic Command Options - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
Release Date
2020.2 English
Table 1. petalinux-package --wic Command Options
Options Functional Description Value Range Default Value
-w, --wks <WKS_FILE> Specify the wic file to be used to create partitions of SD card. None None
-o, --outdir <OUTPUT_DIR> Specify the output directory to create petalinux-sdimage.wic. None Default: <proot>/images/linux.
-i, --images-dir <IMAGES_DIR> Specify the images directory the boot files were located. None Default: <proot>/images/linux.
-c, --rootfs-file <ROOTFS_FILE> Specify the compressed root filesystem file that will be extracted into the /rootfs directory. None Default: <proot>/images/linux/rootfs.tar.gz

Supports only the tar.gz format.

-r, --rootfs-dir <ROOTFS_DIR> Specify the extracted root filesystem directory that will be copied to /rootfs directory. None None
-b, --bootfiles <BOOT_FILES> Specify boot files which should be copied into /boot directory. None Default boot files:

For Zynq-7000 devices: BOOT.BIN, uImage, boot.scr.

For Zynq UltraScale+ MPSoC: BOOT.BIN,Image, boot.scr

For Versal ACAP: BOOT.BIN, Image, boot.scr

-e, --extra-bootfiles <EXTRA_FILES> Specify extra boot files which should be copied into /boot directory. Make sure these are part of images directory. None None