Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Marek Vasut
On 10/30/2018 04:33 PM, Stefan Roese wrote: > On 30.10.18 16:18, Marek Vasut wrote: >>> > Of course would this be good. But perhaps we can make this SPL >>> > binary size check "better" by not changing the INIT_RAM_SIZE >>> > define. Its definitely possible - I just don't know how

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Marek Vasut
On 10/30/2018 10:36 AM, Stefan Roese wrote: > Hi Simon, > > On 30.10.18 10:07, Simon Goldschmidt wrote: >> >> >> Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. >> 2018, 10:00: >> >>     Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") >> broke >>     those socfpga

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Stefan Roese
On 30.10.18 16:18, Marek Vasut wrote: > Of course would this be good. But perhaps we can make this SPL > binary size check "better" by not changing the INIT_RAM_SIZE > define. Its definitely possible - I just don't know how hard > (I didn't look into this).

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Marek Vasut
On 10/30/2018 04:00 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Di., 30. > Okt. 2018, 14:24: > > On 10/30/2018 02:13 PM, Stefan Roese wrote: > > On 30.10.18 14:02, Simon Goldschmidt wrote: > >> > >> > >> Stefan Roese mailto:s...@denx.de>

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
Marek Vasut schrieb am Di., 30. Okt. 2018, 14:24: > On 10/30/2018 02:13 PM, Stefan Roese wrote: > > On 30.10.18 14:02, Simon Goldschmidt wrote: > >> > >> > >> Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. > >> 2018, 13:50: > >> > >> On 30.10.18 13:37, Simon Goldschmidt wrote: >

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Marek Vasut
On 10/30/2018 02:13 PM, Stefan Roese wrote: > On 30.10.18 14:02, Simon Goldschmidt wrote: >> >> >> Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. >> 2018, 13:50: >> >>     On 30.10.18 13:37, Simon Goldschmidt wrote: >> > On Tue, Oct 30, 2018 at 12:28 PM Stefan Roese >

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Stefan Roese
On 30.10.18 14:02, Simon Goldschmidt wrote: Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. 2018, 13:50: On 30.10.18 13:37, Simon Goldschmidt wrote: > On Tue, Oct 30, 2018 at 12:28 PM Stefan Roese mailto:s...@denx.de>> wrote: >> >> On 30.10.18 12:17, Simon

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
Stefan Roese schrieb am Di., 30. Okt. 2018, 13:50: > On 30.10.18 13:37, Simon Goldschmidt wrote: > > On Tue, Oct 30, 2018 at 12:28 PM Stefan Roese wrote: > >> > >> On 30.10.18 12:17, Simon Goldschmidt wrote: > >> > >> > >> > >>> > diff --git a/include/configs/socfpga_common.h >

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Stefan Roese
On 30.10.18 13:37, Simon Goldschmidt wrote: On Tue, Oct 30, 2018 at 12:28 PM Stefan Roese wrote: On 30.10.18 12:17, Simon Goldschmidt wrote: > diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h > index 2330143cf1..bd8f5c8c41

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
On Tue, Oct 30, 2018 at 12:28 PM Stefan Roese wrote: > > On 30.10.18 12:17, Simon Goldschmidt wrote: > > > > > > diff --git a/include/configs/socfpga_common.h > > b/include/configs/socfpga_common.h > > > index 2330143cf1..bd8f5c8c41 100644 > > > ---

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Stefan Roese
On 30.10.18 12:17, Simon Goldschmidt wrote: >     diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h >     index 2330143cf1..bd8f5c8c41 100644 >     --- a/include/configs/socfpga_common.h >     +++

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
Simon Goldschmidt schrieb am Di., 30. Okt. 2018, 11:34: > > > Stefan Roese schrieb am Di., 30. Okt. 2018, 10:36: > >> Hi Simon, >> >> On 30.10.18 10:07, Simon Goldschmidt wrote: >> > >> > >> > Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. >> 2018, 10:00: >> > >> > Commit

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
Stefan Roese schrieb am Di., 30. Okt. 2018, 10:36: > Hi Simon, > > On 30.10.18 10:07, Simon Goldschmidt wrote: > > > > > > Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. > 2018, 10:00: > > > > Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") > broke > >

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Stefan Roese
Hi Simon, On 30.10.18 10:07, Simon Goldschmidt wrote: Stefan Roese mailto:s...@denx.de>> schrieb am Di., 30. Okt. 2018, 10:00: Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") broke those socfpga boards that keep the bootcounter at the end of the internal SRAM

Re: [U-Boot] [PATCH] arm: socfpga: Fix bootcounter located at the end of internal SRAM

2018-10-30 Thread Simon Goldschmidt
Stefan Roese schrieb am Di., 30. Okt. 2018, 10:00: > Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") broke > those socfpga boards that keep the bootcounter at the end of the > internal SRAM as the bootcounter needs 8 bytes by default and thus the > very first SPL call to