<?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 Using `dek_blob` command in i.MX6QP - Wandboard QuadPlus in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786033#M121832</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 try to generate a dek blob on a mentioned wandboard imx6qp processor.&lt;/P&gt;&lt;P&gt;So I've written dek.bin on the SD card with a signed u-boot.&lt;/P&gt;&lt;P&gt;After those commands:&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;load mmc 0 10800000 dek.bin&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;dek_blob 0x10800000 0x10801000 128&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I receive such an output:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2018.09-rc1-43140-g8e00d80-dirty (Aug 13 2018 - 17:10:40 +0200) &lt;BR /&gt; &lt;BR /&gt;CPU: Freescale i.MX6QP rev1.0 at 792 MHz &lt;BR /&gt;Reset cause: POR &lt;BR /&gt;I2C: ready &lt;BR /&gt;DRAM: 2 GiB &lt;BR /&gt;PMIC: PFUZE100 ID=0x10 &lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1 &lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Failed (-5)&lt;BR /&gt;No panel detected: default to HDMI&lt;BR /&gt;Display: HDMI (1024x768)&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Board: Wandboard rev D1&lt;BR /&gt;Net: FEC [PRIME]&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;=&amp;gt; hab_status&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;BR /&gt;No HAB Events Found!&lt;BR /&gt;=&amp;gt; load mmc 0 10800000 dek.bin&lt;BR /&gt;16 bytes read in 15 ms (1000 Bytes/s)&lt;BR /&gt;=&amp;gt; dek_blob 0x10800000 0x10801000 128&lt;/P&gt;&lt;P&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Failed to instantiate RNG&lt;BR /&gt;SEC0: RNG instantiation failed&lt;/P&gt;&lt;P&gt;Encapsulating provided DEK to form blob&lt;BR /&gt;Allocation of page 0 in partition 1 failed 0x1&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;My device isn't yet closed.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've found out that icache and dcache shall be OFF for blob generation.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;It didn't help me.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've found out that the signed u-boot can NOT be singed with:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;[Unlock]&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Engine = CAAM&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Features = RNG&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;This also didn't help.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've tried combination with signed SPL(+ signed/not signed u-boot), and without SPL. Nothing works.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I use those sources:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;git://git.denx.de/u-boot-imx.git&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Do you have any idea, what am I missing here?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Why the dek_blob command cannot instantiate RNG?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Best Regards,&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Piotr Mikulski&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 10:18:46 GMT</pubDate>
    <dc:creator>piotr_mikulski</dc:creator>
    <dc:date>2018-08-14T10:18:46Z</dc:date>
    <item>
      <title>Using `dek_blob` command in i.MX6QP - Wandboard QuadPlus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786033#M121832</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 try to generate a dek blob on a mentioned wandboard imx6qp processor.&lt;/P&gt;&lt;P&gt;So I've written dek.bin on the SD card with a signed u-boot.&lt;/P&gt;&lt;P&gt;After those commands:&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;load mmc 0 10800000 dek.bin&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;dek_blob 0x10800000 0x10801000 128&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I receive such an output:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2018.09-rc1-43140-g8e00d80-dirty (Aug 13 2018 - 17:10:40 +0200) &lt;BR /&gt; &lt;BR /&gt;CPU: Freescale i.MX6QP rev1.0 at 792 MHz &lt;BR /&gt;Reset cause: POR &lt;BR /&gt;I2C: ready &lt;BR /&gt;DRAM: 2 GiB &lt;BR /&gt;PMIC: PFUZE100 ID=0x10 &lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1 &lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Failed (-5)&lt;BR /&gt;No panel detected: default to HDMI&lt;BR /&gt;Display: HDMI (1024x768)&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Board: Wandboard rev D1&lt;BR /&gt;Net: FEC [PRIME]&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;=&amp;gt; hab_status&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;BR /&gt;No HAB Events Found!&lt;BR /&gt;=&amp;gt; load mmc 0 10800000 dek.bin&lt;BR /&gt;16 bytes read in 15 ms (1000 Bytes/s)&lt;BR /&gt;=&amp;gt; dek_blob 0x10800000 0x10801000 128&lt;/P&gt;&lt;P&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;RNG: Failed to instantiate RNG&lt;BR /&gt;SEC0: RNG instantiation failed&lt;/P&gt;&lt;P&gt;Encapsulating provided DEK to form blob&lt;BR /&gt;Allocation of page 0 in partition 1 failed 0x1&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;My device isn't yet closed.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've found out that icache and dcache shall be OFF for blob generation.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;It didn't help me.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've found out that the signed u-boot can NOT be singed with:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;[Unlock]&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Engine = CAAM&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Features = RNG&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;This also didn't help.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I've tried combination with signed SPL(+ signed/not signed u-boot), and without SPL. Nothing works.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;I use those sources:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;git://git.denx.de/u-boot-imx.git&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Do you have any idea, what am I missing here?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Why the dek_blob command cannot instantiate RNG?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Best Regards,&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Piotr Mikulski&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 10:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786033#M121832</guid>
      <dc:creator>piotr_mikulski</dc:creator>
      <dc:date>2018-08-14T10:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using `dek_blob` command in i.MX6QP - Wandboard QuadPlus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786034#M121833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing the same issue with i.MX6Q. Device is not closed, no rng trim fused. Testing with mainline uboot&amp;nbsp;2018-05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;RNG: Instantiation failed with error 0xfffffffe&lt;BR /&gt;SEC Dequeue timed out&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 10:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786034#M121833</guid>
      <dc:creator>david_jenei</dc:creator>
      <dc:date>2018-12-18T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using `dek_blob` command in i.MX6QP - Wandboard QuadPlus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786035#M121834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; please try the following patch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fportland.source.codeaurora.org%2Fpatches%2Fexternal%2Fimxsupport%2Fuboot-imx%2Fimx_v2016.03_4.1.15_2.0.0_ga%2FHAB-238-Run-RNG-self-test-for-impacted-i.MX-chips.zip" rel="nofollow" style="margin: 0px; padding: 0px calc(12px + 0.35ex) 0px 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; color: #3d9ce7; fill: #3d9ce7; text-decoration: underline; transition: color 0.1s linear 0s; outline: none; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;" target="_blank"&gt;https://portland.source.codeaurora.org/patches/external/imxsupport/uboot-imx/imx_v2016.03_4.1.15_2.0.0_ga/HAB-238-Run-RNG-self-test-for-impacted-i.MX-chips.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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>Wed, 19 Dec 2018 04:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-dek-blob-command-in-i-MX6QP-Wandboard-QuadPlus/m-p/786035#M121834</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-12-19T04:08:42Z</dc:date>
    </item>
  </channel>
</rss>

