<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot-novena/fs/initramfs, branch master</title>
<subtitle>build system for the novena open hardware laptop board</subtitle>
<id>https://git.bnewbold.net/buildroot-novena/atom?h=master</id>
<link rel='self' href='https://git.bnewbold.net/buildroot-novena/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/'/>
<updated>2013-07-08T12:50:31Z</updated>
<entry>
<title>linux: Do not force GZIP initramfs compression</title>
<updated>2013-07-08T12:50:31Z</updated>
<author>
<name>Valentine Barshak</name>
<email>gvaxon@gmail.com</email>
</author>
<published>2012-10-09T23:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=391c82efa14d6db253f42616d970dacbe826b7d5'/>
<id>urn:sha1:391c82efa14d6db253f42616d970dacbe826b7d5</id>
<content type='text'>
Initramfs compression does not make much sense for the architectures
that support compressed kernel images because in this case the data
would be compressed twice. This will eventually result in a bigger
kernel image and time overhead when uncompressing it.
The only reason to use compressed initramfs is to reduce memory
usage when the kernel prepares rootfs, and both the unpacked
filesystem and initramfs.cpio are present in the memory.

Buildroot attempts to force GZIP compression for initramfs,
however it doesn't always work because initramfs compression mode
depends on RAM disk compression supported by the kernel.
Thus, CONFIG_INITRAMFS_COMPRESSION_GZIP depends on CONFIG_RD_GZIP.
If CONFIG_RD_GZIP is not set, setting GZIP initramfs compression
will have no effect.

Besides, the kernel also supports other compression methods,
like BZIP2, LZMA, XZ and LZO. Forcing the good old GZIP does not
really make much sense any more.

This removes initramfs compression settings from Buildroot,
so that the default value preset in the kernel config is used,
which is CONFIG_INITRAMFS_COMPRESSION_NONE.

If initramfs compression is still needed, it can be set
in the kernel config (using make linux-menuconfig)

Signed-off-by: Valentine Barshak &lt;gvaxon@gmail.com&gt;
Acked-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Normalize separator size to 80</title>
<updated>2013-06-07T08:54:54Z</updated>
<author>
<name>Jerzy Grzegorek</name>
<email>jerzy.grzegorek@trzebnica.net</email>
</author>
<published>2013-06-06T21:54:13Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=086f333f39cdbc0762917272e4c9bb87344fb51a'/>
<id>urn:sha1:086f333f39cdbc0762917272e4c9bb87344fb51a</id>
<content type='text'>
Signed-off-by: Jerzy Grzegorek &lt;jerzy.grzegorek@trzebnica.net&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>cpio/initramfs: clarify their use in the help text</title>
<updated>2012-11-07T10:48:13Z</updated>
<author>
<name>Arnout Vandecappelle</name>
<email>arnout@mind.be</email>
</author>
<published>2012-11-06T13:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=7e61918f9d5d3c5bc1fb435ae9e6c8013cf5ab07'/>
<id>urn:sha1:7e61918f9d5d3c5bc1fb435ae9e6c8013cf5ab07</id>
<content type='text'>
Recent mails on the list show that it is not very clear how to create
an initial RAM fs with buildroot.  So make this more explicit in the
cpio and initramfs help texts.  Hopefully this will reduce the /init
debugging we have to do.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>fs/initramfs: refactor with fs/cpio</title>
<updated>2011-09-27T20:46:00Z</updated>
<author>
<name>Arnout Vandecappelle (Essensium/Mind)</name>
<email>arnout@mind.be</email>
</author>
<published>2011-09-06T21:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=13a3afc536b845e8de8eea9b91bbc6e7430c4566'/>
<id>urn:sha1:13a3afc536b845e8de8eea9b91bbc6e7430c4566</id>
<content type='text'>
An initramfs is in fact the same as a cpio archive, but embedded in
the kernel.  So instead of duplicating the cpio infrastructure,
we can simply build images/rootfs.cpio and link that into the
kernel.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs/init: make sure that 0, 1, 2 fds are available</title>
<updated>2011-08-04T19:52:21Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2011-08-04T19:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=10a130f91e5b947e2d2558443ff09b1686eac273'/>
<id>urn:sha1:10a130f91e5b947e2d2558443ff09b1686eac273</id>
<content type='text'>
As the kernel doesn't automatically mount devtmpfs when an initramfs
is used, commit 424888e47431db738f5f9b3c6392435bfce7a842 has
introduced a small wrapper script that mounts devtmpfs before starting
the real init.

