From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 045E84C804FF for ; Tue, 26 Apr 2011 00:39:51 -0500 (CDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p3Q5dp7e024510 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 25 Apr 2011 22:39:51 -0700 (PDT) Received: from [128.224.163.157] (128.224.163.157) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.1.255.0; Mon, 25 Apr 2011 22:39:50 -0700 Message-ID: <4DB65AB6.4040208@windriver.com> Date: Tue, 26 Apr 2011 13:40:06 +0800 From: Kang Kai User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Hatle, Mark" References: <4DB0F192.6020809@windriver.com> <4DB620F5.3010709@windriver.com> In-Reply-To: <4DB620F5.3010709@windriver.com> X-Originating-IP: [128.224.163.157] Cc: poky@yoctoproject.org Subject: Re: About minimal image X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 05:39:52 -0000 Content-Type: multipart/alternative; boundary="------------060505090105050102030403" --------------060505090105050102030403 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi Mark, > I have read your mail about minimal image posted on Feb 19 on this > mail list. We try to reduce image size by what your said: > > 1. eglic configurability > 2. using mklibs > > > Right now after migrate eglic configurability to my local yocto > branch, and I only enable 4 options ("locale-code nsswitch rtld-debug > posix-clang-wchar ", pls. check in attachment) of eglibc just to make > compile pass. > > When after create minimal image, the rootfs (tar.bz2) is still about > 3.4M, same size as without adding configurability to eglibc. > > Could you give me some directions what should we do in next step? We > also hope some information about how to use mklibs to reduce packages > and image size? After open MKLIBS_OPTIMIZED_IMAGES ?= "core-image-minimal" in local.conf, the minimal image decrease from 3.4M to 3.1M, after extraction is 8.1M( vs. 8.4M before using mklibs). It looks like not so efficient as we expected. Should I try to reduce busybox size at same time?Such as remove some not so usually used commands by configurations? Any suggestion or guild will be appreciate! Thanks and Regards, Kai > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky --------------060505090105050102030403 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi Mark,

I have read your mail about minimal image posted on Feb 19 on this mail list.  We try to reduce image size by what your said:

  1. eglic configurability
  2. using mklibs

Right now after migrate eglic configurability to my local yocto branch, and I only enable 4 options ("locale-code nsswitch rtld-debug posix-clang-wchar ", pls. check in attachment) of eglibc just to make compile pass.

When after create minimal image, the rootfs (tar.bz2) is still about 3.4M, same size as without adding  configurability to eglibc.

Could you give me some directions what should we do in next step? We also hope some information about how to use mklibs to reduce packages and image size?
After open MKLIBS_OPTIMIZED_IMAGES ?= "core-image-minimal" in local.conf, the minimal image decrease from 3.4M to 3.1M, after extraction is 8.1M( vs. 8.4M before using mklibs). It looks like not so efficient as we expected.

Should I try to reduce busybox size at same time?Such as remove some not so usually used commands by configurations?

Any suggestion or guild will be appreciate!

Thanks and Regards,
Kai

_______________________________________________ poky mailing list poky@yoctoproject.org https://lists.yoctoproject.org/listinfo/poky

--------------060505090105050102030403--