Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752782AbbLJVAj (ORCPT ); Thu, 10 Dec 2015 16:00:39 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:49498 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbbLJVAh (ORCPT ); Thu, 10 Dec 2015 16:00:37 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Detlef Vollmann , Andrew Lunn , Russell King , Jason Cooper , Benjamin Cama , linux-kernel@vger.kernel.org, Gregory CLEMENT , "Evgeniy A. Dushistov" , Sebastian Hesselbarth Subject: Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform Date: Thu, 10 Dec 2015 21:59:51 +0100 Message-ID: <1802654.n0lYxNZ2px@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <5669CC76.4030606@vollmann.ch> References: <1448466557-435335-1-git-send-email-arnd@arndb.de> <27901501.7xKhhTyrKu@wuerfel> <5669CC76.4030606@vollmann.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:9LxZSYLETZMD18WbxY9Y1xlBgsS6zMUh4RZMz8mhTVe8IdUMvUh H0e2iHWwox/oU7XU8J0nFRgKUVxrYEtwZTGRu6Lsv9k8+TNLa5p95i8qW6JHcfUyYgSHNd4 O5ZXQUsV9q0d8afZwxpnmiQRjBqKCmbxmCG7O0S5g+tW1hQ4mIhZkoq+0tpKu0OnUZ6FUOz Df8b/z4myNa2I3zle4vMw== X-UI-Out-Filterresults: notjunk:1;V01:K0:NAIIuxoG7Gk=:ZhYqOP5u+5yN0/wEeHxW1S 3tgneim5aSXzWRzaFLkUahICa2RB/vybOR3jR0k2YxhMYIGFMD5AJiOitFUAp7n/JsHiGMBGv IFu0ZDSx8Ei/AnbRIL7Ya4r4DKHZlJ/RtIzx6Dq0qU8c2Sp1uNGmns41FY1O57ozKIun9sC5J kR8h1jNpNQgNak3V52324rhOSwMrRlwr1gFIu8/F0ATijGaR2IhXMi3dbymTI4NZWUO+IDndO Z2aqM1nDem7G+yiFe0UrNvzupOIfbAXicLjfLXf1ahJBf1cFWDleJ36g7cWU9BR9ohTjKWD3q tNBa1/gdsafTTr9FIHNIi7SyNbmXIoXhKqa6VMLJNoWg5eBpYCl0jb8xHoVCKZUDiDXgl7Fsp QYjIo9WW0/KKNajY+uuiBbyEFTZqiXKBrviYHzAl+/jSS0iTz7rNTm/dThVFF9oA0vRYE7hXm NxIKq8JN6j3ZQctmevTR+SafaCzLqTvM+pr2HLAq43dTNEhVrfkTJqBgI8bexzS9YylRweYWb 9RRp7PoXsn3K7W39DhzxLA4oSVYVtGTxba1KNmcQNj4nMy7qo224MANpN7S9hkfS1jxa/1Pno q/zMk+5RMgmUGyS8f3aWsOU4Xe8bftDl6EC4TJ4QDZXJYUfNIzDmL61oF8OcI2D5lhKFbqIoJ AI4847kRuVxwXFnWlLcZWs8+WNx2w6SN7Bqk6BUXaDWxrZwo5QOlp1hilQdDYwIud+OCOwdKC 9gOD4L0TYl+6/XbE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2085 Lines: 44 On Thursday 10 December 2015 20:03:18 Detlef Vollmann wrote: > On 12/10/15 14:43, Arnd Bergmann wrote: > > On Thursday 10 December 2015 14:18:11 Arnd Bergmann wrote: > >> On Thursday 10 December 2015 13:56:05 Detlef Vollmann wrote: > > >>> The bad news: > >>> My own config (which is massivly stripped down) produces a kernel > >>> image that's more than 26K bigger than on v4.4-rc3 without any > >>> added functionality. > >>> The DNS-323 is extremly constrained in space (the whole system > >>> including boot loader, kernel and filesystem has to fit into 8M flash). > >>> Any ideas how I can get rid of this additional overhead? > >> > >> Can you send me your config file? I can have a look. > >> > > > > I've done a quick check with an allnoconfig-like test and it seems that > > CONFIG_OF is weighing in at around 86K here, with all the other options > > it pulls in, comparing an allnoconfig kernel for DS-323 with one that > > has CONFIG_OF enabled as well. > > > > The multiplatform kernel also enables CONFIG_OF unconditionally, but is > > otherwise a little smaller than the mach-orion5x based one: > > > > text data bss dec hex filename > > 942144 64112 17648 1023904 f9fa0 build/tmp/vmlinux-orion-allno > > 1027516 54052 20824 1102392 10d238 build/tmp/vmlinux-multi-plus-orion > > 1025320 66020 18744 1110084 10f044 build/tmp/vmlinux-orion-plus-of > > > > The diff below shows all the differences between orion-allno and > > multi-plus-orion. > How did you get the orion-allno config and how did you get it compiled? > I tried to apply your changes to my config and compile it, but > it started silentoldconfig which introduced back 'ARCH_MULTIPLATFORM' The first and third row are without my patches, once they are applied, ARCH_ORION becomes a sub-option of ARCH_MULTIPLATFORM. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/