Unfortunately, the problem is that in this case, the init process runs
without any 0, 1 and 2 file descriptors, so none of the
messages/errors printed by the various initialization scripts can be
seen. This is due to the fact the init process relies on 0, 1 and 2
being opened by the kernel before init is started. However, as
/dev/console isn't present on the filesystem at the time the kernel
tries to open the console to create the 0, 1 and 2 file descriptors,
the kernel fails on this and prints the famous "Warning: unable to
open an initial console".

The proposed workaround is to actually open 0, 1 and 2 to /dev/console
in the wrapper script, right after mounting the devtmpfs filesystem,
and before starting the real init. The "Warning" from the kernel is
still shown, but at least the messages from the init scripts are
visible.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: fix boot with dynamic /dev</title>
<updated>2011-07-20T14:30:14Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-07-20T14:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=424888e47431db738f5f9b3c6392435bfce7a842'/>
<id>urn:sha1:424888e47431db738f5f9b3c6392435bfce7a842</id>
<content type='text'>
Devtmpfs (which is used by devtmpfs/mdev/udev options) doesn't get
automounted by the kernel when an initramfs is used, causing boot
failures when a dynamic /dev is used.

Fix it by adding a pre-init script to mount devtmpfs before running init.

Reported-by: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: fix init symlink creation</title>
<updated>2010-11-17T20:20:45Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-11-17T06:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=dde5b6830c7d53591cf7f52f9c433eed65c89f84'/>
<id>urn:sha1:dde5b6830c7d53591cf7f52f9c433eed65c89f84</id>
<content type='text'>
The -e test will dereference the symlink, so if there is no /bin/init,
we will constantly try to create the symlink.  So rather than error on
subsequent runs when the link exists, use the force flag to ln.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Remove INITRAMFS_TARGET variable</title>
<updated>2010-11-04T18:26:27Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-11-04T16:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=2e869a7c0508f3dda96ed69f79c79c89ea4e6a5d'/>
<id>urn:sha1:2e869a7c0508f3dda96ed69f79c79c89ea4e6a5d</id>
<content type='text'>
This used to be needed when the filesystem code was rewritten, but not
the Linux compilation code. Now that the Linux compilation code has
been rewritten, the mechanism to ensure that initramfs gets built
*before* the kernel so that it can be integrated is different, and
this INITRAMFS_TARGET variable is no longer used.

See f507921d391bb2578261a9e45c003e72302dc67a for details.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: Don't overwrite $(TARGET_DIR)/init if it exists</title>
<updated>2010-08-29T21:34:03Z</updated>
<author>
<name>Simon Pasch</name>
<email>fpasch@googlemail.com</email>
</author>
<published>2010-08-29T21:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=c4cdcc3680c5dc551fa563b2133ca83c55967495'/>
<id>urn:sha1:c4cdcc3680c5dc551fa563b2133ca83c55967495</id>
<content type='text'>
Closes #2443

Allow use of custom init scripts.

Signed-off-by: Simon Pasch &lt;fpasch@googlemail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: update help text</title>
<updated>2010-06-26T05:44:16Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-06-25T22:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=c2a44f158eedf40be3ab3bc3c76f61fe032d7b34'/>
<id>urn:sha1:c2a44f158eedf40be3ab3bc3c76f61fe032d7b34</id>
<content type='text'>
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
