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

Re: Linux 3.1-2-m68k config (was: Re: Linux 3.10-2-m68k FPU support)



On Sun, Oct 20, 2013 at 11:25 AM, Laurent Vivier <Laurent@vivier.eu> wrote:
> Le 20/10/2013 10:52, Geert Uytterhoeven a écrit :
>>
>> On Sat, Oct 19, 2013 at 6:13 PM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> [...]
>>
>>
>> Apart from that, (probably both) configs need more stripping in the common
>> part. I want to have bootable (i.e. < 4 MiB) defconfig kernels.
>>
> Moreover, a compressed kernel fitting on a floppy would be better : there is
> no USB port on this kind of machine, and the floppy is the easiest way to
> boot a kernel.
>
> Do you think it is possible ?

With a custom kerel, that should still be possible.
For a v3.12-rc6 mac_defconfig kernel, the figures are:

-rwxr-xr-x 1 geert geert 4873408 okt 20 11:31 /tmp/vmlinux*
-rwxr-xr-x 1 geert geert 2333743 okt 20 11:31 /tmp/vmlinux.gz*
-rwxr-xr-x 1 geert geert 2190667 okt 20 11:31 /tmp/vmlinux.bz2*
-rwxr-xr-x 1 geert geert 1802956 okt 20 11:31 /tmp/vmlinux.xz*

With some stripping, you should be able to fit (at least the xz version of)
the kernel on a floppy again.

> (With 2.2 kernel we were able to put kernel AND ramdisk on the SAME floppy
> !)

I know.

I even booted Linux with X and twm on an Amiga with 2 MiB chip RAM and
2 MiB Fast RAM (+ swap, of course). The uncompressed kernel fit
easily in 2 MiB.

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: