On 04/25/2012 06:12 AM, Gustavo Sverzut Barbieri wrote:
2012/4/24 Ezequiel Garc�a<elezegar...@gmail.com>:
Hi,
2012/4/24 Gustavo Sverzut Barbieri<barbi...@profusion.mobi>:
It seems Linux is not aiming that low after all, however a little
effort to try to un-bloat the current
state of things can't hurt, right?
Do you know the state of uCLinux, when those options are enabled it
should be better, no? Or 1.5Mb is with such options?
To avoid confusion: uclinux is basically a linux distribution; it is
made of a linux kernel and a filesystem.
The kernel included in latest uclinux distribution file is 3.x series,
and it is pretty much equally to a vanilla
kernel (as compiled from git).
Yes, to my understanding ucLinux was merged into vanilla Linux during
2.6 development, but it was the options hidden under a global flag.
These flags would enable remove MMU and other parts. Confirm?
There doesn't end up being all that much that is hidden really.
The bulk of the code is the same (which is idea really). Of course
the page table management code is not required, but outside of that
almost everything else is the same.
So, when compiling for m68k (coldfire) with just the bare minimum
options enabled: block layer, console drivers,
romfs, I got a 1.5 MB kernel. I was shocked by the bigness of the
number, but it doesn't seem to be easily
reduced.
And we are not even talking about dynamic footprint, or filesystem requirements!
Ouch, too much indeed :-(
Yeah, on any modern kernel version running with or without MMU enabled
doesn't add up to a huge amount of binary size difference for the same
basic set of config options.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: g...@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close, FAX: +61 7 3891 3630
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
_______________________________________________
Celinux-dev mailing list
Celinux-dev@lists.celinuxforum.org
https://lists.celinuxforum.org/mailman/listinfo/celinux-dev