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