Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-15 Thread Marek Vasut
On 08/14/2018 10:19 PM, Simon Goldschmidt wrote: > On Tue, Aug 14, 2018 at 10:37 AM Marek Vasut wrote: >> >> On 08/14/2018 08:09 AM, Simon Goldschmidt wrote: >>> >>> >>> Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13. >>> Aug. 2018, 22:36: >>> >>> On 08/13/2018 09:34 PM, Simon Goldschmi

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-14 Thread Simon Goldschmidt
On Tue, Aug 14, 2018 at 10:37 AM Marek Vasut wrote: > > On 08/14/2018 08:09 AM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13. > > Aug. 2018, 22:36: > > > > On 08/13/2018 09:34 PM, Simon Goldschmidt wrote: > > > gd->env_addr points to pre-reloca

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-14 Thread Marek Vasut
On 08/14/2018 08:09 AM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13. > Aug. 2018, 22:36: > > On 08/13/2018 09:34 PM, Simon Goldschmidt wrote: > > gd->env_addr points to pre-relocation address even after > > relocation. This leads to an abort i

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-13 Thread Simon Goldschmidt
Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36: > On 08/13/2018 09:34 PM, Simon Goldschmidt wrote: > > gd->env_addr points to pre-relocation address even after > > relocation. This leads to an abort in env_callback_init > > when loading the environment. > > > > Fix this by enabling CONFIG_SYS_E

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-13 Thread Marek Vasut
On 08/13/2018 09:34 PM, Simon Goldschmidt wrote: > gd->env_addr points to pre-relocation address even after > relocation. This leads to an abort in env_callback_init > when loading the environment. > > Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC. > > Signed-off-by: Simon Goldschmidt > --- >

[U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-13 Thread Simon Goldschmidt
gd->env_addr points to pre-relocation address even after relocation. This leads to an abort in env_callback_init when loading the environment. Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC. Signed-off-by: Simon Goldschmidt --- Changes in v4: enable this fix for all socfpga, not for gen5 only