<?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>i.MX ProcessorsのトピックRe: Upgrade memory size from 1G to 2G make linux kernel stall(uboot 2014.04)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551792#M86257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi huijie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check power supplies, its ripples should be &amp;lt;5%&lt;/P&gt;&lt;P&gt;and capacitors values described on HW Design Checklist&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/docs/DOC-93819" title="https://community.freescale.com/docs/DOC-93819"&gt;https://community.freescale.com/docs/DOC-93819&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>Sat, 09 Jul 2016 00:48:29 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-07-09T00:48:29Z</dc:date>
    <item>
      <title>Upgrade memory size from 1G to 2G make linux kernel stall(uboot 2014.04)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551791#M86256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Current I replace our imx6q board 1G memory with 2G memory, but the linux kernel freezed.&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; uboot 2014.04&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; linux kernel&amp;nbsp; 3.10.53&lt;/P&gt;&lt;P&gt;3. design from sabreSD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My step:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; Do memory calibration and merge to uboot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; replace DDR_MB=1024 with DDR_MB=2048 in boards.cfg for mx6qsabresdandroid board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp; burn the uboot and test the memory (OK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4.&amp;nbsp; run linux and linux stalled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;1. Memory Test Result&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2014.04-00006-g41a0d81-dirty (Jul 08 2016 - 11:04:09)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPU:&amp;nbsp;&amp;nbsp; Freescale i.MX6Q rev1.5 at 792 MHz&lt;/P&gt;&lt;P&gt;CPU:&amp;nbsp;&amp;nbsp; Temperature 28 C, calibration data: 0x5a251669&lt;/P&gt;&lt;P&gt;Reset cause: POR&lt;/P&gt;&lt;P&gt;Board: MX6-SabreSD&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; 2 GiB&lt;/P&gt;&lt;P&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1&lt;/P&gt;&lt;P&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No panel detected: default to Hannstar-XGA&lt;/P&gt;&lt;P&gt;Display: Hannstar-XGA (1024x768)&lt;/P&gt;&lt;P&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;force_idle_bus: sda=0 scl=0 sda.gp=0x6d scl.gp=0x6c&lt;/P&gt;&lt;P&gt;force_idle_bus: failed to clear bus, sda=0 scl=0&lt;/P&gt;&lt;P&gt;wait_for_sr_state: Arbitration lost sr=93 cr=80 state=2020&lt;/P&gt;&lt;P&gt;i2c_init_transfer: failed for chip 0x8 retry=0&lt;/P&gt;&lt;P&gt;force_idle_bus: sda=0 scl=0 sda.gp=0x6d scl.gp=0x6c&lt;/P&gt;&lt;P&gt;force_idle_bus: failed to clear bus, sda=0 scl=0&lt;/P&gt;&lt;P&gt;i2c_init_transfer: give up i2c_regs=021a4000&lt;/P&gt;&lt;P&gt;boot device [5]&lt;/P&gt;&lt;P&gt;check_and_clean: reg 0, flag_set 0&lt;/P&gt;&lt;P&gt;Fastboot: Normal&lt;/P&gt;&lt;P&gt;flash target is MMC:0&lt;/P&gt;&lt;P&gt;Net:&amp;nbsp;&amp;nbsp; FEC [PRIME]&lt;/P&gt;&lt;P&gt;Normal Boot&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;=&amp;gt; dcache off&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;=&amp;gt; icache off&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;download from tftp the test software to 0x907000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;=&amp;gt; go 0x907000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;## Starting application at 0x00907000 ...&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; DDR Stress Test (2.5.2) &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; Build: Mar 31 2016, 23:45:43&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; Freescale Semiconductor, Inc.&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; Chip ID&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;CHIP ID = i.MX6 Dual/Quad (0x63)&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Internal Revision = TO1.5&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; Boot Configuration&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;SRC_SBMR1(0x020d8004) = 0x18480030&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;SRC_SBMR2(0x020d801c) = 0x22000001&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;What ARM core speed would you like to run? &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Type 1 for 800MHz, 2 for 1GHz, 3 for 1.2GHz&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;ARM Clock set to 1GHz&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; DDR configuration&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;BOOT_CFG3[5-4]: 0x00, Single DDR channel.&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;DDR type is DDR3 &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Data width: 64, bank num: 8&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Row size: 15, col size: 10&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Chip select CSD0 is used &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Density per chip select: 2048MB &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Current Temperature: 38&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;============================================&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Please select the DDR density per chip select (in bytes) on the board &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Type 0 for 2GB; 1 for 1GB; 2 for 512MB; 3 for 256MB; 4 for 128MB; 5 for 64MB; 6 for 32MB&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;For maximum supported density (4GB), we can only access up to 3.75GB. Type 7 to select this &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; DDR density selected (MB): 512&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Would do you want run DDR Calibration? Type 'y' to run and 'n' to skip&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;The DDR stress test can run with an incrementing frequency or at a static freq &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;To run at a static freq, simply set the start freq and end freq to the same value &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Would do you want run DDR Stress Test? Type 'y' to run and 'n' to skip&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Enter desired START freq (135 to 672 MHz), then hit enter. &lt;/P&gt;&lt;P style="font-size: 14px;"&gt; Note: DDR3 minimum is ~333MHz, do not recommend to go too much below this. &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;528&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; The freq you entered was: 528&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Enter desired END freq (135 to 672 MHz), then hit enter. &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Make sure this is equal to or greater than start freq &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;528&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&amp;nbsp; The freq you entered was: 528&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Do you want to run DDR Stress Test for simple loop or Over Night Test?&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Type '0' for simple loop. Type '1' for Over Night Test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;DDR Stress Test Iteration 1&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;Current Temperature: 40&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;DDR Freq: 528 MHz&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t0.1: data is addr test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t0: memcpy10 SSN x64 test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t1: memcpy8 SSN x64 test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t2: byte-wise SSN x64 test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t3: memcpy11 random pattern test &lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t4: IRAM_to_DDRv2 test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t5: IRAM_to_DDRv1 test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;t6: read noise walking ones and zeros test&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;DDR Stress Test is complete!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;2.&amp;nbsp; bdinfo&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;=&amp;gt; bdinfo&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;arch_number = 0x00000F8C&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;boot_params = 0x10000100&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;DRAM bank = 0x00000000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;-&amp;gt; start = 0x10000000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;-&amp;gt; size = 0x80000000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;eth0name = FEC&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;ethaddr = 00:01:02:03:04:05&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;current eth = FEC&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;ip_addr = &amp;lt;NULL&amp;gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;baudrate = 115200 bps&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;TLB addr = 0x8FFF0000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;relocaddr = 0x8FF4E000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;reloc off = 0x7874E000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;irq_sp = 0x8F54BEE0&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;sp start = 0x8F54BED0&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;FB base = 0x00000000&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px;"&gt;&lt;STRONG style="font-size: 14pt;"&gt;3.&amp;nbsp; Starting kernel result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; run bootcmd&lt;/P&gt;&lt;P&gt;booti mmc0 &lt;/P&gt;&lt;P&gt;kernel&amp;nbsp;&amp;nbsp; @ 14008000 (6879224)&lt;/P&gt;&lt;P&gt;ramdisk&amp;nbsp; @ 15000000 (500799)&lt;/P&gt;&lt;P&gt;fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ 14f00000 (42374)&lt;/P&gt;&lt;P&gt;kernel cmdline:&lt;/P&gt;&lt;P&gt;&amp;nbsp; use boot.img command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp; console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 consoleblank=0 video=mxcfb0:dev=ldb,1080P60,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 androidboot.hardware=freescale cma=384M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Loading Ramdisk to 8f4d0000, end 8f54a43f ... OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Loading Device Tree to 8f4c2000, end 8f4cf585 ... OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it never response again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, If I just the the DDR calibration data but set&amp;nbsp; CONFIG_DDR_MB = 1024 , the same kernel starts correctly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 07:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551791#M86256</guid>
      <dc:creator>huijieshen</dc:creator>
      <dc:date>2016-07-08T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade memory size from 1G to 2G make linux kernel stall(uboot 2014.04)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551792#M86257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi huijie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check power supplies, its ripples should be &amp;lt;5%&lt;/P&gt;&lt;P&gt;and capacitors values described on HW Design Checklist&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/docs/DOC-93819" title="https://community.freescale.com/docs/DOC-93819"&gt;https://community.freescale.com/docs/DOC-93819&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>Sat, 09 Jul 2016 00:48:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551792#M86257</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-09T00:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade memory size from 1G to 2G make linux kernel stall(uboot 2014.04)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551793#M86258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We fixed with your help, Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 04:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Upgrade-memory-size-from-1G-to-2G-make-linux-kernel-stall-uboot/m-p/551793#M86258</guid>
      <dc:creator>huijieshen</dc:creator>
      <dc:date>2016-07-20T04:57:27Z</dc:date>
    </item>
  </channel>
</rss>

