Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2015-01-07 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141226 08:29]: On Fri, Dec 26, 2014 at 08:13:49AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141226 07:29]: On Fri, Dec 26, 2014 at 03:04:00PM +0200, grygorii.stras...@linaro.org wrote: Tony, your call May be it will be good

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/26/14 06:42, Felipe Balbi wrote: Hi, On Thu, Dec 25, 2014 at 12:13:07PM +0200, Igor Grinberg wrote: Hi Tony, On 12/24/14 21:04, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/26/14 06:37, Felipe Balbi wrote: Hi, On Wed, Dec 24, 2014 at 11:04:01AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread grygorii.stras...@linaro.org
On 12/25/2014 12:13 PM, Igor Grinberg wrote: Hi Tony, On 12/24/14 21:04, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Javier Martinez Canillas
Hello all, On Fri, Dec 26, 2014 at 12:56 PM, Igor Grinberg grinb...@compulab.co.il wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to build almost everything as loadable modules. And my preference

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 01:56:26PM +0200, Igor Grinberg wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to build almost everything as loadable modules. And my preference is that we should

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 02:42:07PM +0100, Javier Martinez Canillas wrote: Hello all, On Fri, Dec 26, 2014 at 12:56 PM, Igor Grinberg grinb...@compulab.co.il wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base.

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 02:08:10PM +0200, Igor Grinberg wrote: I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to build almost everything as loadable modules. And my preference is that we should only keep the

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 03:04:00PM +0200, grygorii.stras...@linaro.org wrote: Tony, your call May be it will be good thing to split this patch. That way more information will be stored in commit log about which set of options gives us what benefits. And also, It will allow to

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141226 07:29]: On Fri, Dec 26, 2014 at 03:04:00PM +0200, grygorii.stras...@linaro.org wrote: Tony, your call May be it will be good thing to split this patch. That way more information will be stored in commit log about which set of options gives us

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
:) Here's v3: 8--- From 7e6d99cedb12004bad1205bbaf556ebf3db0f730 Mon Sep 17 00:00:00 2001 From: Felipe Balbi ba...@ti.com Date: Mon, 22 Dec 2014 11:56:27 -0600 Subject: [PATCH v3] arm: omap: reduce zImage size on omap2plus_defconfig

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/26/14 17:09, Felipe Balbi wrote: Hi, On Fri, Dec 26, 2014 at 01:56:26PM +0200, Igor Grinberg wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Javier Martinez Canillas
Hello Felipe, On Fri, Dec 26, 2014 at 4:19 PM, Felipe Balbi ba...@ti.com wrote: I wonder the same thing, but look at multi_v7_defconfig today. Almost everything is built-in, which makes the kernel image enormous (5.5MiB). to get rid of the SoC specific configs then and just use the single

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 08:38:10PM +0100, Javier Martinez Canillas wrote: I wonder the same thing, but look at multi_v7_defconfig today. Almost everything is built-in, which makes the kernel image enormous (5.5MiB). to get rid of the SoC specific configs then and just use the single

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-25 Thread Igor Grinberg
Hi Tony, On 12/24/14 21:04, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi wrote: On Tue, Dec 23, 2014 at 09:30:45AM +0200,

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-25 Thread Felipe Balbi
Hi, On Wed, Dec 24, 2014 at 11:04:01AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi wrote: On Tue,

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-25 Thread Felipe Balbi
Hi, On Thu, Dec 25, 2014 at 12:13:07PM +0200, Igor Grinberg wrote: Hi Tony, On 12/24/14 21:04, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-24 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi wrote: On Tue, Dec 23, 2014 at 09:30:45AM +0200, Igor Grinberg wrote: Hi Felipe, On 12/22/14 20:05, Felipe Balbi wrote: [...] CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_ATA=y -CONFIG_SATA_AHCI_PLATFORM=y -CONFIG_MD=y

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-24 Thread Felipe Balbi
Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi wrote: On Tue, Dec 23, 2014 at 09:30:45AM +0200, Igor Grinberg wrote: Hi Felipe, On 12/22/14 20:05, Felipe Balbi wrote: [...]

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-24 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141224 07:52]: Hi, On Wed, Dec 24, 2014 at 01:53:46PM +0200, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/14 18:19, Felipe Balbi wrote: On Tue, Dec 23, 2014 at 09:30:45AM +0200, Igor Grinberg wrote: Hi Felipe, On

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-23 Thread Felipe Balbi
On Tue, Dec 23, 2014 at 09:30:45AM +0200, Igor Grinberg wrote: Hi Felipe, On 12/22/14 20:05, Felipe Balbi wrote: [...] CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_ATA=y -CONFIG_SATA_AHCI_PLATFORM=y -CONFIG_MD=y +CONFIG_ATA=m +CONFIG_SATA_AHCI_PLATFORM=m Isn't this needed for the

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-23 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141223 08:22]: On Tue, Dec 23, 2014 at 09:30:45AM +0200, Igor Grinberg wrote: On 12/22/14 20:05, Felipe Balbi wrote: CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_TWL4030=y -CONFIG_W1=y +CONFIG_GPIO_TWL4030=m w/o this devices wired to

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-23 Thread Felipe Balbi
2014 11:56:27 -0600 Subject: [PATCH v2] arm: omap: reduce zImage size on omap2plus_defconfig By converting a few drivers to modules because they won't be needed during boot anyways, we can shave off about 700KiB of text. Note that while at that, and after discussions with Tony Lindgren, a few

[PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-22 Thread Felipe Balbi
By converting a few drivers to modules because they won't be needed during boot anyways, we can shave off about 700KiB of text. Note that while at that, and after discussions with Tony Lindgren, a few extra drivers were either removed because they weren't needed, or added because they're useful

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-22 Thread Felipe Balbi
On Mon, Dec 22, 2014 at 12:05:35PM -0600, Felipe Balbi wrote: By converting a few drivers to modules because they won't be needed during boot anyways, we can shave off about 700KiB of text. Note that while at that, and after discussions with Tony Lindgren, a few extra drivers were either

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-22 Thread Igor Grinberg
Hi Felipe, On 12/22/14 20:05, Felipe Balbi wrote: [...] CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_ATA=y -CONFIG_SATA_AHCI_PLATFORM=y -CONFIG_MD=y +CONFIG_ATA=m +CONFIG_SATA_AHCI_PLATFORM=m Isn't this needed for the rootfs on SATA devices? CONFIG_NETDEVICES=y # CONFIG_NET_VENDOR_ARC is not