[U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips

Ludwig Zenz lzenz at dh-electronics.de
Thu Oct 11 07:09:16 UTC 2018


Hello Marek,

>> From: Ludwig Zenz <lzenz at dh-electronics.de>
>> 
>> Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit bus width
>> 
>> Signed-off-by: Ludwig Zenz <lzenz at dh-electronics.de>
>> ---
>>  board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 +++++++++++++++++++++++++++---
>>  1 file changed, 173 insertions(+), 18 deletions(-)
>> 
>> diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c
> [...]
> 
> This patch causes memory instability on 1GiB MX6Q part.
> 
> Can you check that and fix it ? Thanks.

Can you tell me more about the error? How do you test this? Did you run a git bisect?

We did tests in a climate chamber with this configuration (with the MX6Q and all others).

I think there is only one change that could make a difference:

static const struct mx6_ddr3_cfg dhcom_mem_ddr_2g = {
...
-       .trcd           = 1312,
+       .trcd           = 1375,
....

Best Regards,
Ludwig Zenz




More information about the U-Boot mailing list