1*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO 2*4882a593Smuzhiyun bool "cpio the root filesystem (for use as an initial RAM filesystem)" 3*4882a593Smuzhiyun help 4*4882a593Smuzhiyun Build a cpio archive of the root filesystem. This is typically 5*4882a593Smuzhiyun used for an initial RAM filesystem that is passed to the 6*4882a593Smuzhiyun kernel by the bootloader. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyunif BR2_TARGET_ROOTFS_CPIO 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunchoice 11*4882a593Smuzhiyun prompt "Compression method" 12*4882a593Smuzhiyun default BR2_TARGET_ROOTFS_CPIO_NONE 13*4882a593Smuzhiyun help 14*4882a593Smuzhiyun Select compressor for cpio filesystem of the root filesystem. 15*4882a593Smuzhiyun If you use the cpio archive as an initial RAM filesystem, make 16*4882a593Smuzhiyun sure the kernel contains the decompression algorithm selected 17*4882a593Smuzhiyun here. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_NONE 20*4882a593Smuzhiyun bool "no compression" 21*4882a593Smuzhiyun help 22*4882a593Smuzhiyun Do not compress the cpio filesystem. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_GZIP 25*4882a593Smuzhiyun bool "gzip" 26*4882a593Smuzhiyun help 27*4882a593Smuzhiyun Do compress the cpio filesystem with gzip. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_BZIP2 30*4882a593Smuzhiyun bool "bzip2" 31*4882a593Smuzhiyun help 32*4882a593Smuzhiyun Do compress the cpio filesystem with bzip2. 33*4882a593Smuzhiyun 34*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_LZ4 35*4882a593Smuzhiyun bool "lz4" 36*4882a593Smuzhiyun help 37*4882a593Smuzhiyun Do compress the cpio filesystem with lz4. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_LZMA 40*4882a593Smuzhiyun bool "lzma" 41*4882a593Smuzhiyun help 42*4882a593Smuzhiyun Do compress the cpio filesystem with lzma. 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_LZO 45*4882a593Smuzhiyun bool "lzo" 46*4882a593Smuzhiyun help 47*4882a593Smuzhiyun Do compress the cpio filesystem with lzop. 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_XZ 50*4882a593Smuzhiyun bool "xz" 51*4882a593Smuzhiyun help 52*4882a593Smuzhiyun Do compress the cpio filesystem with xz. 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_ZSTD 55*4882a593Smuzhiyun bool "zstd" 56*4882a593Smuzhiyun help 57*4882a593Smuzhiyun Do compress the cpio filesystem with zstd. 58*4882a593Smuzhiyun 59*4882a593Smuzhiyunendchoice 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_CPIO_UIMAGE 62*4882a593Smuzhiyun bool "Create U-Boot image of the root filesystem" 63*4882a593Smuzhiyun select BR2_PACKAGE_HOST_UBOOT_TOOLS 64*4882a593Smuzhiyun help 65*4882a593Smuzhiyun Add a U-Boot header to the cpio root filesystem. This allows 66*4882a593Smuzhiyun the initramfs to be loaded with the bootm command in U-Boot. 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun The U-Boot image will be called rootfs.cpio.uboot 69*4882a593Smuzhiyun 70*4882a593Smuzhiyunendif # BR2_TARGET_ROOTFS_CPIO 71