All of lore.kernel.org
 help / color / mirror / Atom feed
* Generating slightly different images for different IMAGE_FSTYPES
@ 2010-02-26 16:39 Martin Jansa
  2010-02-26 16:39 ` [PATCH] om-gta01: remove /boot directory from jffs2/ubi/ubifs images Martin Jansa
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Martin Jansa @ 2010-02-26 16:39 UTC (permalink / raw)
  To: openembedded-devel

Hi,

on om-gta01 we had problem that even our minimal image
shr-lite-image is too big for its 64MB NAND chip

We're slowly stripping packages not really needed, but it would be 
nice to remove whole /boot with kernel-image.

Problem is that when we're booting on gta01, than /boot/uImage is used so 
it should be installed in .tar.gz image. But when booting from NAND, then
kernel is usually in different NAND partition and /boot on rootfs partition
is useless.

In patch is what I used now to generate images like this, but it's not optimal at all
1) It copies whole rootfs 3 times if you have all jffs2/ubi/ubifs in FSTYPES, 
   instead just once for -no-boot version (it's possible ie if we expect certain order 
   of making FSTYPES or prepare -no-boot always with normal rootfs and don't remove it
2) task-base still depends on kernel-image and I don't see how to easily remove that 
   dependency, without defining different image recipe and building it separately. 
   So with next kernel upgrade user will get new kernel-image which will probably fail
   to install because of lack of space.

Is there better way to solve it or should we try harder to save space somewhere else?




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-02-26 19:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 16:39 Generating slightly different images for different IMAGE_FSTYPES Martin Jansa
2010-02-26 16:39 ` [PATCH] om-gta01: remove /boot directory from jffs2/ubi/ubifs images Martin Jansa
2010-02-26 16:54 ` Generating slightly different images for different IMAGE_FSTYPES Marcin Juszkiewicz
2010-02-26 17:07   ` Tom Rini
2010-02-26 17:14     ` Martin Jansa
2010-02-26 17:20       ` Tom Rini
2010-02-26 17:32         ` Martin Jansa
2010-02-26 18:48     ` Denys Dmytriyenko
2010-02-26 19:07       ` Martin Jansa
2010-02-26 17:11   ` Martin Jansa
2010-02-26 17:18 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.