<?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: imx7, runaway loop modprobe binfmt-464c in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711149#M110568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seeing a similar problem...these have to be the least helpful technical support answers on the web.&amp;nbsp; I've seen reference to the 32 vs 64 bit mismatch before, but not in the context of ARM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 05:12:08 GMT</pubDate>
    <dc:creator>kballantyne</dc:creator>
    <dc:date>2020-08-12T05:12:08Z</dc:date>
    <item>
      <title>imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711143#M110562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to bring up a Yocto build on a custom i.MXD board which uses NAND flash.&lt;BR /&gt;I am using yocto build from fsl-community-bsp (Morty), MACHINE=imx7dsabresd (modified).&lt;BR /&gt;Here is part of the machine config I use:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;IMAGE_FSTYPES := "ubifs cpio.gz"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;MKUBIFS_ARGS = "--squash-uids --min-io-size 2048 --leb-size 126976 --max-leb-cnt 940"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;KERNEL_CLASSES ?= " kernel-fitimage "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;KERNEL_IMAGETYPE := "fitImage"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;# imx7koji-initramfs is defined as a recipe in recipe-core/image/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;INITRAMFS_IMAGE = "imx7koji-initramfs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created append recipes to customize u-boot (u-boot-imx_2016.03.bbappend); to&amp;nbsp;add a new device tree and change kernel config (linux-imx_4.1.15.bbappend).&lt;/P&gt;&lt;P&gt;Yocto builds fine, however when tried to boot the board, the kernel is not able to run "/init":&lt;BR /&gt;===&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Freeing unused kernel memory: 188K (804f7000 - 80526000)&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;request_module: runaway loop modprobe binfmt-464c&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;request_module: runaway loop modprobe binfmt-464c&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Failed to execute /init (error -8)&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;request_module: runaway loop modprobe binfmt-464c&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Starting init: /sbin/init exists but couldn't execute it (error -8)&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;request_module: runaway loop modprobe binfmt-464c&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Starting init: /bin/sh exists but couldn't execute it (error -8)&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;Rebooting in 5 seconds..&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;===&lt;BR /&gt;I searched online for these errors, and they seem to be related to mismatch in the architecture of the kernel 32bit and OS 64bit, but in my case I have both 32-bits.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ &lt;SPAN style="font-size: 13px;"&gt;file ./linux-imx/4.1.15-r0/build/vmlinux&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;./linux-imx/4.1.15-r0/build/vmlinux: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, BuildID[sha1]=9d64e3cab02bd4ab3c548b18c1dc5228116cf913, not stripped&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;$ file sbin/init.sysvinit&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;deploy/images/imx7koji/mp/sbin/init.sysvinit: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.2.0, BuildID[sha1]=610388df391c1223d7522530fde8097537356288, stripped&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Othe people suggested "error -8" is invalid format so the kernel needs to support ELF. In my case, the kernel config includes that.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;CONFIG_BINFMT_ELF=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;CONFIG_BINFMT_SCRIPT=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what could be the root cause?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 14:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711143#M110562</guid>
      <dc:creator>carlosbejar-col</dc:creator>
      <dc:date>2017-09-22T14:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711144#M110563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first please run ddr test for custom board&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V2.70&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and rebuild image with new calibration coefficients in uboot/board/freescale/mx7dsabresd/imximage.cfg&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7dsabresd?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7dsabresd?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7dsabresd?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then try with minimal configuartion using sect.5.1 Build configurations&lt;/P&gt;&lt;P&gt;and Table 1. Freescale Yocto project images attached Yocto Guide with nxp official bsps described on&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.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&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>Mon, 25 Sep 2017 08:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711144#M110563</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-09-25T08:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711145#M110564</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;&lt;/P&gt;&lt;P&gt;Could you provide  more information about the suspicious part that causes the error I posted?&lt;/P&gt;&lt;P&gt;I don’t know much about the DDR Stress Tool, but do you thing the memory RAM is “out of calibration” that can cause that problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 14:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711145#M110564</guid>
      <dc:creator>carlosbejar-col</dc:creator>
      <dc:date>2017-09-25T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711146#M110565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for new board first it is necessary to run ddr test to avoid memory errors,&lt;/P&gt;&lt;P&gt;please look at appnote AN4467 i.MX6 Series DDR Calibration&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4467.pdf" title="https://www.nxp.com/docs/en/application-note/AN4467.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4467.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and description and comments on&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="105652" data-objecttype="102" href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V2.70&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>Tue, 26 Sep 2017 02:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711146#M110565</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-09-26T02:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711147#M110566</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 quick reply. Just want to mention the board already runs a custom Linux that was built in a non-Yocto environment.&lt;/P&gt;&lt;P&gt;Now, we are trying to move to Yocto Project and that is when we are facing the issue.&lt;/P&gt;&lt;P&gt;I have noticed the initramfs created by Yocto has the hard-float ABI enabled while the Kernel is soft-float ABI. Could this mismatch cause the issue?&lt;/P&gt;&lt;P&gt;If yes, how can I change it to soft-float in Yocto?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ readelf -h sbin/init.sysvinit | grep Flag&lt;/P&gt;&lt;P&gt;  Flags:                             0x5000400, Version5 EABI, hard-float ABI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ readelf -h ./build/vmlinux | grep Flags&lt;/P&gt;&lt;P&gt;  Flags:                             0x5000200, Version5 EABI, soft-float ABI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711147#M110566</guid>
      <dc:creator>carlosbejar-col</dc:creator>
      <dc:date>2017-09-26T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711148#M110567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to build using Yocto Guide included in Linux Doc packages on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageTyp…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&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>Tue, 26 Sep 2017 23:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711148#M110567</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-09-26T23:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx7, runaway loop modprobe binfmt-464c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711149#M110568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seeing a similar problem...these have to be the least helpful technical support answers on the web.&amp;nbsp; I've seen reference to the 32 vs 64 bit mismatch before, but not in the context of ARM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 05:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-runaway-loop-modprobe-binfmt-464c/m-p/711149#M110568</guid>
      <dc:creator>kballantyne</dc:creator>
      <dc:date>2020-08-12T05:12:08Z</dc:date>
    </item>
  </channel>
</rss>

