Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-11-14 Thread york sun
On 11/07/2016 10:36 AM, york@nxp.com wrote: > On 10/27/2016 02:47 AM, Calvin Johnson wrote: >> Hi York, >> >>> -Original Message- >>> From: york sun >>> Sent: Wednesday, October 26, 2016 10:09 PM >>> To: Calvin Johnson ; Prabhakar Kushwaha >>>

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-11-07 Thread york sun
On 10/27/2016 02:47 AM, Calvin Johnson wrote: > Hi York, > >> -Original Message- >> From: york sun >> Sent: Wednesday, October 26, 2016 10:09 PM >> To: Calvin Johnson ; Prabhakar Kushwaha >> ; Pratiyush >> Srivastava

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-27 Thread Calvin Johnson
Hi York, >-Original Message- >From: york sun >Sent: Wednesday, October 26, 2016 10:09 PM >To: Calvin Johnson ; Prabhakar Kushwaha >; Pratiyush >Srivastava ; u-boot@lists.denx.de; Mingkai Hu

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-26 Thread york sun
On 10/24/2016 09:30 PM, Calvin Johnson wrote: I wonder why we don't see ECC errors before this patch. We have LS1043A boots on NAND, SD. >>> >>> OCRAM has a requirement of initializing before first time "read". >>> If user reads OCRAM before **initializing**; ECC error will come.

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-25 Thread Mingkai Hu
> -Original Message- > From: york sun > Sent: Tuesday, October 25, 2016 12:15 AM > To: Prabhakar Kushwaha ; Pratiyush > Srivastava ; u-boot@lists.denx.de; Mingkai > Hu > Cc: Hou Zhiqiang

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-25 Thread Calvin Johnson
b...@lists.denx.de; Mingkai Hu <mingkai...@nxp.com> >Cc: Hou Zhiqiang <zhiqiang....@freescale.com> >Subject: Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization > >On 10/23/2016 06:59 AM, Prabhakar Kushwaha wrote: >> Hi York, >> >> >>> ---

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-24 Thread york sun
On 10/23/2016 06:59 AM, Prabhakar Kushwaha wrote: > Hi York, > > >> -Original Message- >> From: york sun >> Sent: Saturday, October 22, 2016 1:39 AM >> To: Prabhakar Kushwaha ; Pratiyush Srivastava >> ; u-boot@lists.denx.de; Mingkai

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-23 Thread Prabhakar Kushwaha
Hi York, > -Original Message- > From: york sun > Sent: Saturday, October 22, 2016 1:39 AM > To: Prabhakar Kushwaha ; Pratiyush Srivastava > ; u-boot@lists.denx.de; Mingkai Hu > > Cc: Hou Zhiqiang

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-21 Thread york sun
On 10/16/2016 10:35 PM, Prabhakar Kushwaha wrote: > Hi Mingkai, > >> -Original Message- >> From: Pratiyush Srivastava [mailto:pratiyush.srivast...@nxp.com] >> Sent: Wednesday, October 12, 2016 5:46 PM >> To: u-boot@lists.denx.de >> Cc: york sun ; Prabhakar Kushwaha >>

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-16 Thread Prabhakar Kushwaha
Hi Mingkai, > -Original Message- > From: Pratiyush Srivastava [mailto:pratiyush.srivast...@nxp.com] > Sent: Wednesday, October 12, 2016 5:46 PM > To: u-boot@lists.denx.de > Cc: york sun ; Prabhakar Kushwaha > ; Pratiyush Srivastava >

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-12 Thread york sun
On 10/12/2016 05:15 AM, Pratiyush Srivastava wrote: > Clear the content to zero and the ECC error bit of OCRAM1/2. > > The OCRAM must be initialized to ZERO by the unit of 8-Byte before > accessing it, or else it will generate ECC error. And the IBR has > accessed the OCRAM before this

[U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-12 Thread Pratiyush Srivastava
Clear the content to zero and the ECC error bit of OCRAM1/2. The OCRAM must be initialized to ZERO by the unit of 8-Byte before accessing it, or else it will generate ECC error. And the IBR has accessed the OCRAM before this initialization, so the ECC error status bit should to be cleared.