On Sunday, September 26th, 2021 at 14:39, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Sun, Sep 26, 2021 at 11:31:20AM +0000, Jari Ruusu wrote:
Due to circumstances, I need "smallest possible" kernel with all extra stripped out. 4.9.y kernels are smaller than newer ones.
Smaller by how much, and what portion grew? Are we building things into the kernel that previously was able to be compiled out? Or is there something new added after 4.9 that adds a huge memory increase?
Byte sizes of different kernels for my laptop. Everything needed built-in, except for wifi modules. Same compiler, roughly same kernel configs:
6906816 vmlinuz-4.9.284 7603200 vmlinuz-4.19.208 8306752 vmlinuz-5.10.69
Figuring that out would be good as you only have 1 more year for 4.9.y to be alive, that's not going to last for forever...
I will deal with that when 4.9.y updates run dry, or when Raspbian userland starts requiring newer kernel.
-- Jari Ruusu 4096R/8132F189 12D6 4C3A DCDA 0AA4 27BD ACDF F073 3C80 8132 F189