Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Duncan Hare
From: Jagan Teki On Wed, Dec 20, 2017 at 11:22 PM, Duncan Hare wrote: >> An observation: The Banana PI boards, allwinner based, I've use have a >> boot.scr file on the fat partition to direct booting. >> A Suggestion: If this is widespread, the memory used by the u-boot image >> could be re

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Jagan Teki
On Wed, Dec 20, 2017 at 11:22 PM, Duncan Hare wrote: > An observation: The Banana PI boards, allwinner based, I've use have a > boot.scr file on the fat partition to direct booting. > A Suggestion: If this is widespread, the memory used by the u-boot image > could be reduce by eliminating much o

[U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Duncan Hare
An observation: The Banana PI boards, allwinner based, I've use have a boot.scr file on the fat partition to direct booting. A Suggestion: If this is widespread, the memory used by the u-boot image could be reduce by eliminating much of the pre-defined boot hush scripts. I offer this as an obse

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Emmanuel Vadot
On Tue, 19 Dec 2017 15:09:52 +0100 Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > > > 1;5002;0c > > > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > > > On Tue, Dec 19, 2017 at 02

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Mark Kettenis
> From: Andre Przywara > Date: Tue, 19 Dec 2017 14:17:37 + > > Hi, > > On 19/12/17 13:51, Mark Kettenis wrote: > >> From: Andre Przywara > >> Date: Tue, 19 Dec 2017 13:38:59 + > >> > >> Hi Maxime, > >> > >> thanks for having a look! > >> > >> On 19/12/17 13:12, Maxime Ripard wrote: > >>

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-20 Thread Maxime Ripard
On Wed, Dec 20, 2017 at 08:42:22AM +0100, Mark Kettenis wrote: > > Date: Wed, 20 Dec 2017 08:15:46 +0100 > > From: Maxime Ripard > > > > On Wed, Dec 20, 2017 at 01:55:51AM +, Andr=E9 Przywara wrote: > > > On 19/12/17 15:24, Maxime Ripard wrote: > > > > On Tue, Dec 19, 2017 at 02:41:17PM +0100

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> Date: Wed, 20 Dec 2017 08:15:46 +0100 > From: Maxime Ripard > > On Wed, Dec 20, 2017 at 01:55:51AM +, Andr=E9 Przywara wrote: > > On 19/12/17 15:24, Maxime Ripard wrote: > > > On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: > > >>> Date: Tue, 19 Dec 2017 14:12:02 +0100 > > >>

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Wed, Dec 20, 2017 at 01:55:51AM +, André Przywara wrote: > On 19/12/17 15:24, Maxime Ripard wrote: > > On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: > >>> Date: Tue, 19 Dec 2017 14:12:02 +0100 > >>> From: Maxime Ripard > >>> > >>> On Tue, Dec 05, 2017 at 10:28:20AM +, A

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread André Przywara
On 19/12/17 15:36, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 02:27:57PM +, Andre Przywara wrote: > Removing those options make the u-boot.itb binary size going from > 516kB to 478kB, making it functional again *and* allowing us to enable > the DT overlays that seem way more imp

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread André Przywara
On 19/12/17 15:24, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: >>> Date: Tue, 19 Dec 2017 14:12:02 +0100 >>> From: Maxime Ripard >>> >>> On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though the actual u-boot.bin for 64-bit bo

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> Date: Tue, 19 Dec 2017 16:24:59 +0100 > From: Maxime Ripard > > On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: > > > Date: Tue, 19 Dec 2017 14:12:02 +0100 > > > From: Maxime Ripard > > > > > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > > So even thou

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Jagan Teki
On Tue, Dec 19, 2017 at 9:06 PM, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 02:27:57PM +, Andre Przywara wrote: >> >>> Removing those options make the u-boot.itb binary size going from >> >>> 516kB to 478kB, making it functional again *and* allowing us to enable >> >>> the DT overlays that

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 04:36:13PM +0100, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 02:27:57PM +, Andre Przywara wrote: > > >>> Removing those options make the u-boot.itb binary size going from > > >>> 516kB to 478kB, making it functional again *and* allowing us to enable > > >>> the DT ov

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:27:57PM +, Andre Przywara wrote: > >>> Removing those options make the u-boot.itb binary size going from > >>> 516kB to 478kB, making it functional again *and* allowing us to enable > >>> the DT overlays that seem way more important than any feature > >>> mentionned a

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: > > Date: Tue, 19 Dec 2017 14:12:02 +0100 > > From: Maxime Ripard > > > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > > below the l

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 10:41:23PM +0800, Chen-Yu Tsai wrote: > > All these trimming(if it fits) seems to be nice for now, but what if > > once driver-model MMC, reset, pinctrl, clk, regulator are IN? I guess a better question would be: what are we doing to fix an issue we had in a release already

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Chen-Yu Tsai
On Tue, Dec 19, 2017 at 10:38 PM, Jagan Teki wrote: > On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara > wrote: >> Hi Maxime, >> >> On 19/12/17 14:20, Maxime Ripard wrote: >>> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: Hi Maxime, thanks for having a look!

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 14:38, Jagan Teki wrote: > On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara > wrote: >> Hi Maxime, >> >> On 19/12/17 14:20, Maxime Ripard wrote: >>> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: Hi Maxime, thanks for having a look! On 19/

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Jagan Teki
On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara wrote: > Hi Maxime, > > On 19/12/17 14:20, Maxime Ripard wrote: >> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: >>> Hi Maxime, >>> >>> thanks for having a look! >>> >>> On 19/12/17 13:12, Maxime Ripard wrote: On Tue, Dec 05, 2

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi Maxime, On 19/12/17 14:20, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: >> Hi Maxime, >> >> thanks for having a look! >> >> On 19/12/17 13:12, Maxime Ripard wrote: >>> On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though t

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:22:59PM +, Andre Przywara wrote: > Hi, > > On 19/12/17 14:20, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: > >> On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > >>> On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripa

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 14:20, Tom Rini wrote: > On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: >> On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: >>> On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: 1;5002;0c On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > > > 1;5002;0c > > > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > > > On Tue, Dec 19, 2017

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: > Hi Maxime, > > thanks for having a look! > > On 19/12/17 13:12, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >> So even though the actual u-boot.bin for 64-bit boards is still somewhat

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 13:51, Mark Kettenis wrote: >> From: Andre Przywara >> Date: Tue, 19 Dec 2017 13:38:59 + >> >> Hi Maxime, >> >> thanks for having a look! >> >> On 19/12/17 13:12, Maxime Ripard wrote: >>> On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though the a

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:28:03PM +0100, Alexander Graf wrote: > On 12/19/2017 02:12 PM, Maxime Ripard wrote: > > - VIDEO_BPP8, VIDEO_BPP16 > > - VIDEO_ANSI > > - SHA256 > > - LZMA > > > > Removing those options make the u-boot.itb binary size going from > > 516kB to 478kB, making it func

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > > 1;5002;0c > > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > > > On Tue, Dec 05, 2017 at

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> From: Andre Przywara > Date: Tue, 19 Dec 2017 13:38:59 + > > Hi Maxime, > > thanks for having a look! > > On 19/12/17 13:12, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >> So even though the actual u-boot.bin for 64-bit boards is still somewh

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> Date: Tue, 19 Dec 2017 14:12:02 +0100 > From: Maxime Ripard > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > > the edge. So

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi Maxime, thanks for having a look! On 19/12/17 13:12, Maxime Ripard wrote: > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: >> So even though the actual u-boot.bin for 64-bit boards is still somewhat >> below the limit (~480KB), adding the ATF image (~32KB) pushes it over >> th

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:28:03PM +0100, Alexander Graf wrote: > On 12/19/2017 02:12 PM, Maxime Ripard wrote: > >On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >>So even though the actual u-boot.bin for 64-bit boards is still somewhat > >>below the limit (~480KB), adding the ATF

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > 1;5002;0c > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > > So even though the

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Alexander Graf
On 12/19/2017 02:12 PM, Maxime Ripard wrote: On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though the actual u-boot.bin for 64-bit boards is still somewhat below the limit (~480KB), adding the ATF image (~32KB) pushes it over the edge. So since v2017.11 u-boot.itb is al

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
1;5002;0c On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > > below the lim

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > > the edge. So si

[U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > So even though the actual u-boot.bin for 64-bit boards is still somewhat > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > the edge. So since v2017.11 u-boot.itb is already too big for the > traditional MMC en