Dear team,
We are working on imx8qm-mek platform running on Android 9 automotive. I was going through menuconfig and i found that none of the compression methods are enabled :
HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4
I checked these configs and i found (n) to each of them.
What does this mean ?
How can change compression method ?
How can i use decompressed kernel instead of compressed one ?
Is it good idea to use decompressed kernel for boot time optimization ?
Request you to provide some light here.
已解决! 转到解答。
Hello Amit,
However This mean you can change the compressed method but we have not tested. you must use the compressed one.Although there is the popular misconception that the
bzprefix means that bzip2 compression is used [...], says the opposite of your theory: thebzinbzImagehas no relation tobzip2, andbzImagedoesn’t have to be compressed withbzip2. In fact, the kernel’s default compression mode is stillgzip, and there is little reason to usebzip2nowadays — it is slower than LZMA andxzbut doesn’t compress as well.
Hello Amit,
However This mean you can change the compressed method but we have not tested. you must use the compressed one.Although there is the popular misconception that the
bzprefix means that bzip2 compression is used [...], says the opposite of your theory: thebzinbzImagehas no relation tobzip2, andbzImagedoesn’t have to be compressed withbzip2. In fact, the kernel’s default compression mode is stillgzip, and there is little reason to usebzip2nowadays — it is slower than LZMA andxzbut doesn’t compress as well.
Thank you Bio_TICFSL for the explanation. I will check this out.