Re: [RFC][PATCH 0/1] ep93xx: clock: convert in-place

From: Linus Walleij
Date: Tue May 25 2021 - 06:19:46 EST


On Tue, May 25, 2021 at 10:36 AM Nikita Shubin
<nikita.shubin@xxxxxxxxxxx> wrote:

> text data bss dec hex filename
> 4491689 920748 92840 5505277 5400fd vmlinux
(...)
> text data bss dec hex filename
> 4534485 927424 90304 5552213 54b855 vmlinux

So IIUC that is 49472 bytes more text & data? ~48KB.

I think what really matters is the 2MB limit on compressed
kernel size, which I guess can be pushed a bit by
compressing the kernel with something violent like ZST but
ultimately what EP93xx might want to do is to do what
the other SoCs are doing for accommodating Android: move
out as many drivers as possible to be modules and
not compiled into the static kernel. Do we have candidates
for that? Are people normally using modules on EP93xx?

I am modernizing XScale IXP4xx and it doesn't suffer
from this as much: even the really ancient NSLU2 has
32MB of RAM.

Yours,
Linus Walleij