Hi,
we have got customized board which is designed based on reference designs of wandboard dual.
Now we are bringing up the board and want to port uboot, kernel and OS. We are following Yocto project for the same. and also we are referring "BSP Proting guide"
In this BSP porting guide they have referre for generation of DCD (Device Configuration Data) file for following things:
1. clocks.cfg
2. 800mhz_4x128mx16.cfg
3. ddr-setup.cfg etc.
all these are DCD files only which consists of DATA 4, MX6_MMDC_P0_MDPDC, 0x0002002D. how to generate the new DCD file or edit the existing DCD files.
Hi Srinivasa
to better understand necessary changes one can look at
sect.8.7.2 Device Configuration Data (DCD) [regarding "DATA 4, MX6_MMDC_P0_MDPDC, 0x0002002D"]
Chapter 18 Clock Controller Module (CCM) [clocks.cfg]
Chapter 44 Multi Mode DDR Controller (MMDC) IMX6DQRM
AN4467 i.MX 6 Series DDR Calibration [800mhz_4x128mx16.cfg]
Modification (if necessary ) are made manually, of course one needs to read these
documents for understanding changes.
If board does not differ from original reference wandboard, one can use its files without changes.
http://forums.wandboard.org/viewtopic.php?f=12&t=842
http://imx6dev.blogspot.ru/2014/07/inexpensive-jtag-on-imx6-solo-u-boot.html
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
DCD Data is just a list of addresses and values. In the CFG file, you see them as 'DATA 4, <Address>,<value>'.
First -- You need to use the DDR Configuration tool (I.MX6DQSDL DDR3 Script Aid V0.10.xlsx) and peform DDR Calibration (Using DDR_Stress_Test) to get the correct DDR Controller parameters.
Then, update the relevant parameters in the .CFG file. When you build uboot, the CFG file gets converted into the 'DCD table' and is placed in the beginning of uboot.imx.
Regards,
Erez