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

Re: multi_defconfig (was Re: [PATCH 2/2] m68k/q40: Enable PC parallel port in defconfig)



On Tue, Jun 18, 2013 at 9:28 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
> Geert Uytterhoeven dixit:
>>and multi-platform defconfigs.
>
> How big is such a multi-platform image, and does it work
> on all of the platforms?

$ m68k-linux-gnu-size linux-m68k-*_defconfig/vmlinux
   text   data    bss    dec    hex filename
3647073 174348 163548 3984969 3cce49 linux-m68k-amiga_defconfig/vmlinux
3390566 135212 158708 3684486 383886 linux-m68k-apollo_defconfig/vmlinux
3610672 172528 160132 3943332 3c2ba4 linux-m68k-atari_defconfig/vmlinux
3368528 159320 152284 3680132 382784 linux-m68k-bvme6000_defconfig/vmlinux
3432064 146104 161844 3740012 39116c linux-m68k-hp300_defconfig/vmlinux
3598763 169316 170436 3938515 3c18d3 linux-m68k-mac_defconfig/vmlinux
4052618 221560 188076 4462254 4416ae linux-m68k-multi_defconfig/vmlinux
3244214 157608 150956 3552778 36360a linux-m68k-mvme147_defconfig/vmlinux
3368591 159392 151916 3679899 38269b linux-m68k-mvme16x_defconfig/vmlinux
3470782 149396 160076 3780254 39ae9e linux-m68k-q40_defconfig/vmlinux
3522875 161604 152884 3837363 3a8db3 linux-m68k-sun3_defconfig/vmlinux
3323866 166024 166700 3656590 37cb8e linux-m68k-sun3x_defconfig/vmlinux

Almost 4.5 MiB, i.e. too big for my ARAnyM:

| CPU: Double bus fault detected !
| CPU: Halting

Perhaps we can strip some options to get it under 4 MiB again. Even
the single-platform kernels are almost 4 MiB these days...

> Maybe we can replace all those Debian kernel flavours
> (amiga, atari, bvme*, mac, 2x mvme*) with one from that,
> enabling *much* faster building times, and put most of
> the modules into an initrd?

Indeed, or convert some builtins to modules in an initrd.
This does increase complexity if you want to roll your own
multi-platform kernels.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: