<?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>i.MX ProcessorsのトピックRe: MX6SL and HAB u-boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901938#M136077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to look at latest uboot hab documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/introduction_habv4.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/introduction_habv4.txt?h=imx_v2018.03_4.14.98_2.0.0_ga"&gt;introduction_habv4.txt\habv4\imx\doc - uboot-imx - i.MX U-Boot&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, 14 May 2019 01:22:12 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-05-14T01:22:12Z</dc:date>
    <item>
      <title>MX6SL and HAB u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901935#M136074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Problem booting an IMX6SL board in HAB closed mode.&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can succesfully boot via the mfg tool using a signed image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the installed u-boot signed image just hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;last attempt at a CSF file looks like:--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Header]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Version = 4.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Hash Algorithm = sha256&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Engine = DCP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Engine Configuration = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Certificate Format = X509&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Signature Format = CMS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Install SRK]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;File = "../../cst-2.3.3/crts/SRK_1_2_3_4_table.bin"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Source index = 0 # Index of the key location in the SRK table to be installed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Install CSFK]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Key used to authenticate the CSF data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;File = "../../cst-2.3.3/crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Authenticate CSF]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Install Key]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Key slot index used to authenticate the key to be installed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Verification index = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Target key slot in HAB key store where key will be installed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Target index = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Key to install&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;File = "../../cst-2.3.3/crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;[Authenticate Data]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Key slot index used to authenticate the image data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Verification index = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;# Address Offset Length Data File Path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Blocks = 0x877ff400 0x00000000 0x00051c00 "boot.bin"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The defconfig has the following HAB entries:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_ARM=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_ARCH_MX6=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_SYS_TEXT_BASE=0x87800000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_TARGET_NAD_MX6SL=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_BOOTDELAY=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_SECURE_BOOT=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_SYS_FSL_HAS_SEC=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;CONFIG_SYS_FSL_SEC_COMPAT=4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and is pretty much identical to the mfg config apart from the MFG=Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with Engine = Any and Engine = SW but to no avail.&lt;/P&gt;&lt;P&gt;The u-boot works on an Open config machine, and I did not see any hab_status errors before the board was closed.&lt;/P&gt;&lt;P&gt;A similar setup fir a mx6ul board is working without problems.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 16:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901935#M136074</guid>
      <dc:creator>jamesanderson</dc:creator>
      <dc:date>2019-05-06T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: MX6SL and HAB u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901936#M136075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try latest cst-3.1.0 tool&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL&amp;amp;appType=license&amp;amp;location=null"&gt;i.MX High Assurance Boot Reference Code Signing Tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and recheck image layout using Appendix F. i.MX manufacturing tool AN4581&lt;/P&gt;&lt;P&gt;Secure Boot on i.MX50, i.MX53, i.MX 6 and i.MX7 Series using HABv4&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4581.pdf" title="https://www.nxp.com/docs/en/application-note/AN4581.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4581.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Tue, 07 May 2019 00:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901936#M136075</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-07T00:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: MX6SL and HAB u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901937#M136076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;I tried using 3.1.0 but it still fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be clear the mfg_tool boot works fine. Its the "normal" boot installed&amp;nbsp; at address 1024 on /dev/mmcblk0 that fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some things I noticed and tried:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;The README.mxc_hab doc in u-boot/docs says to use objcopy to pad the csf bin with zeroes - tried and failed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There is a "CAUTION" notice in section 4.1 of the HAB manual which I think is telling us to execute the&amp;nbsp;&lt;/P&gt;&lt;P&gt;cst from the releases directory, the wording is not very clear but I think "product_code" means "linux64/bin" anyway -- tried and failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation the "Unlock" command is documented as "M" for mandatory, but the mx6sl DCD engine is not listed as one of the unlock options. Several of the exple CSF commands do not have the Unlock command so maybe the "M" is a typo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 16:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901937#M136076</guid>
      <dc:creator>jamesanderson</dc:creator>
      <dc:date>2019-05-13T16:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: MX6SL and HAB u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901938#M136077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to look at latest uboot hab documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/introduction_habv4.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/introduction_habv4.txt?h=imx_v2018.03_4.14.98_2.0.0_ga"&gt;introduction_habv4.txt\habv4\imx\doc - uboot-imx - i.MX U-Boot&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, 14 May 2019 01:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901938#M136077</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-14T01:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: MX6SL and HAB u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901939#M136078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this fix:-&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://patchwork.ozlabs.org/patch/1096525/" title="https://patchwork.ozlabs.org/patch/1096525/"&gt;[U-Boot] mx6sl: hab: Fix pu_irom_mmu_enabled address - Patchwork&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which may be relevant. However I applied the fix and it still failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find an up to date NXP repository so I can check for&amp;nbsp;&lt;/P&gt;&lt;P&gt;any missing patches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 14:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6SL-and-HAB-u-boot/m-p/901939#M136078</guid>
      <dc:creator>jamesanderson</dc:creator>
      <dc:date>2019-06-03T14:15:45Z</dc:date>
    </item>
  </channel>
</rss>

