<?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: adding/including the M4 binary into SD card image created by Yocto build in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673660#M103802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for information Carlos&lt;/P&gt;&lt;P&gt;but the recipes is for placing the file in linux root file system, not in the Fat partition boot space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some how found the solution by&amp;nbsp;adding below 2 line of script in file "&lt;STRONG&gt;image_types_fsl&lt;/STRONG&gt;.&lt;STRONG&gt;bbclass&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb ::/${DTS_BASE_NAME}.dtb&lt;BR /&gt; &lt;STRONG&gt;if [ -f ${DEPLOY_DIR_IMAGE}/m4_qspi.bin ]; then&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/m4_qspi.bin ::/m4_qspi.bin&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; fi&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 12:06:37 GMT</pubDate>
    <dc:creator>niranjanbc</dc:creator>
    <dc:date>2017-07-20T12:06:37Z</dc:date>
    <item>
      <title>adding/including the M4 binary into SD card image created by Yocto build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673656#M103798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;anyone know how to&amp;nbsp;add/include the M4 binary from particular path into SD card image created by Yocto build for IMX6Solox.&lt;/P&gt;&lt;P&gt;currently we copy M4 binary into Fat partition on SD card, i want to add this into SD card image itself when we do bitbake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673656#M103798</guid>
      <dc:creator>niranjanbc</dc:creator>
      <dc:date>2017-07-18T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: adding/including the M4 binary into SD card image created by Yocto build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673657#M103799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niranjan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this you must handle M4 application as a Linux Kernel Module (LKM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following post shows a good example of an application than runs as a LKM.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333803"&gt;Running RPMsg Demo Applications for Multicore Communication with IMX6SX and IMX7D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add your custom LKM to munuconfig and to be built with the whole kernel you may look for general Linux literature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 good references are the following books:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title: Linux Driver development for Embedded Processors&lt;/P&gt;&lt;P&gt;Author: Alberto Liberal de los Rios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title: Embedded Linux Primer&lt;/P&gt;&lt;P&gt;Author: Christopher Hallinan&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 18 Jul 2017 17:18:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673657#M103799</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-07-18T17:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: adding/including the M4 binary into SD card image created by Yocto build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673658#M103800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is not i was looking for, i still want u-boot to enable and update M4.&lt;/P&gt;&lt;P&gt;all i want is when i do bitbake, we create sdcard image which 3 partitions .&lt;/P&gt;&lt;P&gt;where one is Fat partition with Zimage, dtb file. i want M4 image to be included into that partition.&lt;/P&gt;&lt;P&gt;so i dont have to copy manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Niranjan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 17:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673658#M103800</guid>
      <dc:creator>niranjanbc</dc:creator>
      <dc:date>2017-07-18T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: adding/including the M4 binary into SD card image created by Yocto build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673659#M103801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create a recipe in Yocto to add this file. Here an explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105374"&gt;How to include any files in rootfs with YOCTO&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos,&lt;/P&gt;&lt;P&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>Tue, 18 Jul 2017 21:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673659#M103801</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-07-18T21:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: adding/including the M4 binary into SD card image created by Yocto build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673660#M103802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for information Carlos&lt;/P&gt;&lt;P&gt;but the recipes is for placing the file in linux root file system, not in the Fat partition boot space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some how found the solution by&amp;nbsp;adding below 2 line of script in file "&lt;STRONG&gt;image_types_fsl&lt;/STRONG&gt;.&lt;STRONG&gt;bbclass&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb ::/${DTS_BASE_NAME}.dtb&lt;BR /&gt; &lt;STRONG&gt;if [ -f ${DEPLOY_DIR_IMAGE}/m4_qspi.bin ]; then&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/m4_qspi.bin ::/m4_qspi.bin&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; fi&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-including-the-M4-binary-into-SD-card-image-created-by/m-p/673660#M103802</guid>
      <dc:creator>niranjanbc</dc:creator>
      <dc:date>2017-07-20T12:06:37Z</dc:date>
    </item>
  </channel>
</rss>

