How To Migrate The DDR Configuration To Uboot 2009 on MX6 Android 4.2

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

How To Migrate The DDR Configuration To Uboot 2009 on MX6 Android 4.2

638 Views
tony_l_cai
Contributor III


Hi All,

Now our board's DDR size has changes from 1GB to 2GB, I have used the DDR stress tool to config the DDR params and pass. But maybe need some changes in uboot 2009 code. Because the MFG uboot load cannot boot and no log, so could you help me? Thank you~

Labels (3)
0 Kudos
2 Replies

483 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tony

for uboot 2009 changes for new ddr settings should be made in

dcd header file : uboot/board/feescale/mx6q_sabresd/flash_header.S

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

483 Views
tony_l_cai
Contributor III

Hi,

I have changed it, no others?

such as

/*-----------------------------------------------------------------------

* Physical Memory Map

*/

#define CONFIG_NR_DRAM_BANKS 1

#define PHYS_SDRAM_1 CSD0_DDR_BASE_ADDR

#define PHYS_SDRAM_1_SIZE (2u * 1024 * 1024 * 1024)

#define iomem_valid_addr(addr, size) \

  (addr >= PHYS_SDRAM_1 && addr <= (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))

Change for the above, still no log

Help me! Thank you~

0 Kudos