<?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: Finding HAB blocks information</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423229#M187807</link>
    <description>&lt;P&gt;Hello Xuban.&lt;/P&gt;
&lt;P&gt;You can follow below steps:&lt;/P&gt;
&lt;P&gt;Firstly, to add the line "CONFIG_IMX_HAB=y" at the end for the _defconfig of the target for which you want to compile.&lt;/P&gt;
&lt;P&gt;Secondly, go back compile it.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;source setup-environment your_build_directory&lt;/LI&gt;
&lt;LI&gt;bitbake u-boot-imx -f -c configure&lt;/LI&gt;
&lt;LI&gt;bitbake u-boot-imx -f -c compile&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Then you will see HAB block information there as mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 09:40:44 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2022-03-04T09:40:44Z</dc:date>
    <item>
      <title>Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1420443#M187576</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working on HABv4 with i.MX 6 processor.&lt;/P&gt;&lt;P&gt;I need HAB Blocks information.&lt;/P&gt;&lt;P&gt;That information is in a log file.&lt;/P&gt;&lt;P&gt;I don't find the log file, it should be here with u-boot-dtb.imx.log file name.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pregunta.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171955iC0203D4772AAD891/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pregunta.PNG" alt="pregunta.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Where is the build log file? thank you very much&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 09:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1420443#M187576</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-02-28T09:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423177#M187800</link>
      <description>&lt;P&gt;Hello Xuban.&lt;/P&gt;
&lt;P&gt;Based on the BSP version you are working is 5.10.72, if you want to find HAB block information, the path to find it should be at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;L5.10.72_2.2.0_GA/imx-yocto-bsp/build-fb-imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-imx/2021.04-r0/build/mx6ull_14x14_evk_optee_config\&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the .log name might be like u-boot.imx.log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please feel free to reach out us, if you have any further question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 08:44:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423177#M187800</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-03-04T08:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423213#M187806</link>
      <description>&lt;P&gt;Hello sir,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the log file following the route you sugested, unfortunantly it doesn't contain the HAB blocks line.&lt;/P&gt;&lt;P&gt;Why is this? Where can I find HAB blocks information?&lt;/P&gt;&lt;P&gt;Thank you for your kind response,&lt;/P&gt;&lt;P&gt;-Xuban&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I attach my log file (image1) and also how it should be according to&amp;nbsp;the documentation i'm following (&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga&lt;/A&gt;)&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pregunta.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172498i60818AF33553D2C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pregunta.PNG" alt="pregunta.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pregunta 2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172499iCC60974EB1C8AF1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pregunta 2.PNG" alt="pregunta 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 09:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423213#M187806</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-03-04T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423229#M187807</link>
      <description>&lt;P&gt;Hello Xuban.&lt;/P&gt;
&lt;P&gt;You can follow below steps:&lt;/P&gt;
&lt;P&gt;Firstly, to add the line "CONFIG_IMX_HAB=y" at the end for the _defconfig of the target for which you want to compile.&lt;/P&gt;
&lt;P&gt;Secondly, go back compile it.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;source setup-environment your_build_directory&lt;/LI&gt;
&lt;LI&gt;bitbake u-boot-imx -f -c configure&lt;/LI&gt;
&lt;LI&gt;bitbake u-boot-imx -f -c compile&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Then you will see HAB block information there as mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 09:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423229#M187807</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-03-04T09:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423243#M187809</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Where is the _defconfig file? I can't find it.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 10:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423243#M187809</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-03-04T10:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423249#M187810</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Xuban.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The file would be located at&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;L5.10.72_2.2.0_GA/imx-yocto-bsp/build-fb-imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-imx/2021.04-r0/git/configs/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 10:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423249#M187810</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-03-04T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423370#M187819</link>
      <description>&lt;P&gt;You can the following way.&lt;/P&gt;
&lt;P&gt;If the image is not for security boot, it will tell you "ivt_csf pointer is zero. Not a security image!".&lt;/P&gt;
&lt;P&gt;If the it is a security image, it will tell you the HAB information.&lt;/P&gt;
&lt;P&gt;parseIVT - a script to help i.MX6 Code Signing&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/parseIVT-a-script-to-help-i-MX6-Code-Signing/ta-p/1128410" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/parseIVT-a-script-to-help-i-MX6-Code-Signing/ta-p/1128410&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 16:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423370#M187819</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2022-03-04T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423789#M187877</link>
      <description>&lt;P&gt;Hello sir,&lt;/P&gt;&lt;P&gt;Your script has been useful to confirm that my image doesn't have the security features.&lt;/P&gt;&lt;P&gt;I'm now working on rebuilding an image with security features&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;-Xuban&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 08:55:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423789#M187877</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-03-07T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423819#M187881</link>
      <description>&lt;P&gt;It is good to the script can help you some.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't make sense to find a build log&amp;nbsp; for an existing i.MX6 u-boot.&lt;/P&gt;
&lt;P&gt;If we want to know the HAB information, we have to do build again? make no sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is why I write down the script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't like my script.&lt;/P&gt;
&lt;P&gt;You can use the u-boot&amp;nbsp;&amp;nbsp;dumpimage to get the information. but you still need u-boot.&lt;/P&gt;
&lt;P&gt;My script is designed since the old version u-boot. it has one big difference is the image is not aligned to 0x1000.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script can tell how much need to pad.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HAB enabled image:&lt;/P&gt;
&lt;P&gt;./u-boot/tools/dumpimage -l out/u-boot-dtb.imx&lt;BR /&gt;Image Type: Freescale IMX Boot Image&lt;BR /&gt;Image Ver: 2 (i.MX53/6/7 compatible)&lt;BR /&gt;Mode: DCD&lt;BR /&gt;Data Size: 643168 Bytes = 628.09 KiB = 0.61 MiB&lt;BR /&gt;Load Address: 177ff420&lt;BR /&gt;Entry Point: 17800000&lt;BR /&gt;HAB Blocks: 0x177ff400 0x00000000 0x0009ac00&lt;BR /&gt;DCD Blocks: 0x00910000 0x0000002c 0x000002f8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;no HAB enabled image:&lt;/P&gt;
&lt;P&gt;./u-boot/tools/dumpimage -l out/u-boot-dtb.imx&lt;BR /&gt;Image Type: Freescale IMX Boot Image&lt;BR /&gt;Image Ver: 2 (i.MX53/6/7 compatible)&lt;BR /&gt;Mode: DCD&lt;BR /&gt;Data Size: 626688 Bytes = 612.00 KiB = 0.60 MiB&lt;BR /&gt;Load Address: 177ff420&lt;BR /&gt;Entry Point: 17800000&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 09:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423819#M187881</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2022-03-07T09:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423897#M187889</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, you are right. They should include the script to the official documentation.&lt;/P&gt;&lt;P&gt;I have one more question regarding the building of an image with security features. I read in the documentation that I have to enable&amp;nbsp;&lt;SPAN&gt;CONFIG_IMX_HAB=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't know how to do that. My build environment does not contain any _defconfig file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Xuban&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I attach my build environment&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xuban11_2-1646652390642.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172639i3AE51738D41EA969/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Xuban11_2-1646652390642.png" alt="Xuban11_2-1646652390642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xuban11_1-1646652331351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172638i3EE34DBDE07CB0B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Xuban11_1-1646652331351.png" alt="Xuban11_1-1646652331351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xuban11_0-1646652308545.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172637i69AED2AAA3E3D27F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Xuban11_0-1646652308545.png" alt="Xuban11_0-1646652308545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 11:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423897#M187889</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-03-07T11:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423956#M187894</link>
      <description>&lt;P&gt;Hello sir,&lt;/P&gt;&lt;P&gt;I'm doing a new build directory because the old one is broken.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to enable CONFIG_IMX_HAB=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where do I enable this since the _defconfig files are not even created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 13:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1423956#M187894</guid>
      <dc:creator>Xuban11</dc:creator>
      <dc:date>2022-03-07T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1424217#M187916</link>
      <description>&lt;P&gt;Hello xuban.&lt;/P&gt;
&lt;P&gt;as the path below I shared with you at the preceding post.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;L5.10.72_2.2.0_GA/imx-yocto-bsp/build-fb-imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-imx/2021.04-r0/git/configs/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;then, you will see many targets which named as like, for example, you are working imx6ull14x14evk.&lt;/P&gt;
&lt;P&gt;therefore, the _defconfig will be&amp;nbsp;mx6ull_14x14_evk_defconfig. you will do add the line "&amp;nbsp;&lt;SPAN&gt;CONFIG_IMX_HAB=y" at the last line of the configure file that you are editing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 02:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1424217#M187916</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-03-08T02:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1593865#M201078</link>
      <description>&lt;P&gt;I had same issue. After enable CONFIG_IMX_HAB, the commans like hab_status is active in uboot, but still can't get the HAB BLOCKS from u-boot.imx file.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 09:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1593865#M201078</guid>
      <dc:creator>RockDeng</dc:creator>
      <dc:date>2023-02-06T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Finding HAB blocks information</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1593868#M201080</link>
      <description>&lt;P&gt;Hi Xuban,&lt;/P&gt;&lt;P&gt;Did you fix that issue in the end? If so, please share you solution. Many thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 09:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Finding-HAB-blocks-information/m-p/1593868#M201080</guid>
      <dc:creator>RockDeng</dc:creator>
      <dc:date>2023-02-06T09:55:45Z</dc:date>
    </item>
  </channel>
</rss>

