[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: armel/marvell kernel size



On Wed, 2017-05-03 at 23:12 +0100, Ben Hutchings wrote:
> linux 4.11-1~exp1 FTBFS on armel.  I spent a little while modularising
> some things that were unnecessarily built-in, but the image size will
> still be very close to the current limit of 2 MiB.  If it grows beyond
> this we'll lose support for many QNAP models.

It's now (with 4.12.2-1~exp1) over 2 MiB; please look at this.

Ben.

> It should be possible to reduce the image size quite a bit by changing
> NAND drivers to modules.  I don't know if initramfs-tools is smart
> enough to include these drivers in the initramfs where needed.  It
> would certainly be necessary to add those drivers to the mtd-modules
> udeb.
> 
> It may also be possible to reduce the image size by modularising more
> cryptographic stuff.  The big piece there is cryptomgr
> (CONFIG_CRYPTO_MANAGER2), which is directly or indirectly selected by
> most other cryptographic options.  So this might be impossible.  It
> also might require changes to cryptsetup to get the right modules
> included in the initramfs.
> 
> I'm going to leave further decisions on the size limit and
> configuration to you.  If armel/marvell breaks again and stays broken
> then I'm going to have to disable it.
> 
> Ben.
> 
-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: