<?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: imx6q root file system encryption problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428920#M65166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Poonguzhali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/keyfile" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ cat $FILE | cryptsetup luksFormat /dev/mmcblk%mmc%p3 -"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ cryptsetup luksOpen --key-file=$FILE /dev/mmcblk%mmc%p3 mmcblk%mmc%p3"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkfs.ext3 -E nodiscard /dev/mapper/mmcblk%mmc%p3"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mapper/mmcblk%mmc%p3 /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk%mmc%p3" file="files/rootfs.tar.bz2"&amp;gt;Sending and writting rootfs&amp;lt;/CMD&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;lt;CMD state="Updater" type="push" body="frf"&amp;gt;Finishing rootfs write&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the mfgtools script that we use to encrypt rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Yen&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 09:29:08 GMT</pubDate>
    <dc:creator>yenchao</dc:creator>
    <dc:date>2015-11-17T09:29:08Z</dc:date>
    <item>
      <title>imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428916#M65162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on imx6q and would like to encrypt the root file system by mfgtools.&lt;/P&gt;&lt;P&gt;Attachment ucl2.xml is the script for mfgtools that I used for encryption.&lt;/P&gt;&lt;P&gt;After executing "cryptsetup luksOpen", it always crash when I try to copy root file system into the partition.&lt;/P&gt;&lt;P&gt;It will show some messages as attachment console.txt when it crashed.&lt;/P&gt;&lt;P&gt;I saw some key words like "aes_encrypt", "async_encrypt"...etc in the messages.&lt;/P&gt;&lt;P&gt;So I guess that the problem might be the encryption.&lt;/P&gt;&lt;P&gt;But I have no idea how to fix it.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Does anyone know how to resolve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Any advices and suggestions will be greatly appreciated!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Yen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336772"&gt;console.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336772"&gt;ucl2.xml.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:59:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428916#M65162</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-07-21T08:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428917#M65163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from console log there is no indication that problem is encryption,&lt;/P&gt;&lt;P&gt;seems there are problems with memory, may be insufficient or&lt;/P&gt;&lt;P&gt;misconfigured. One can try to run it with one core: maxcpus=1 or nosmp and&lt;/P&gt;&lt;P&gt;decrease cma size. Also it may be recommended to run these commands&lt;/P&gt;&lt;P&gt;on linux image.&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>Wed, 22 Jul 2015 01:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428917#M65163</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-07-22T01:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428918#M65164</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;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I add "maxcpus=1" at the kernel command line and it is fine for mfgtools to encrypt root file system.&lt;/P&gt;&lt;P&gt;After mfgtools and log into the os, it still crash when I copy or un-tar file into encrypted root file system.(I didn't set maxcpus=1 at regular boot)&lt;/P&gt;&lt;P&gt;Is encryption only could use on one cpu?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Yen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428918#M65164</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-07-22T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428919#M65165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen,&lt;/P&gt;&lt;P&gt;While trying rootfile system encryption using mfgtool, stuck at a point wherein cryptsetup command is not available.&lt;/P&gt;&lt;P&gt;So, just tried listing of cryptsetup command by adding the below line in ucl2.xml&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;CMD state="Updater" type="push" body="$ ls -al cryptsetup"/&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to check whether cryptsetup command is available in mfgtool or not. But the above command fails with "no such file or directory error".&lt;/P&gt;&lt;P&gt;The log contents are below.&lt;/P&gt;&lt;P&gt;UTP: received command '$ ls -al cryptsetup'&lt;/P&gt;&lt;P&gt;UTP: executing "ls -al cryptsetup"&lt;/P&gt;&lt;P&gt;ls: cryptsetup: No such file or directory&lt;/P&gt;&lt;P&gt;UTP: sending Non-success to kernel for command $ ls -al cryptsetup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share the steps of how you included the cryptsetup command in the mfgtool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Poonguzhali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428919#M65165</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-17T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428920#M65166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Poonguzhali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/keyfile" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ cat $FILE | cryptsetup luksFormat /dev/mmcblk%mmc%p3 -"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ cryptsetup luksOpen --key-file=$FILE /dev/mmcblk%mmc%p3 mmcblk%mmc%p3"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkfs.ext3 -E nodiscard /dev/mapper/mmcblk%mmc%p3"&amp;gt;Encrypting and Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mapper/mmcblk%mmc%p3 /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk%mmc%p3" file="files/rootfs.tar.bz2"&amp;gt;Sending and writting rootfs&amp;lt;/CMD&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;lt;CMD state="Updater" type="push" body="frf"&amp;gt;Finishing rootfs write&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the mfgtools script that we use to encrypt rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Yen&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428920#M65166</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-11-17T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428921#M65167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen, &lt;/P&gt;&lt;P&gt;Thanks for the quick response and the details.&lt;/P&gt;&lt;P&gt;In my case, cryptsetup command itself is not found.&lt;/P&gt;&lt;P&gt;My question is how to get the cryptsetup command available in order to perform the steps mentioned by you for encrypt rootfs. Have you done anything for enabling the cryptsetup command in mfgtool before updating the ucl2.xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Poonguzhali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428921#M65167</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-17T09:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428922#M65168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Poonguzhali,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;We build the rootfs by yocto project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I guess you have to build "cryptsetup" into your rootfs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Sorry, &lt;/SPAN&gt;I'm a newbie on bsp, so maybe I can't give you any helpful advice or suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Yen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428922#M65168</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-11-18T10:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428923#M65169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen,&lt;/P&gt;&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;I have included "cryptsetup" in the rootfs and now the command is available.:smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also updated the ucl2.xml script as mentioned by you and now my mfgtool itself is not launching :smileysad:.&lt;/P&gt;&lt;P&gt;While launching, it throws the error in the "Initialize operation failed" and the mfgtool log says that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;push command --file ..Profiles\MX6Q Linux Update\OS Firmware\firmware\keyfile failed to open.errcode is 2&lt;/P&gt;&lt;P&gt;parse ucl script failed, error code: 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But firmware\keyfile exists in the respective folder and it has all the permissions.. Not clear why this is happening..&lt;/P&gt;&lt;P&gt;any idea of how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Poonguzhali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:31:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428923#M65169</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-18T10:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428924#M65170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Poonguzhali,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The keyfile is the key for encryption.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;please ref. this web site &lt;A href="https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Keyfiles" title="https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Keyfiles"&gt;https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Keyfiles&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Yen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 01:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428924#M65170</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-11-19T01:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428925#M65171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen,&lt;/P&gt;&lt;P&gt;I understand that the keyfile is for encryption and I have generated it already and put into firmware folder.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But, while launching, mfgtool throws the error "Initialize operation failed" and the log says that&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;push command --file ..Profiles\MX6Q Linux Update\OS Firmware\firmware\keyfile failed to open.errcode is 2&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;parse ucl script failed, error code: 4&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;i.e the launching of mfgtool is interupted in the below line in ucl2.xml &lt;/P&gt;&lt;TABLE height="87" style="border: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: rgb(81, 98, 111); height: 36px; width: 713px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding: 2px 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/keyfile" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;is there any document explaining the ucl script error codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Poonguzhali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 05:40:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428925#M65171</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-19T05:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428926#M65172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Poonguzhali,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Sorry, I don't know why it still show this error message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I&amp;nbsp; don't know if there is any document for script error code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Yen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 05:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428926#M65172</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-11-19T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428927#M65173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen,&lt;/P&gt;&lt;P&gt;I got it working. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just replaced the below line&lt;/P&gt;&lt;TABLE height="87" style="border: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding: 2px 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/keyfile" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE height="87" style="border: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding: 2px 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;P&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/keyfile.tar" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;lt;CMD state="Updater" type="push" body="$ tar xf $FILE" &amp;gt;Sending key file&amp;lt;/CMD&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I compressed the keyfile and copied &amp;amp; uncompressed it in the ucl2.xml file. Don't know why it didn't work when uncompressed file is given. After compressing the mfgtool is launching properly.:smileyhappy::smileyhappy: and this issue can be closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Poonguzhali P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 06:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428927#M65173</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-19T06:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428928#M65174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Poonguzhali,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;That's great to hear that!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Yen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:07:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428928#M65174</guid>
      <dc:creator>yenchao</dc:creator>
      <dc:date>2015-11-19T07:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q root file system encryption problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428929#M65175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you successfully booted after encrypting the root filesystem using mfgtool.&lt;/P&gt;&lt;P&gt;In my case, I am successful in encrypting the partition, copy the contents into the encrypted partition, and checked it by listing the copied contents. But no success in booting the device. :smileycry:. I added the decrypt logic in "on early-fs" before the mounting file system using "on fs" in the init.rc file, but no success. Any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Poonguzhali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 09:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-root-file-system-encryption-problem/m-p/428929#M65175</guid>
      <dc:creator>poonguzhalip</dc:creator>
      <dc:date>2015-11-30T09:39:31Z</dc:date>
    </item>
  </channel>
</rss>

