From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8CF36E008D3; Sat, 8 Nov 2014 20:27:14 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (xerofoify[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.213.176 listed in list.dnswl.org] Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3AA75E00876 for ; Sat, 8 Nov 2014 20:27:09 -0800 (PST) Received: by mail-ig0-f176.google.com with SMTP id l13so16195411iga.3 for ; Sat, 08 Nov 2014 20:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WtiTs4r8gciGK2c+M3J5xRzlu29d4jtSHqKBhLLEfm0=; b=o9uOc14GAunqveRN4ExVF9mDsKxtoDnx4vh8Yyu4WQLlzklsoBT0vRYBWrh7Dlqx4E PCtyEvbn+rUco2aI2h+dwXCaaAWamVnnikfFExUwDpZyPhEZP7UvFg6V3GnpRt8LYIFp HRecugbTD6joZbVRrrE4CHyB/TCRwJTN13hzdxClEVVjSGdjrdxMpG6Qys+9cu20tQXz xqiz+/8q0jYdbTav7pf9wq3/Efin6fsRkcNNX3Ad35U2FCOGITY8jOVNirmYN6UXGEhN b6rGuKoSAV0rxaN0cwAeJGp7Yg28ffFFLe2oe0dHfzePmpb7GxXwRX8I0cOsQzA0CXID gCQw== X-Received: by 10.50.114.97 with SMTP id jf1mr15493633igb.29.1415507228686; Sat, 08 Nov 2014 20:27:08 -0800 (PST) Received: from [192.168.0.50] (CPE0026f3330aca-CM0026f3330ac6.cpe.net.cable.rogers.com. [99.231.92.7]) by mx.google.com with ESMTPSA id g70sm6448548ioe.18.2014.11.08.20.27.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Nov 2014 20:27:08 -0800 (PST) Message-ID: <545EED1B.5030203@gmail.com> Date: Sat, 08 Nov 2014 23:27:07 -0500 From: nick User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Diego Sueiro , Ross Burton References: <545E21EA.9040403@ripperd.com> In-Reply-To: Cc: yocto@yoctoproject.org Subject: Re: Build optimization question X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2014 04:27:14 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Diego, I agree with Ross here in from my experience with embedded systems the three best ways to strip your root file system are by removing unneeded boot loader coe, removing unneeded kernel components and that of striping your middle ware to smaller versions like Busybox and other similiar packages like elibc. Also running strip after your debugging is done for the target can strip your code even further, there are cases of stripping large programs like the kernel down from 20 megabytes to 2. Lastly, linking Busybox statically is great if you don't need a reason to link it against a C library implementation as static versions of Busybox can easily be less then 10 megabytes from my reading and experience. Regards Nick On 14-11-08 01:03 PM, Diego Sueiro wrote: > Take a look at poky-tiny distro: > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro/poky-tiny.conf > > As you are using BBB you can optimize u-boot code and remove some board > detection steps. > > I noticed that MLO generated by u-boot 2014.07 mainline is too much faster > than the old ones. > > Regards, > > -- > *dS > Diego Sueiro > sent from mobile. > Em 08/11/2014 12:54, "Burton, Ross" escreveu: > >> >> On 8 November 2014 14:23, Brian Hutchinson wrote: >> >>> I'm planning to just start excluding some of the packages in it ... I >>> don't need sound, wireless, Bluetooth etc. >>> >>> >> If you don't need sound, wifi, and bluetooth then remove the relevant >> flags from DISTRO_FEATURES and they'll never be built. >> >> Ross >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> >> > > >