Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-12 Thread Fabio Estevam
Hi Peng, On Mon, May 11, 2020 at 10:32 PM Peng Fan wrote: > After a thought, i.MX8MQ/MM/MN/MP have different OCRAM sizes, > and ATF locates in different places. So I would keep current code as is. Ok, this can be done later as a cleanup. What we should really avoid is to keep duplicating these

RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Peng Fan
> Subject: RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > > Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > > > Hi Peng, > > > > On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > > > > > The u-boot-spl.bin pad with ddr

RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Peng Fan
> Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > Hi Peng, > > On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > > > The u-boot-spl.bin pad with ddr firmware conflicts with the > > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritt

Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Fabio Estevam
Hi Peng, On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > The u-boot-spl.bin pad with ddr firmware conflicts with the > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten > by malloc in SPL stage and cause ddr initialization not able > to finish. So update the related addresses to

[PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-10 Thread Peng Fan
The u-boot-spl.bin pad with ddr firmware conflicts with the CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten by malloc in SPL stage and cause ddr initialization not able to finish. So update the related addresses to fix the issue. Reported-by: Fabio Estevam Signed-off-by: Peng Fan