Jump to content

kernel lzma xz zlo missing


hyphop

Recommended Posts

Armbian & Khadas are rewarding contributors

Hello why only gzip ?  make all compression available not gzip only !! 

 

CONFIG_KERNEL_GZIP=y

# CONFIG_KERNEL_LZMA is not set

# CONFIG_KERNEL_XZ is not set

# CONFIG_KERNEL_LZO is not set

 

 

Why?

 

Otherwise, check this.

Link to comment
Share on other sites

Hello why only gzip ?  make all compression available not gzip only !! 

 

CONFIG_KERNEL_GZIP=y

# CONFIG_KERNEL_LZMA is not set

# CONFIG_KERNEL_XZ is not set

# CONFIG_KERNEL_LZO is not set

It's a choice, only one option can be selected. Please read kernel documentation first before making assumptions about meaning of kernel options

	prompt "Kernel compression mode"
	default KERNEL_GZIP
	depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4
	help
	  The linux kernel is a kind of self-extracting executable.
	  Several compression algorithms are available, which differ
	  in efficiency, compression and decompression speed.
	  Compression speed is only relevant when building a kernel.
	  Decompression speed is relevant at each boot.

	  If you have any problems with bzip2 or lzma compressed
	  kernels, mail me (Alain Knaff) <alain@knaff.lu>. (An older
	  version of this functionality (bzip2 only), for 2.4, was
	  supplied by Christian Ludwig)

	  High compression options are mostly useful for users, who
	  are low on disk space (embedded systems), but for whom ram
	  size matters less.

	  If in doubt, select 'gzip'
Link to comment
Share on other sites

OK sorry i have made mistake

 

i need compression for initrd not for kernel ( yes its different options )

CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set

for example ubuntu kernel config have all enabled options and we can select  any  compression for initrd

CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y

PS ! why not use CONFIG_KERNEL_LZO=y for kernel ? useful for embedded systems like openwrt

Link to comment
Share on other sites

Initrd compression options added: https://github.com/igorpecovnik/lib/commit/df88abadb1dab480c626572fa4eaf87a94a69379

 

PS ! why not use CONFIG_KERNEL_LZO=y for kernel ? useful for embedded systems like openwrt

Useful for OpenWRT where minimum storage requirement is 4MB (a normal size of SPI flash on a cheap router like TL-MR3020. For systems where SD/eMMC is the main storage a couple of megabytes won't save the day, so we stick to the default compression option.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines