From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Fri, 16 Sep 2011 14:15:04 -0500 Subject: [U-Boot] [u-boot-release] [Patch v3 7/7] powerpc/8xxx: Add support for interactive DDR programming interface In-Reply-To: <1316190465-11186-1-git-send-email-yorksun@freescale.com> References: <1316190465-11186-1-git-send-email-yorksun@freescale.com> Message-ID: <4E73A038.8030201@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de York Sun wrote: > +Interactive DDR debugging > +=========================== > + > +For DDR parameter tuning up and debugging, the interactive DDR debugging can > +be activated by saving an environment variable "ddr_interactive". The value > +doesn't matter. Once activated, U-boot prompts "FSL DDR>" before enabling DDR > +controller. The available commands can be seen by typing "help". > + > +The example flow of using interactive debugging is > +type command "compute" to calculate the parameters from the default > +type command "print" with arguments to show SPD, options, registers > +type command "edit" with arguments to change any if desired > +type command "go" to continue calculation and enable DDR controller > + > +Note, check "next_step" to show the flow. For example, after editing registers, > +DDR controller will be enabled with current setting without further > +calculation. This is pretty skimpy for such a powerful feature. How about some examples and a detailed description of each command? -- Timur Tabi Linux kernel developer at Freescale