<?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: Unable to boot from emmc</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800413#M123709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dani&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mfg tool customization one can also check&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/production/deploying-image-mfgtool.html" title="https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/production/deploying-image-mfgtool.html"&gt;4.4. Installing a Development Build using USB — Working with the Rigado Vesta Gateway v1.0.16 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and nxp has special service for helping with customizations:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services|NXP&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>Wed, 24 Oct 2018 03:01:30 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-10-24T03:01:30Z</dc:date>
    <item>
      <title>Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800402#M123698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My&amp;nbsp;attempts to boot from internal emmc were in vain. I tried this on a custom board based on the evaluation board 6sx sabre sdb (&lt;A href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX6SOLOX-SABRESDB-DESIGNFILES&amp;amp;appType=file2&amp;amp;DOWNLOAD_ID=null&amp;amp;lang_cd=en"&gt;design files&lt;/A&gt;). In our layout we want to use the emmc flash&amp;nbsp;on the periphery SD4 (equivalent to having U4 populated on page 9 in schematic sheets).&lt;/P&gt;&lt;P&gt;Booting from a micro sd card (periphery on SD3) works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What have I tried?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have tried with MFG Tool from&amp;nbsp;IMX6_L5.1_2.1.0_MFG_TOOL&lt;OL&gt;&lt;LI&gt;I modified the config files according to the attached mfgTool-files.7z . The files in the firmware directory should be the default ones provided by the packages.&lt;/LI&gt;&lt;LI&gt;Additionally I copied the zImage, the devicetree, the rootfs.tar.bz2 and the u-boot.imx from yocto's deploy folder (after &lt;EM&gt;bitbake core-image-sato&lt;/EM&gt;) to the &lt;EM&gt;Profiles/custom/OS Firmware/files&lt;/EM&gt; directory.&lt;/LI&gt;&lt;LI&gt;Unfortunately after displaying&amp;nbsp;&lt;EM&gt;Jumping to OS image&lt;/EM&gt;&amp;nbsp;in the tool the process stops with displaying the message 'No Device Connected'. On device's UART one can see the messages, where I don't understand why it waits for mmc1.&lt;BR /&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;UTP: Waiting for device to appear&lt;BR /&gt;Starting UTP&lt;BR /&gt;uuc 0.5 [built Oct 31 2015 21:15:01]&lt;BR /&gt;UTP: Waiting for device to appear&lt;BR /&gt;mmc1: Timeout waiting for hardware interrupt.&lt;BR /&gt;mmc1: Timeout waiting for hardware interrupt.&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;LI&gt;After a lot of time (several minuts) and repetition of last line the last outputs on UART are:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;mmc1: Timeout waiting for hardware interrupt.&lt;BR /&gt;mmc3: BKOPS_EN bit is not set&lt;BR /&gt;mmc3: switch to highspeed failed&lt;BR /&gt;mmc3: new MMC card at address 0001&lt;BR /&gt;mmcblk3: mmc3:0001 P1XXXX 3.60 GiB&lt;BR /&gt;mmcblk3boot0: mmc3:0001 P1XXXX partition 1 16.0 MiB&lt;BR /&gt;mmcblk3boot1: mmc3:0001 P1XXXX partition 2 16.0 MiB&lt;BR /&gt;mmcblk3rpmb: mmc3:0001 P1XXXX partition 3 128 KiB&lt;BR /&gt;mmcblk3: p1 p2&lt;BR /&gt;mmcblk3boot1: unknown partition table&lt;BR /&gt;mmcblk3boot0: unknown partition table&lt;/BLOCKQUOTE&gt;Attached you can find MfgTool.log an the mfg_output.log.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Flashing with linux:&lt;OL&gt;&lt;LI&gt;I tried to copy the whole *.sdcard image to emmc using dd.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Pulled&amp;nbsp;BT_CFG11 pin to high-level&lt;/LI&gt;&lt;LI&gt;Devices just doesn't boor nor prints out anything on UART&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Flashing with u-boot&lt;OL&gt;&lt;LI&gt;Similar to previous point. Flashing *.sdcard (commands used attached in uboot_cmds.txt).&lt;/LI&gt;&lt;LI&gt;Pulled BT_CFG11 pin to high-level&lt;/LI&gt;&lt;LI&gt;Flashing doesn't work&lt;/LI&gt;&lt;LI&gt;What did work is to boot partially from internal emmc by&amp;nbsp;changing 'mmcroot' to&lt;BR /&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;/dev/mmcblk3p2 rootwait rw&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what do I have to change?&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800402#M123698</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-16T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800403#M123699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi stimpy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looking at logs, there may be many reasons for misbehaviour, including:&lt;/P&gt;&lt;P&gt;- memory issues&lt;/P&gt;&lt;P&gt;one can run ddr test &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-105652Â"&gt;https://community.nxp.com/docs/DOC-105652&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and rebuild image and mfg tool firmware with new ddr calibartion settings&lt;/P&gt;&lt;P&gt;- emmc signal integrity issues&lt;/P&gt;&lt;P&gt;one can check emmc layout and its signals with oscilloscope&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For test may be suitable baremetal sdk, zip can be found on &amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="432859" data-objecttype="1" href="https://community.nxp.com/thread/432859"&gt;https://community.nxp.com/thread/432859&lt;/A&gt;&lt;BR /&gt;adapt it for i.MX6SX and perform simple read/write test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be recommended first try with linux, it is much simpler (use L3.14.52 GA as L5.1_2.1.0 uses this kernel)&lt;/P&gt;&lt;P&gt;i.MX 6 Series Manufacturing Toolkit for Linux 3.14.52 Release&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=IMX6_L3.14.52_MFG_TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=IMX6_L3.14.52_MFG_TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=IMX6_L3.14.52_MFG_TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=133769948…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what bsp was used when you generated new images, please use nxp official from codeaurora.org repository:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_3.14.52_1.1.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_3.14.52_1.1.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=nxp%2Fimx_v2015.04_3.14.52_1.1.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=nxp%2Fimx_v2015.04_3.14.52_1.1.0_ga"&gt;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;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 01:25:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800403#M123699</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-17T01:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800404#M123700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify my starting post: I don't understand why during flashing with MfgTool the system keeps looking fro mmc1 instead of mmc3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did run a DDR test and it did run up to 591 MHz successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to&amp;nbsp;boot from eMMC&amp;nbsp;the BT_CFG need to be set correctly. Here I was a bit mislead. Setting BT_CFG1[3] and BT_CFG2[7,6,3,2] to high did the trick. At least like that I am able to start u-boot from eMMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;however I cannot boot entirely:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using MfgTools I am getting stuck at the same point.&amp;nbsp; mmc1 is timeouting even though I don't want to have anything done with that device.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When flashing with u-boot I get complaints about it not being able to find the correct device trees. Using ls mmc 2:1 I&amp;nbsp;can see the uImage (at least the files name is uImage, the size is equivalent to the zImage one) however no dts file. Manually copying the two files does the trick there.&amp;nbsp;I am just surprised and wondering how this can be changed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks in advance for any suggestions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 12:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800404#M123700</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-17T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800405#M123701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a new attempt and build this time the mfg tool files too using yocto (&lt;EM&gt;bitbake fsl-image-mfgtool-initramfs&lt;/EM&gt;). Instead of using the firmware files provided by L3.14.52_1.1.0_ga-mfg tools (no clue whats the different to the L4 and L5 ones) I used this time by own ones:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;u-boot.imx-mfgtool&lt;/LI&gt;&lt;LI&gt;zImage&lt;/LI&gt;&lt;LI&gt;dtb file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It stalls just after &lt;EM&gt;Jumping to OS&lt;/EM&gt; where the program is showing &lt;EM&gt;No device connected&lt;/EM&gt;. The output is attached (mfgtool_output.log). The last few lines:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;mmcblk3boot0: mmc3:0001 P1XXXX partition 1 16.0 MiB&lt;BR /&gt;snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:15:27 UTC (927)&lt;BR /&gt;usb_otg1_vbus: disabling&lt;BR /&gt;PSU-5V0: disabling&lt;BR /&gt;mmcblk3boot1: mmc3:0001 P1XXXX partition 2 16.0 MiB&lt;BR /&gt;can-en: disabling&lt;BR /&gt;can-stby: disabling&lt;BR /&gt;Freeing unused kernel memory: 1024K&lt;BR /&gt;mmcblk3rpmb: mmc3:0001 P1XXXX partition 3 128 KiB&lt;BR /&gt; mmcblk3: p1 p2&lt;BR /&gt;Starting UTP&lt;BR /&gt;uuc 0.5 [built Dec 3 2015 08:26:46]&lt;BR /&gt;UTP: Waiting for device to appear&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It does find the mmc3 but I have to clue what it is waiting for. UTP?&lt;/P&gt;&lt;P&gt;I even tried with my initramfs file (fsl-image-mfgtool-initramfs-imx6sxsabresd.cpio.gz.u-boot) but somehow this file has a size of 130MB!&amp;nbsp;and it didn't work at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800405#M123701</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-17T15:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800406#M123702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this emmc is broken, could you try with brand new emmc&lt;/P&gt;&lt;P&gt;or try to write/read from it using uboot commands mmc dev, mmcinfo,&lt;/P&gt;&lt;P&gt;mmc write. You can also take some working emmc, for example from i.MX6Q Sabre SD&lt;/P&gt;&lt;P&gt;board and place it on custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 04:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800406#M123702</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-18T04:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800407#M123703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;It does find the mmc3 but I have to clue what it is waiting for. UTP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"waiting for. UTP" means that there is no communication channel through usb.&lt;/P&gt;&lt;P&gt;Is board working fine when programming with mfg tool other devices, for example sd?&lt;/P&gt;&lt;P&gt;Also one can check if mfg tool is starting correctly: just click mfgtool2-yocto-mx-sabresd-sdcard-sd4.vbs&lt;/P&gt;&lt;P&gt;script and tool will start with all necessary parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding "mfgtool_output.log.zip" - I noticed that you used Linux version 4.9.88 for it.&lt;/P&gt;&lt;P&gt;Note mfg tool package is linked to appropriate linux kernel and files in L3.14.52_1.1.0_ga-mfg tools&lt;/P&gt;&lt;P&gt;can not be replaced with files compiled with L4.9.88. Please look at link below&lt;/P&gt;&lt;P&gt;and use Linux version 4.9.88 Mfg Tool for files compiled with L4.9.88:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76234i27EAE3309C957C80/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same is valid for Android- for example latest&amp;nbsp;Android O8.0.0_1.0.0 is based on L4.9.11 GA&lt;/P&gt;&lt;P&gt;according to Release Notes included in &amp;nbsp; &lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX_O8.0.0_1.0.0_ANDROID_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;Android O8.0.0_1.0.0 BSP Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and only L4.9.11 GA should be used for compilation new mfg tool firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76316i6EF4DED1F03073C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 04:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800407#M123703</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-18T04:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800408#M123704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;igorpadykov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your&amp;nbsp;statement&amp;nbsp;&lt;EM&gt;may be this emmc is broken&lt;/EM&gt;:&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;I am able to copy data to emmc with u-boot&amp;nbsp;and then I was able to boot from it. Furthermore when deleting parts of&amp;nbsp;emmc memory ( something like: mmc dev 2; mmc erase 0 1000 ) I was not able to boot anymore. From this I would say the emmc memory should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for the hint.&amp;nbsp;I switch to mfgtools of &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;L4.9.88:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Using the&amp;nbsp;package as is seems&amp;nbsp;to stall at partitioning and the message&lt;BR /&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;“wait for /dev/mmcblk3 appear&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;For&amp;nbsp;the files in firmware and in files directory I was using the files generated with yocto (with the exception from the initramfs file). The output on console is attached (mfg_output_yoctofiles.log) as well as the program output (mfg_call_yoctofiles.log). I am getting a slight step further here:&lt;BR /&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Start UTP at ci_hdrc.0&lt;BR /&gt;uuc /dev/utp&lt;BR /&gt;uuc 0.5 [built May 1 2018 14:29:24]&lt;BR /&gt;UTP: Waiting for /dev/utp to appear&lt;BR /&gt;UTP: file/device node /dev/utp already exists&lt;BR /&gt;cpu_id is 0&lt;BR /&gt;configfs-gadget gadget: high-speed config #1: c&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have noticed that the available RAM is shown to be 1GB however it is actually half of it. In the ordinary u-boot used when flashing to and booting from SD cards this is fixed.&lt;BR /&gt;Furthermore it recognizes the internal mmc:&lt;BR /&gt;mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;BR /&gt;mmc3: mmc_select_hs200 failed, error -74&lt;BR /&gt;mmc3: new MMC card at address 0001&lt;BR /&gt;mmcblk3: mmc3:0001 P1XXXX 3.60 GiB&lt;BR /&gt;mmcblk3boot0: mmc3:0001 P1XXXX partition 1 16.0 MiB&lt;BR /&gt;mmcblk3boot1: mmc3:0001 P1XXXX partition 2 16.0 MiB&lt;BR /&gt;mmcblk3rpmb: mmc3:0001 P1XXXX partition 3 128 KiB&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Using my huge initramfs file doesn't produce any output&amp;nbsp;on the console. It has the size of about 130 MB while I expected a couple of MBs. Is this something that needs to be worked on?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When using the provided&amp;nbsp;files in firmware folder however with my custom device tree and using own generated files in files folder&amp;nbsp;the output looks very similar (mfg_call_provided.log and mfg_output_provided.log).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Using the provided device tree looks similar again.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 09:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800408#M123704</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-18T09:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800409#M123705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;For&amp;nbsp;the files in firmware and in files directory I was using the files generated with yocto &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;gt;(with the exception from the initramfs file). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;file fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot should be also replaced with new&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;one, please use attached Yocto Guide sect.6.2 Manufacturing Tool, MFGTool, with uboot changes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;specific for custom board (&amp;nbsp; uboot/../mx6sxsabresd/imximage.cfg - changes new ddr calibration settings found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;from ddr test, ddr size in uboot/include/configs/mx6sxsabresd.h : &amp;nbsp; #define PHYS_SDRAM_SIZE&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SZ_1G )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;~igor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 02:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800409#M123705</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-19T02:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800410#M123706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I build the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot on rocko?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Using the command&amp;nbsp;bitbake linux-mfgtool brings to the errors explained here:&amp;nbsp;&lt;A href="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-June/022766.html"&gt;https://lists.yoctoproject.org/pipermail/meta-freescale/2018-June/022766.html&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Uncommenting in the file &lt;EM&gt;meta-freescale/recipes-kernel/linux/linux-mfgtool.inc&lt;/EM&gt; the line containing &lt;EM&gt;e.data.setVar("MLPREFIX", "mfgtool-")&lt;/EM&gt; doesn't help and leads to the follow-up:&amp;nbsp;&lt;A href="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-June/022770.html"&gt;https://lists.yoctoproject.org/pipermail/meta-freescale/2018-June/022770.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Creating a directory meta-mylayer/recipes-kernel/linux/mfgtool-linux-imx and copying file defconfig from meta-freescale/recipes-kernel/linux/&amp;nbsp; didn't help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800410#M123706</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-22T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800411#M123707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what bsp used in the case&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/323782"&gt;difference between Yocto Community BSP and Freescale BSP Release&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;community bsps may not work well with mfg tool, for nxp releases it is explained&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;in Yocto Guide sect.6.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards&lt;BR /&gt;igor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 06:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800411#M123707</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-23T06:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800412#M123708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0px;"&gt;Hi igor,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;I find it difficult to follow. Could you be a bit more specific please? I did read this chapter 6.2 from the Yocto Guide. As stated in my 3rd post I did run the command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;bitbake fsl-image-mfgtool-initramfs .&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;I am able to build a u-boot-mfgtool file&amp;nbsp;as well as a u-boot-imx6sxsabresd-mfgtool.imx-mfgtool . However when using those two files as firmware with MfgTool it doesn't work: At a certain moment the tool return saying it did it successfully however on UART&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;no text was transmitted. What I have noticed is that the later mentioned file is huge (130 MB) in comparison to the provided file with a slightly different name fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot (9 MB). Don't you think this 130 MB is far too big?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to follow your advice from&amp;nbsp;October 19th or at least what I am understanding from it: Adding file meta-mylayer/recipes-fsl/images/fsl-image-mfgtool-initramfs%.bbappend:&lt;/P&gt;&lt;PRE class="language-none"&gt;&lt;CODE&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/:"

