petalinux-package --wic Command Options - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.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 is 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 is 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 adaptive SoC: 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