DDR4 SDRAM Change Issue2 in LS1046ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR4 SDRAM Change Issue2 in LS1046ARDB

617 Views
sunghyunko
Contributor I
We have made a board with only changing DDR memory on the NXP LS1046ARDB board.
The product name of our DDR memory board is MTA9ASF1G72HZ - 8GB.
Unlike the DDR4 memory used on the NXP LS1046ARDB board,
Single rank, the number of row address bits is 16 bits and the type is SO-DIMM.

U-Boot does not boot on the newly created board, but In the ddr_compute_dimm_parameters function of U-Boot source, message output is the unknown module_type is 0x09.
You are not booting with a message.

MTA9ASF1G72HZ What part of the u-boot source should be modified when using DDR4
Please let me know.
So, please answer.
0 Kudos
1 Reply

501 Views
Bulat
NXP Employee
NXP Employee

Following two files need to be modified.


1) include\ddr_spd.h
This file contains wrong definition of the module types. Following context should be changed:
---------
#define DDR4_SPD_MODULETYPE_72B_SO_UDIMM (0x08)
#define DDR4_SPD_MODULETYPE_72B_SO_RDIMM (0x09)
---------
After change:
---------
#define DDR4_SPD_MODULETYPE_72B_SO_RDIMM (0x08)
#define DDR4_SPD_MODULETYPE_72B_SO_UDIMM (0x09)
---------
2) \drivers\ddr\fsl\ddr4_dimm_params.c
Following context should be changed:
--------
case DDR4_SPD_MODULETYPE_UDIMM:
case DDR4_SPD_MODULETYPE_SO_DIMM:
---------
After change:
---------
case DDR4_SPD_MODULETYPE_UDIMM:
case DDR4_SPD_MODULETYPE_SO_DIMM:
case DDR4_SPD_MODULETYPE_72B_SO_UDIMM:
---------

Regards,

Bulat

0 Kudos