SRC_URI += "&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; &amp;nbsp;&amp;nbsp;&amp;nbsp; file://1GBto512MB.patch \
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "‍‍‍‍‍‍‍‍‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also adding the patch file to the same directory. However bitbake fails saying:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: fsl-image-mfgtool-initramfs-1.0-r0 do_populate_lic: QA Issue: fsl-image-mfgtool-initramfs: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum]&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ERROR: fsl-image-mfgtool-initramfs-1.0-r0 do_populate_lic: Fatal QA errors found, failing task.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ERROR: fsl-image-mfgtool-initramfs-1.0-r0 do_populate_lic: Function failed: populate_lic_qa_checksum&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ERROR: Logfile of failure stored in: /opt/yocto/build/tmp/work/imx6sxsabresd-poky-linux-gnueabi/fsl-image-mfgtool-initramfs/1.0-r0/temp/log.do_populate_lic.49965&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ERROR: Task (/opt/yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb:do_populate_lic) failed with exit code '1'&lt;/SPAN&gt;
NOTE: Tasks Summary: Attempted 3635 tasks of which 3630 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
 /opt/yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb:do_populate_lic
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.&lt;/PRE&gt;&lt;P&gt;I have no clue how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 11:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800412#M123708</guid>
      <dc:creator>stimpy</dc:creator>
      <dc:date>2018-10-23T11:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from emmc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800413#M123709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dani&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mfg tool customization one can also check&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/production/deploying-image-mfgtool.html" title="https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/production/deploying-image-mfgtool.html"&gt;4.4. Installing a Development Build using USB — Working with the Rigado Vesta Gateway v1.0.16 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and nxp has special service for helping with customizations:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services|NXP&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>Wed, 24 Oct 2018 03:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-emmc/m-p/800413#M123709</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-24T03:01:30Z</dc:date>
    </item>
  </channel>
</rss>

