<?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: Problem with boot from eMMC on custom board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998172#M148017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I solved the problem after ddr calibration.&lt;/P&gt;&lt;P&gt;Though I encounter 「Bad Linux ARM zImage magic!」 problem in uboot,but I can deal with it temporarily by boot kernel manual.&lt;/P&gt;&lt;P&gt;Now I can enter Linux kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2020 01:26:51 GMT</pubDate>
    <dc:creator>kr90911</dc:creator>
    <dc:date>2020-02-27T01:26:51Z</dc:date>
    <item>
      <title>Problem with boot from eMMC on custom board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998170#M148015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,all&lt;/P&gt;&lt;P&gt;I burned official example file&amp;nbsp; u-boot-imx6ull14x14evk_emmc.imx and fsl-image-validation-imx-imx6ul7d.sdcard in my custom board by UUU tool.The command I used:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;./uuu.exe emmc_all&amp;nbsp;&lt;SPAN&gt;u-boot-imx6ull14x14evk_emmc.imx&amp;nbsp;fsl-image-validation-imx-imx6ul7d.sdcard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I powered on board,and the boot process stuck in&amp;nbsp;Starting kernel ,here is uboot message:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df (Apr 11 2019 - 13:47:37 +0000)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 32C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: Freescale i.MX6 UltraLite 14x14 EVK Board&lt;BR /&gt;Board: MX6UL 14x14 EVK&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Failed (-5)&lt;BR /&gt;Display: TFT43AB (480x272)&lt;BR /&gt;Video: 480x272x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1(part 0) is current device&lt;BR /&gt;flash target is MMC:1&lt;BR /&gt;Net:&lt;BR /&gt;Error: ethernet@020b4000 address not set.&lt;BR /&gt;No ethernet found.&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1(part 0) is current device&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1(part 0) is current device&lt;BR /&gt;** Unable to read file boot.scr **&lt;BR /&gt;7491560 bytes read in 181 ms (39.5 MiB/s)&lt;BR /&gt;Booting from mmc ...&lt;BR /&gt;37340 bytes read in 14 ms (2.5 MiB/s)&lt;BR /&gt;Kernel image @ 0x80800000 [ 0x000000 - 0x724fe8 ]&lt;BR /&gt;## Flattened Device Tree blob at 83000000&lt;BR /&gt; Booting using the fdt blob at 0x83000000&lt;BR /&gt; Using Device Tree in place at 83000000, end 8300c1db&lt;BR /&gt;ft_system_setup for mx6&lt;/P&gt;&lt;P&gt;Starting kernel ...&amp;nbsp; &amp;nbsp;**stuck here**&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After that,I found it might caused by printk disabled(&lt;A class="link-titled" href="https://stackoverflow.com/questions/52547468/linux-kernel-driver-hangs-freeze-after-handling-mapped-register" title="https://stackoverflow.com/questions/52547468/linux-kernel-driver-hangs-freeze-after-handling-mapped-register"&gt;LINUX KERNEL driver hangs/freeze after handling mapped register - Stack Overflow&lt;/A&gt;&amp;nbsp;).So I modified imx6ul.dtsi and replace pwm1 status from "disabled"&amp;nbsp; to "okay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build&amp;nbsp;core-image-minimal-imx6ulevk.rootfs.sdcard&amp;nbsp;with bitbake,and burned my board again by UUU tool.&lt;/P&gt;&lt;P&gt;But the boot process still hang in Starting kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I missed something,comment below,please.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 03:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998170#M148015</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-02-21T03:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with boot from eMMC on custom board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998171#M148016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi west&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"official example file" will not work on custom board as they are built for&lt;/P&gt;&lt;P&gt;nxp reference boards. For custom board images should be rebuilt.&lt;/P&gt;&lt;P&gt;In general for new board recommended first to run ddr test&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V3.00&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then update ddr calibration coefficients in uboot/board/freescale/mx6ul_14x14_evk/imximage.cfg&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ul_14x14_evk/imximage.cfg?h=imx_v2018.03_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ul_14x14_evk/imximage.cfg?h=imx_v2018.03_4.14.98_2.0.0_ga"&gt;imximage.cfg\mx6ul_14x14_evk\freescale\board - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Feb 2020 04:37:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998171#M148016</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-22T04:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with boot from eMMC on custom board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998172#M148017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I solved the problem after ddr calibration.&lt;/P&gt;&lt;P&gt;Though I encounter 「Bad Linux ARM zImage magic!」 problem in uboot,but I can deal with it temporarily by boot kernel manual.&lt;/P&gt;&lt;P&gt;Now I can enter Linux kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 01:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-boot-from-eMMC-on-custom-board/m-p/998172#M148017</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-02-27T01:26:51Z</dc:date>
    </item>
  </channel>
</rss>

