
On Wed, Jul 4, 2012 at 2:31 PM, Fabio Estevam festevam@gmail.com wrote:
Take a look at Freescale U-boot as a reference: http://opensource.freescale.com/git?p=imx/uboot-imx.git;a=blob;f=board/frees...
Just to clarify: this file has the RAM settings for two versions of the board. Earlier mx35pdk came with mDDR and the more recent boards have DDR2. Most likely your mx35pdk has DDR2 populated, do the values you need to use are:
//DDR2 init DCDGEN(2, 4, 0xB8001010, 0x00000304) DCDGEN(3, 4, 0xB8001010, 0x0000030C) DCDGEN(4, 4, 0xB8001004, 0x007ffc3f) DCDGEN(5, 4, 0xB8001000, 0x92220000) DCDGEN(6, 4, 0x80000400, 0x12345678) DCDGEN(7, 4, 0xB8001000, 0xA2220000) DCDGEN(8, 4, 0x80000000, 0x87654321) DCDGEN(9, 4, 0x80000000, 0x87654321) DCDGEN(10, 4, 0xB8001000, 0xB2220000) DCDGEN(11, 1, 0x80000233, 0xda) DCDGEN(12, 1, 0x82000780, 0xda) DCDGEN(13, 1, 0x82000400, 0xda) DCDGEN(14, 4, 0xB8001000, 0x82226080) DCDGEN(15, 4, 0xB8001004, 0x007ffc3f) DCDGEN(16, 4, 0xB800100C, 0x007ffc3f) DCDGEN(17, 4, 0xB8001010, 0x00000304) DCDGEN(18, 4, 0xB8001008, 0x00002000)
You just need to convert these values into the proper syntax for imximage.cfg.