Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-02 Thread Simon Goldschmidt
Am Fr., 2. Nov. 2018, 01:08 hat Marek Vasut geschrieben: > On 11/01/2018 08:26 PM, Simon Goldschmidt wrote: > > On 31.10.2018 11:00, Marek Vasut wrote: > >> On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: > >>> On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut > >>> wrote: > On 10/30/2018 10:30

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Marek Vasut
On 11/01/2018 08:26 PM, Simon Goldschmidt wrote: > On 31.10.2018 11:00, Marek Vasut wrote: >> On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: >>> On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut >>> wrote: On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: > On 30.10.2018 22:26, Marek Vasut wr

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Marek Vasut
On 11/01/2018 10:13 PM, Simon Goldschmidt wrote: > On 01.11.2018 21:59, Marek Vasut wrote: >> On 11/01/2018 09:31 PM, Simon Goldschmidt wrote: >>> On Thu, Nov 1, 2018 at 8:26 PM Simon Goldschmidt >>> wrote: On 31.10.2018 11:00, Marek Vasut wrote: > On 10/31/2018 06:44 AM, Simon Goldschmid

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Simon Goldschmidt
On 01.11.2018 21:59, Marek Vasut wrote: On 11/01/2018 09:31 PM, Simon Goldschmidt wrote: On Thu, Nov 1, 2018 at 8:26 PM Simon Goldschmidt wrote: On 31.10.2018 11:00, Marek Vasut wrote: On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: On 1

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Marek Vasut
On 11/01/2018 09:31 PM, Simon Goldschmidt wrote: > On Thu, Nov 1, 2018 at 8:26 PM Simon Goldschmidt > wrote: >> >> On 31.10.2018 11:00, Marek Vasut wrote: >>> On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: > On 10/30/2018 10:30 PM, Si

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Simon Goldschmidt
On Thu, Nov 1, 2018 at 8:26 PM Simon Goldschmidt wrote: > > On 31.10.2018 11:00, Marek Vasut wrote: > > On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: > >> On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: > >>> On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: > On 30.10.2018 22:26, Mare

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-11-01 Thread Simon Goldschmidt
On 31.10.2018 11:00, Marek Vasut wrote: On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: On 30.10.2018 22:26, Marek Vasut wrote: On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: Correctly de

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-31 Thread Marek Vasut
On 10/31/2018 06:44 AM, Simon Goldschmidt wrote: > On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: >> >> On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: >>> On 30.10.2018 22:26, Marek Vasut wrote: On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: > Correctly define CONFIG_SPL_MAX_FOOT

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-30 Thread Simon Goldschmidt
On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut wrote: > > On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: > > On 30.10.2018 22:26, Marek Vasut wrote: > >> On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: > >>> Correctly define CONFIG_SPL_MAX_FOOTPRINT to make the default arm > >>> linker script for

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-30 Thread Marek Vasut
On 10/30/2018 10:30 PM, Simon Goldschmidt wrote: > On 30.10.2018 22:26, Marek Vasut wrote: >> On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: >>> Correctly define CONFIG_SPL_MAX_FOOTPRINT to make the default arm >>> linker script for SPL check the total SRAM size available for SPL >>> (code, data,

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-30 Thread Simon Goldschmidt
On 30.10.2018 22:26, Marek Vasut wrote: On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: Correctly define CONFIG_SPL_MAX_FOOTPRINT to make the default arm linker script for SPL check the total SRAM size available for SPL (code, data, bss, heap, global data). The previously existing define CONFI

Re: [U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-30 Thread Marek Vasut
On 10/30/2018 10:23 PM, Simon Goldschmidt wrote: > Correctly define CONFIG_SPL_MAX_FOOTPRINT to make the default arm > linker script for SPL check the total SRAM size available for SPL > (code, data, bss, heap, global data). > > The previously existing define CONFIG_SPL_MAX_SIZE seems to only > ch

[U-Boot] [PATCH] arm: socfpga: check total size of SPL

2018-10-30 Thread Simon Goldschmidt
Correctly define CONFIG_SPL_MAX_FOOTPRINT to make the default arm linker script for SPL check the total SRAM size available for SPL (code, data, bss, heap, global data). The previously existing define CONFIG_SPL_MAX_SIZE seems to only check the binary size (which is without bss, heap and gd). Sig