Re: [U-Boot] Making U-Boot smaller

2019-05-24 Thread Eugeniu Rosca
On Wed, May 22, 2019 at 02:50:58PM -0400, Tom Rini wrote: > On Wed, May 22, 2019 at 06:50:36PM +0200, Eugeniu Rosca wrote: [..] > > 0421 0024 T clk_free > > 0961 0027 T clk_disable > > 0888 0027 T clk_enable > > 000

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 06:50:36PM +0200, Eugeniu Rosca wrote: > Hi Tom, > > On Wed, May 22, 2019 at 11:09:54AM -0400, Tom Rini wrote: > > On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > > > cc: Yamada-san > > > > > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1]

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Eugeniu Rosca
Hi Tom, On Wed, May 22, 2019 at 11:09:54AM -0400, Tom Rini wrote: > On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > > cc: Yamada-san > > > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which > > would point out the culprit configs. This is hardly achievable, but

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > cc: Yamada-san > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which > would point out the culprit configs. This is hardly achievable, but > looks good on the paper! > > CONFIG FILE SIZE > ---

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Eugeniu Rosca
cc: Yamada-san I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which would point out the culprit configs. This is hardly achievable, but looks good on the paper! CONFIG FILE SIZE -- CONFIG_FEATURE_A10.7Mi 37.1% CONFIG_FEATURE

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Marek Vasut
On 5/21/19 10:10 PM, Tom Rini wrote: > On Tue, May 21, 2019 at 10:01:42PM +0200, Marek Vasut wrote: >> On 5/21/19 9:59 PM, Tom Rini wrote: >>> On Tue, May 21, 2019 at 09:54:33PM +0200, Marek Vasut wrote: On 5/21/19 9:53 PM, Tom Rini wrote: > On Tue, May 21, 2019 at 09:32:29PM +0200, Marek

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Tom Rini
On Tue, May 21, 2019 at 10:01:42PM +0200, Marek Vasut wrote: > On 5/21/19 9:59 PM, Tom Rini wrote: > > On Tue, May 21, 2019 at 09:54:33PM +0200, Marek Vasut wrote: > >> On 5/21/19 9:53 PM, Tom Rini wrote: > >>> On Tue, May 21, 2019 at 09:32:29PM +0200, Marek Vasut wrote: > On 5/21/19 6:56 PM,

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Marek Vasut
On 5/21/19 9:59 PM, Tom Rini wrote: > On Tue, May 21, 2019 at 09:54:33PM +0200, Marek Vasut wrote: >> On 5/21/19 9:53 PM, Tom Rini wrote: >>> On Tue, May 21, 2019 at 09:32:29PM +0200, Marek Vasut wrote: On 5/21/19 6:56 PM, Jagan Teki wrote: > On Tue, May 21, 2019 at 10:14 PM Simon Glass w

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Tom Rini
On Tue, May 21, 2019 at 09:54:33PM +0200, Marek Vasut wrote: > On 5/21/19 9:53 PM, Tom Rini wrote: > > On Tue, May 21, 2019 at 09:32:29PM +0200, Marek Vasut wrote: > >> On 5/21/19 6:56 PM, Jagan Teki wrote: > >>> On Tue, May 21, 2019 at 10:14 PM Simon Glass wrote: > > Hi, > > (

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Marek Vasut
On 5/21/19 9:53 PM, Tom Rini wrote: > On Tue, May 21, 2019 at 09:32:29PM +0200, Marek Vasut wrote: >> On 5/21/19 6:56 PM, Jagan Teki wrote: >>> On Tue, May 21, 2019 at 10:14 PM Simon Glass wrote: Hi, (moved from thread "U-Boot PXA support") We have of-platdata, which

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Tom Rini
On Tue, May 21, 2019 at 09:32:29PM +0200, Marek Vasut wrote: > On 5/21/19 6:56 PM, Jagan Teki wrote: > > On Tue, May 21, 2019 at 10:14 PM Simon Glass wrote: > >> > >> Hi, > >> > >> (moved from thread "U-Boot PXA support") > >> > >> We have of-platdata, which produces C data from the DT, for linkin

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Marek Vasut
On 5/21/19 6:56 PM, Jagan Teki wrote: > On Tue, May 21, 2019 at 10:14 PM Simon Glass wrote: >> >> Hi, >> >> (moved from thread "U-Boot PXA support") >> >> We have of-platdata, which produces C data from the DT, for linking >> into U-Boot. It saves libfdt and DT space. But we still have the DM >> o

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Marek Vasut
On 5/21/19 6:43 PM, Simon Glass wrote: > Hi, > > (moved from thread "U-Boot PXA support") > > We have of-platdata, which produces C data from the DT, for linking > into U-Boot. It saves libfdt and DT space. But we still have the DM > overhead. > > We have binman which can insert values into the

Re: [U-Boot] Making U-Boot smaller

2019-05-21 Thread Jagan Teki
On Tue, May 21, 2019 at 10:14 PM Simon Glass wrote: > > Hi, > > (moved from thread "U-Boot PXA support") > > We have of-platdata, which produces C data from the DT, for linking > into U-Boot. It saves libfdt and DT space. But we still have the DM > overhead. > > We have binman which can insert val

[U-Boot] Making U-Boot smaller

2019-05-21 Thread Simon Glass
Hi, (moved from thread "U-Boot PXA support") We have of-platdata, which produces C data from the DT, for linking into U-Boot. It saves libfdt and DT space. But we still have the DM overhead. We have binman which can insert values into the binary after link-time. This is barely used at present, o