Difference between revisions of "Linux Tiny"

From eLinux.org
Jump to: navigation, search
(Updated resources)
 
(7 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
Patch releases against the mainstream Linux kernel have been discontinued. Instead of spending a valuable amount of time carrying patches forward
 
Patch releases against the mainstream Linux kernel have been discontinued. Instead of spending a valuable amount of time carrying patches forward
 
from one kernel version to the next, we chose to focus on a few patches and spend our time trying to get them merged into the mainline kernel.
 
from one kernel version to the next, we chose to focus on a few patches and spend our time trying to get them merged into the mainline kernel.
 +
 +
Visit the [[Tiny-FAQ|FAQ]] for more information.
  
 
== Resources ==
 
== Resources ==
 +
=== Patches ===
 +
* Available on Gitorious ([https://gitorious.org/tinylab/tinylinux HTTP], [git://gitorious.org/tinylab/tinylinux.git GIT]). This repository is currently not maintained.
 +
 +
=== Mailing Lists ===
 +
* [http://selenic.com/pipermail/linux-tiny/ Archive of linux-tiny]
  
* Project mailing list: [http://selenic.com/mailman/listinfo/linux-tiny Mailing List], [http://selenic.com/pipermail/linux-tiny/ archives]
+
=== Presentations ===
 
* Kernel Size Report presentation by Matt Mackall at Embedded Linux Conference in April 2008. [http://free-electrons.com/pub/video/2008/elc/elc2008-matt-mackall-kernel-size.ogg Video] is available.
 
* Kernel Size Report presentation by Matt Mackall at Embedded Linux Conference in April 2008. [http://free-electrons.com/pub/video/2008/elc/elc2008-matt-mackall-kernel-size.ogg Video] is available.
 
* [http://free-electrons.com/pub/conferences/2008/elc/linux-tiny.pdf Linux-tiny presentation] by Thomas Petazzoni ([http://free-electrons.com Free Electrons]) at Embedded Linux Conference in April 2008. [http://free-electrons.com/pub/video/2008/elc/elc2008-thomas-petazzoni-linux-tiny.ogg Video] is available.
 
* [http://free-electrons.com/pub/conferences/2008/elc/linux-tiny.pdf Linux-tiny presentation] by Thomas Petazzoni ([http://free-electrons.com Free Electrons]) at Embedded Linux Conference in April 2008. [http://free-electrons.com/pub/video/2008/elc/elc2008-thomas-petazzoni-linux-tiny.ogg Video] is available.
Line 15: Line 22:
 
* {{pdf|Linux-tiny-revival-jamboree16.pdf|Linux-tiny revival}} presentation given by Tim Bird at the Japan Technical Jamboree #16 in August 2007
 
* {{pdf|Linux-tiny-revival-jamboree16.pdf|Linux-tiny revival}} presentation given by Tim Bird at the Japan Technical Jamboree #16 in August 2007
 
* [http://tree.celinuxforum.org/CelfPubWiki/TechConference2005Docs?action=AttachFile&do=get&target=linux-tiny.pdf Linux-tiny Presentation] by Matt Mackall, delivered at CELF's Technical Conference in April 2005.
 
* [http://tree.celinuxforum.org/CelfPubWiki/TechConference2005Docs?action=AttachFile&do=get&target=linux-tiny.pdf Linux-tiny Presentation] by Matt Mackall, delivered at CELF's Technical Conference in April 2005.
* Original project home page: [http://www.selenic.com/tiny-about/ Linux Tiny]
 
  
 
== News ==
 
== News ==
* A new LWN.net article is at: [http://lwn.net/Articles/251573/ LWN Article (Sep 2007), By Jake Edge]
+
* A LWN.net article is at: [http://lwn.net/Articles/251573/ LWN Article (Sep 2007), By Jake Edge]
 
* Michael Opdenacker was announced as the new maintainer.
 
* Michael Opdenacker was announced as the new maintainer.
 
** See the [http://lkml.org/lkml/2007/9/19/342 project revival message to the kernel mailing list]
 
** See the [http://lkml.org/lkml/2007/9/19/342 project revival message to the kernel mailing list]
Line 68: Line 74:
 
== Test Project and Results ==
 
== Test Project and Results ==
 
There is a test for Linux-tiny (and kernel configuration option results, in general).
 
There is a test for Linux-tiny (and kernel configuration option results, in general).
Some test results from this test are available from the CE Linux Forum test lab, at:
+
Some test results from this test were previously available from the CE Linux Forum test lab, at:
http://testlab.celinuxforum.org/otlwiki/ConfigSizeTestResults
+
http://testlab.celinuxforum.org/otlwiki/ConfigSizeTestResults (link is now broken).
  
 
The CELF System Size working group has worked extensively with the Linux-tiny patch set. There is a script
 
The CELF System Size working group has worked extensively with the Linux-tiny patch set. There is a script
Line 96: Line 102:
  
 
Note that currently, the smallest kernel that is reported in this thread is 197K compressed.
 
Note that currently, the smallest kernel that is reported in this thread is 197K compressed.
 +
 +
 +
[[Category:Linux Tiny]]

Latest revision as of 12:56, 13 July 2014

Introduction

The goal of the linux-tiny project is to reduce the memory and disk footprint of the mainstream Linux kernel, as well as to add features to aid working on small systems. Target users are developers of embedded system and users of small or legacy machines such as 386s and handheld devices.

Patch releases against the mainstream Linux kernel have been discontinued. Instead of spending a valuable amount of time carrying patches forward from one kernel version to the next, we chose to focus on a few patches and spend our time trying to get them merged into the mainline kernel.

Visit the FAQ for more information.

Resources

Patches

  • Available on Gitorious (HTTP, GIT). This repository is currently not maintained.

Mailing Lists

Presentations

News

Old patch releases

Old release downloads

Installation Instructions

These instructions were for the Linux-tiny release for 2.6.23. Adjust accordingly for a different kernel version.

To apply the above patches, you need the referenced kernel (2.6.23) and quilt (overview). Follow these steps:

 $ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
 $ tar -xjf linux-2.6.23.tar.bz2
 $ wget http://elinux.org/images/3/3c/Tiny-quilt-2.6.23-0.tar.bz2
 $ cd linux-2.6.23
 $ tar -xjf ../Tiny-quilt-2.6.23-0.tar.bz2
 $ quilt push -a
 $ cd ..
 $ mv linux-2.6.23 linux-2.6.23-tiny1

Auxiliary tools (for Linux-tiny developers)

Here is a short shell script for making a tiny-quilt release: Media:release-tiny

How to use

In the Kernel Size Tuning Guide, there is a lot of information about how to measure kernel size, and how to use the kernel patches and configuration items provided by Linux-tiny.


Test Project and Results

There is a test for Linux-tiny (and kernel configuration option results, in general). Some test results from this test were previously available from the CE Linux Forum test lab, at: http://testlab.celinuxforum.org/otlwiki/ConfigSizeTestResults (link is now broken).

The CELF System Size working group has worked extensively with the Linux-tiny patch set. There is a script to produce a report of size reductions for the individual patches in the patchset, and results from various vendors about their use of Linux-tiny. See Linux Tiny Test Project

Old usage notes

There are some miscellaneous usage notes at: Linux Tiny Notes

Ideas and patch candidates

See Linux Tiny Patch Ideas


Original Announcements and e-mail

The original (Dec 11, 2003) announcement about the patchset, to the kernel mailing list, is available here:

Here are some other announcements from Matt Mackall to LKML:

Recent discussion thread on lkml is summarized at: LKML Thread Summary. The thread is available at here.

Note that currently, the smallest kernel that is reported in this thread is 197K compressed.