ls1021a with DDR4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ls1021a with DDR4

2,184件の閲覧回数
kuanlun_chiu
Contributor I

Dear sirs,

 

Could you provide DDR4 configuration example for ls1021a?

We have a customized board with DDR4 but we failed to boot.

Thanks for your help

タグ(2)
0 件の賞賛
返信
3 返答(返信)

1,965件の閲覧回数
Anonymous
適用対象外

Hi,

We are also facing similar issue with ls1021a custom board. We are trying to initialize DDR4 memory device. But u-boot hangs at following function
gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);

Let me know if you were able to initialize ddr4 memory successfully.

0 件の賞賛
返信

2,178件の閲覧回数
Bulat
NXP Employee
NXP Employee

We do not have LS1021A developement  boards with DDR4, as a result we do not have initialization examples for such cases.

You can use initialization files for the LS1043A (e.g.LS1043ARDB board), these devices have the same DDR controller, so all parameters are the same.

The difference is in CSn_BNDS setting, for the LS1021A you need to use absolute addresses (like in DDR3L case). DDR address space starts at 0x80000000.

Values of DDR_WRLVL_CNTL_n and DDR_SDRAM_CLK_CNTL are board dependent, we typically recommend to use DDRv tool to define optimal values.

Another important point is settings of DQ_MAP registers in case of DDR4, these should reflect actual bit mapping between DDR controller and DDR4 SDRAMs. Otherwise the DDR controller can not start up.

Regards,

Bulat

 

0 件の賞賛
返信

1,734件の閲覧回数
ZzlYanG_cn
Contributor I

hello

 

When I use DDR4 for ls1021atwr , should the DDR_SDRAM_CFG register(default vlues is 0x07000000h) value be set to 0x05000000h? and and if there are any other necessary Settings?

 

thanks!

0 件の賞賛
返信