Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-09-22 Thread York Sun
Benoit, Since you should and you have used the suggested method to initialize ECC, I am going to close this patch as N/A. I will find some time to clean up the size variable. I will follow up with you on the other thread regarding dcache issue. York On 08/25/2014 05:35 AM, Benoit Sansoni wrote

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-08-25 Thread Benoit Sansoni
Hi York, Sorry for the delay. I was in holidays. I am back at work today. Yes I have tried the other method that you proposed. It works perfectly and It seems that this method initialized the ECC in a faster manner. I faced a stability issue during ddr initialization. To resolve it I deactivate

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-08-12 Thread York Sun
On 07/23/2014 11:56 PM, Benoit Sansoni wrote: > York, > > I am going to check out the method that you talk about. > For now the fix allow me to boot our board with 8GB it is a good step > for me. > > Thanks > Benoit > > On 07/23/2014 06:32 PM, York Sun wrote: >> Benoit, >> >> If your interest i

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-07-23 Thread Benoit Sansoni
York, I am going to check out the method that you talk about. For now the fix allow me to boot our board with 8GB it is a good step for me. Thanks Benoit On 07/23/2014 06:32 PM, York Sun wrote: > Benoit, > > If your interest is in initializing DDR for ECC, you don't have use > dma_meminit(). Th

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-07-23 Thread York Sun
Benoit, If your interest is in initializing DDR for ECC, you don't have use dma_meminit(). There is a better and faster way to do so. All Freescale modern DDR controllers support this feature. All you have to do is to define these macros CONFIG_DDR_ECC CONFIG_ECC_INIT_VIA_DDRCONTROLLER CONFIG_ME

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-07-23 Thread Benoit Sansoni
Hi York, That what I saw in the code. Also to test it you need to have the hardware, but the evaluation board P2041rdb for example does not have some ECC signals rooted for DIMM slot. I validated the patch that I sent on a board based on P2041 with 8GB of memory. Obviously it works with 2GB and

Re: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-07-22 Thread York Sun
On 07/18/2014 06:11 AM, Benoit Sansoni wrote: > Hi , > > I found out an issue when enabling ECC for P2041 platform with an amount > of memory of 8GB. > The routine "void dma_meminit(uint val, uint size)" is not adapted to > manage memory size greater or equal to 4GB due to the 'uint' type. > With

[U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB

2014-07-18 Thread Benoit Sansoni
Hi , I found out an issue when enabling ECC for P2041 platform with an amount of memory of 8GB. The routine "void dma_meminit(uint val, uint size)" is not adapted to manage memory size greater or equal to 4GB due to the 'uint' type. With this typing the dma_meminit sees 0 as size when memory is fo