<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: uboot ram init in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576913#M88063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may be caused by ddr errors or brownout exceptions, so one can try&lt;/P&gt;&lt;P&gt;adjust it with ddr tools:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/docs/DOC-1455" title="https://community.freescale.com/docs/DOC-1455"&gt;Board Bring-up and DDR Initialization Tools | NXP Community&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F375692%23375692" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/375692#375692&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add debug printfs in bootlets power_prep.c to find which instruction&lt;/P&gt;&lt;P&gt;caused brownout (can be adjusted with HW_POWER_VDDDCTRL[BO_OFFSET])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for test may be recommended to run latest nxp bsp:&lt;/P&gt;&lt;P&gt;Board Support Packages (5)&lt;/P&gt;&lt;P&gt;i.MX28 Linux 2.6.35 Source Code Files and documentation (REV L2.6.35_1.1.0) &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx28-evaluation-kit%3AMCIMX28EVKJ%3Ffpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx28-evaluation-kit:MCIMX28EVKJ?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2016 01:55:13 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-07-18T01:55:13Z</dc:date>
    <item>
      <title>uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576912#M88062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building my custom imx28 based board with nand flash without battery. My board has not sd card input so i am planning to write a kernel and filesystem to nand with uboot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I edited imx-bootlets-src-10.12.01 for no battery (uncomment //#define NO_DCDC_BATT_SOURCE in /power_prep/power_prep.c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found some other u-boot named like uboot-imx, u-boot, u-boot-fslc (i tried all) and built with imx28evk_nand_defconfig config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log is here after load sb file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; TS-BOOTROM - built Jul 16 2016 15:07:59&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Copyright (c) 2013, Technologic Systems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2015.10-00059-g8ee67c1 (Jul 16 2016 - 15:05:09 +0300)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPU:&amp;nbsp;&amp;nbsp; Freescale i.MX28 rev1.2 at 454 MHz&lt;/P&gt;&lt;P&gt;BOOT:&amp;nbsp; ğŸåğŸåğŸåğŸåğŸåğŸå&lt;/P&gt;&lt;P&gt;SPI:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It stucks before displaying dram size as if it were in a while loop and boot mode displays unknown characters.&lt;/P&gt;&lt;P&gt;How can i fix this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 16:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576912#M88062</guid>
      <dc:creator>adogan</dc:creator>
      <dc:date>2016-07-16T16:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576913#M88063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may be caused by ddr errors or brownout exceptions, so one can try&lt;/P&gt;&lt;P&gt;adjust it with ddr tools:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/docs/DOC-1455" title="https://community.freescale.com/docs/DOC-1455"&gt;Board Bring-up and DDR Initialization Tools | NXP Community&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F375692%23375692" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/375692#375692&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add debug printfs in bootlets power_prep.c to find which instruction&lt;/P&gt;&lt;P&gt;caused brownout (can be adjusted with HW_POWER_VDDDCTRL[BO_OFFSET])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for test may be recommended to run latest nxp bsp:&lt;/P&gt;&lt;P&gt;Board Support Packages (5)&lt;/P&gt;&lt;P&gt;i.MX28 Linux 2.6.35 Source Code Files and documentation (REV L2.6.35_1.1.0) &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx28-evaluation-kit%3AMCIMX28EVKJ%3Ffpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx28-evaluation-kit:MCIMX28EVKJ?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 01:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576913#M88063</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-18T01:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576914#M88064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to try with "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;i.MX28 Linux 2.6.35 Source Code Files and documentation (REV L2.6.35_1.1.0)&lt;/SPAN&gt;" files but I couldnt find bootlets in this folder, how can i download bootlets source code in nxp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to run ltib (with perl5), it says;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unescaped left brace in regex is deprecated, passed through in regex; marked by &amp;lt;-- HERE in m/(%{ &amp;lt;-- HERE ?([^}]+)}?)/ at /home/ard/Desktop/L2.6.35_1.1.0_130130_source/ltib/ltib/bin/Ltibutils.pm line 237.&lt;/P&gt;&lt;P&gt;Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/ard/Desktop/L2.6.35_1.1.0_130130_source/ltib/ltib/bin/Ltibutils.pm line 362.&lt;/P&gt;&lt;P&gt;Compilation failed in require at ./ltib line 39.&lt;/P&gt;&lt;P&gt;BEGIN failed--compilation aborted at ./ltib line 39.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:20:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576914#M88064</guid>
      <dc:creator>adogan</dc:creator>
      <dc:date>2016-07-18T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576915#M88065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first build ltib then prepare bootlets sources (in ltib/RPM/Build):&lt;/P&gt;&lt;P&gt;./ltib -m prep -p boot_stream.spec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576915#M88065</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-18T07:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576916#M88066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not do with ltib so i built bootlets and uboot from source.&lt;/P&gt;&lt;P&gt;My current logs,&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;PowerPrep start initialize power...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configured for 5v only power source.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Battery powered operation disabled.&lt;/P&gt;&lt;P&gt;DRAM prep starting&lt;/P&gt;&lt;P&gt;MEM_MDDR = FALSE&lt;/P&gt;&lt;P&gt;Jul 18 201613:50:11&lt;/P&gt;&lt;P&gt;FRAC 0x92925552&lt;/P&gt;&lt;P&gt;memory type is DDR2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wait for ddr ready 1power 0x00820616&lt;/P&gt;&lt;P&gt;Frac 0x92925552&lt;/P&gt;&lt;P&gt;start change cpu freq&lt;/P&gt;&lt;P&gt;hbus 0x00000003&lt;/P&gt;&lt;P&gt;cpu 0x00010001&lt;/P&gt;&lt;P&gt;start test memory accress&lt;/P&gt;&lt;P&gt;ddr2 0x40000000&lt;/P&gt;&lt;P&gt;finish simple test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2011.09-01112-g8c6b5d0 (Jul 18 2016 - 13:48:50)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale i.MX28 family&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; 0 Bytes&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It stucks after then. Currently memory test between 0 - 1000, when i change memory test to between 32 * 1024&amp;nbsp; * 1024 - 48 * 1024 * 1024, dram says 32mb and uboot starts succesfully. Where may the error be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576916#M88066</guid>
      <dc:creator>adogan</dc:creator>
      <dc:date>2016-07-18T11:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576917#M88067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run mem_test in &lt;A _jive_internal="true" href="https://community.nxp.com/thread/318291#comment-375692" title="https://community.nxp.com/message/375692#comment-375692"&gt;https://community.nxp.com/message/375692#comment-375692&lt;/A&gt;​ with no battery patch. I will attach sb file, perhaps may be necessary for someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mem_test logs;&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;PowerPrep start initialize power...&lt;/P&gt;&lt;P&gt;Configured for 5v only power source.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Battery powered operation disablpause&lt;/P&gt;&lt;P&gt;start&lt;/P&gt;&lt;P&gt;simple test&lt;/P&gt;&lt;P&gt;Actual CPU frequency (MHz): 480&lt;/P&gt;&lt;P&gt;Actual EMI frequency (MHz): 196&lt;/P&gt;&lt;P&gt;&amp;nbsp; DDR test passed&lt;/P&gt;&lt;P&gt;t0: memcpy11 SSN test&lt;/P&gt;&lt;P&gt;CSD0&lt;/P&gt;&lt;P&gt;Program the source memory&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cpu is restarting before "DDR test passed" and &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;stucks&lt;/SPAN&gt;, I heard usb plug out sound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My settings:&lt;/P&gt;&lt;P&gt;#define CSD0_BASE_ADDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x40000000&lt;/P&gt;&lt;P&gt;U32 dram_density = 0x8000000, num_cs = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Where may the error be?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 21:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576917#M88067</guid>
      <dc:creator>adogan</dc:creator>
      <dc:date>2016-07-18T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: uboot ram init</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576918#M88068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it may stuck due to brownouts (can be adjusted with BO_OFFSET settings),&lt;/P&gt;&lt;P&gt;one can debug with jtag or add printfs to find which instruction caused that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 00:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-ram-init/m-p/576918#M88068</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-19T00:44:51Z</dc:date>
    </item>
  </channel>
</rss>

