<?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: kobs-ng with kernel 3.19.x in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429033#M65197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now it is working on my side, but I don't like the solution :smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) The mxs-dcp driver were replaced with the old version from Tobias Rauter, kernel version 3.13.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - linux-3.19.6/drivers/crypto/mxs-dcp.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + linux-3.13.x/drivers/crypto/dcp.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than the bootstream validation works with default and custom AES-OTP key using misc-dcpboot Interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) The gpmi-nand driver were replaced with the old sources from kernel Version 3.14.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - linux-3.19.6/drivers/mtd/nand/gpmi-nand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + linux-3.14.28/drivers/mtd/nand/gpmi-nand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than the raw mtd access works as requested by the freescale kobs-ng utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2015 08:14:29 GMT</pubDate>
    <dc:creator>bba</dc:creator>
    <dc:date>2015-05-20T08:14:29Z</dc:date>
    <item>
      <title>kobs-ng with kernel 3.19.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429032#M65196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.) First you have to integrate the device detection according to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/benavrhm/kobs-ng-patches/blob/master/kobs-ng-3.0.35-4.0.0_explicit_rom.patch" rel="nofollow" target="_blank"&gt;https://github.com/benavrhm/kobs-ng-patches/blob/master/kobs-ng-3.0.35-4.0.0_explicit_rom.patch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) Unfortunatelly the misc-dcpboot support were dropped with current kernel version. But you can replace drivers/crypto/mxs-dcp.c with an older version from from kernel version 3.14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now kobs-ng seams to by running well. The image validation works wih zero and otp written aes keys. (using kobs-ng option -z or -d)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after reboot the FCB block is corrupted using kernel version 3.19.x. It works well with previous version 3.9.x. The FCB block is the only one written in non-eec raw mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching the community I found an entry regarding nand-mtd-gpmi driver using non-eec mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://lists.infradead.org/pipermail/linux-mtd/2014-September/055269.html" rel="nofollow" target="_blank"&gt;http://lists.infradead.org/pipermail/linux-mtd/2014-September/055269.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any suggestions how to use kobs-ng with mainline kernel, where raw nand write works together with kobs-ng?&lt;/P&gt;&lt;P&gt;- any patches for kobs-ng&lt;/P&gt;&lt;P&gt;- any patches for the nand-gpmi.c driver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 14:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429032#M65196</guid>
      <dc:creator>bba</dc:creator>
      <dc:date>2015-05-13T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: kobs-ng with kernel 3.19.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429033#M65197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now it is working on my side, but I don't like the solution :smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) The mxs-dcp driver were replaced with the old version from Tobias Rauter, kernel version 3.13.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - linux-3.19.6/drivers/crypto/mxs-dcp.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + linux-3.13.x/drivers/crypto/dcp.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than the bootstream validation works with default and custom AES-OTP key using misc-dcpboot Interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) The gpmi-nand driver were replaced with the old sources from kernel Version 3.14.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - linux-3.19.6/drivers/mtd/nand/gpmi-nand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + linux-3.14.28/drivers/mtd/nand/gpmi-nand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than the raw mtd access works as requested by the freescale kobs-ng utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 08:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429033#M65197</guid>
      <dc:creator>bba</dc:creator>
      <dc:date>2015-05-20T08:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: kobs-ng with kernel 3.19.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429034#M65198</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 suggestion is that you try our official BSP 3.14.28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 16:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kobs-ng-with-kernel-3-19-x/m-p/429034#M65198</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-26T16:15:21Z</dc:date>
    </item>
  </channel>
</rss>

