petalinux-package --wic Command Options - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-04-26
Version
2022.1 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, and ramdisk.cpio.gz

For Versal ACAP: BOOT.BIN, Image, boot.scr, and ramdisk.cpio.gz.u-boot

-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