We have an OMAP4 board in production and we have now both elpida EDB8064B1PB-8D-F and EDB8164B3PF-8D-F. We have managed to make work both configurations with some timing modifications in x-loader as well as emif modifications in kernel.
I would prefer to avoid having two different mlo uImage files. Is there a way in x-loader and kernel to differentiate both Elpida parts to have real-time the right settings for each memory?
Many thanks in advance for any hint or advice.
You can contact your TI representative for access to an application note that describes OMAP4 DDR settings, including type detection, in detail. To summarize, you can read the Mode Registers to determine the LPDDR2 part.
This patch adds SDRAM detection in the Denx mainline u-boot: http://lists.denx.de/pipermail/u-boot/2011-July/096334.html. While the mainline u-boot is not officially supported or maintained by TI, you could use this patch as an example, port it to the TI x-loader or u-boot, and modify as needed for your platform. These additional patches provide some bug fixes to the original patch:• http://www.sakoman.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=3f22e6a5e55aba08bcd365d7aabaa8672080f194• http://www.sakoman.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=b7ae51218ec6add8cbb71467f5244f0694d43625
Please click the Verify Answer button on this post if it answers your question
Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
In reply to Gina Glaser:
Always good answer from Gina! Thank you very much. But still some work to do if I want to integrate this into x-loader.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.