<?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: U-boot CAAM Secure Boot issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004274#M148846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you try testing if all , the memory blocks are working correctly,&amp;nbsp; since it is a custom board,&amp;nbsp; maybe something related to the HW, should be the problem. Since it seems that you follow the steps in the EVK board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 22:49:37 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2020-03-30T22:49:37Z</dc:date>
    <item>
      <title>U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004270#M148842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Secure boot on IMX8mm.&amp;nbsp; I have successfully followed the Android security manual and I have HAB4 and AVB (Android Verified Boot) working on the evk board (IMX8mm mini).&amp;nbsp; I have now ported to our custom board and I am getting an initial failure on the CAAM. I believe it may have something to do with the clocks as I hesitated to upgrade them.&amp;nbsp; The issue is I am not exactly able to see in the code where this function is (I think it may be one of the binaries). Question what change to I need to make to get this to initialize correctly?&amp;nbsp; Log below -- initial error in &lt;STRONG&gt;bold:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authenticate image from DDR location 0x401fcdc0...&lt;/P&gt;&lt;P&gt;welcome to lk/MP&lt;/P&gt;&lt;P&gt;boot args 0x2000000 0xbe000000 0x2000 0x0&lt;BR /&gt;generic_arm64_map_regs: failed -5 name=gic&lt;BR /&gt;initializing trusty (Built: 09:53:15 Aug 6 2019)&lt;BR /&gt;Initializing Trusted OS SMC handler&lt;BR /&gt;avb: 285: Initializing AVB App&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;hwcrypto: 222: Initializing&lt;BR /&gt;&lt;STRONG&gt;caam_drv: 315: job failed (0x2000055b)&lt;/STRONG&gt;&lt;BR /&gt;hwrng_caam: 44: Init HWRNG service provide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance imx8mm u-boot&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004270#M148842</guid>
      <dc:creator>lockit282</dc:creator>
      <dc:date>2020-03-23T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004271#M148843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I have gotten a bit further - and it looks like I still have a few errors.&amp;nbsp; I am wondering if there is anyone monitoring this forum -- as any help would be greatly appreciated.&amp;nbsp; I am confused by this section of the manual, and as an aside it should be grammatically and syntactically corrected so that it is clear: From the. Android Security manual:&lt;/P&gt;&lt;DIV class="" title="Page 32"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 15.000000pt;"&gt;"3.4.3 Trusty OS Linux driver configuration &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.000000pt;"&gt;The Trusty OS supports to output the logs to UART or TIPC log channel. The Trusty OS Linux driver supports to carry the logs from the Trusty OS by TIPC channel. By default, this feature is enabled in the reference image. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.000000pt;"&gt;In the Trusty OS Linux driver trusty-log, when it is enabled, the Trusty OS shuts down the UART output log port. The UART driver in the Trusty OS outputs characters synchronously and it costs much IO time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.000000pt;"&gt;The trusty-log driver is configured in the device tree as follows: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.000000pt;"&gt;trusty-log { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.000000pt;"&gt;compatible = "android,trusty-log-v1"; };"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.000000pt;"&gt;From what I am interpreting and what I am seeing on the debug port is trusty forces the output to a synchronous serial port.&amp;nbsp; Therefore do I need to insert the above into my device tree and additionally do I need to add CONFIG_CONSOLE_TTY_BASE&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="" title="Page 21"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.000000pt;"&gt;trusty/hardware/nxp/target/$SOC_NAME/rules.mk&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.000000pt;"&gt;. -- this does not exist -- where is it located in the current android source tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.000000pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 17:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004271#M148843</guid>
      <dc:creator>lockit282</dc:creator>
      <dc:date>2020-03-25T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004272#M148844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trusty code is use another manifests to download. It is not included in default android code. Please refer the user guide doc to download the trusty OS code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 10:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004272#M148844</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2020-03-26T10:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004273#M148845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response -- My problems mostly are getting the bootloader running -- as it does on the imx8mini.&amp;nbsp; I believe I have made all the code changes necessary, but it is obvious I am missing something.&amp;nbsp; The first is the boot from our custom board with the failures highlighted and the 2nd is the evk mini running properly.&amp;nbsp; I would appreciate if you could potentially point me to the code where the issue may be.&amp;nbsp; I am thinking it could be the board initialization from the CAMM:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Custom Board -- fails&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;boot args 0x2000000 0xbe000000 0x2000 0x0&lt;BR /&gt;generic_arm64_map_regs: failed -5 name=gic&lt;BR /&gt;initializing trusty (Built: 09:53:15 Aug 6 2019)&lt;BR /&gt;Initializing Trusted OS SMC handler&lt;BR /&gt;avb: 285: Initializing AVB App&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;hwcrypto: 222: Initializing&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;caam_drv: 315: job failed (0x2000055b)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;hwrng_caam: 44: Init HWRNG service provider&lt;BR /&gt;hwrng_srv: 256: Start HWRNG service&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;hwcrypto_caam: 85: Init HWCRYPTO service provider&lt;BR /&gt;hwcrypto_srv: 360: Start HWCRYPTO service&lt;BR /&gt;hwkey_caam: 213: Init HWKEY service provider&lt;BR /&gt;hwkey_caam: 182: Invalid magic&lt;BR /&gt;hwkey_srv: 351: Start HWKEY service&lt;BR /&gt;hwcrypto: 237: enter main event loop&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;trusty_gatekeeper: 291: Initializing&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;EVK Mini -- (Runs Perfectly) -- boots kernel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;boot args 0x2000000 0xbe000000 0x2000 0x0&lt;BR /&gt;generic_arm64_map_regs: failed -5 name=gic&lt;BR /&gt;initializing trusty (Built: 09:53:15 Aug 6 2019)&lt;BR /&gt;Initializing Trusted OS SMC handler&lt;BR /&gt;avb: 285: Initializing AVB App&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;hwcrypto: 222: Initializing&lt;BR /&gt;hwrng_caam: 44: Init HWRNG service provider&lt;BR /&gt;hwrng_srv: 256: Start HWRNG service&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;hwcrypto_caam: 85: Init HWCRYPTO service provider&lt;BR /&gt;hwcrypto_srv: 360: Start HWCRYPTO service&lt;BR /&gt;hwkey_caam: 213: Init HWKEY service provider&lt;BR /&gt;hwkey_srv: 351: Start HWKEY service&lt;BR /&gt;hwcrypto: 237: enter main event loop&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;trusty_gatekeeper: 291: Initializing&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;BR /&gt;int rebuild_hset_all(struct uctx *):250: Rebuilding all handles set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2018.03-00001-g547dbe8632-dirty (Mar 04 2020 - 07:14:36 -0800)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 26C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: FSL i.MX8MM EVK board&lt;BR /&gt;DRAM: 2 GiB&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]&lt;BR /&gt;SNK.Power3.0 on CC2&lt;BR /&gt;PDO 0: type 0, 5000 mV, 3000 mA [E]&lt;BR /&gt;PDO 1: type 0, 9000 mV, 3000 mA []&lt;BR /&gt;PDO 2: type 0, 15000 mV, 3000 mA []&lt;BR /&gt;PDO 3: type 0, 20000 mV, 2250 mA []&lt;BR /&gt;Requesting PDO 0: 5000 mV, 3000 mA&lt;BR /&gt;Source accept request&lt;BR /&gt;PD source ready!&lt;BR /&gt;tcpc_pd_receive_message: Polling ALERT register, TCPC_ALERT_RX_STATUS bit failed, ret = -62&lt;BR /&gt;Power supply on USB2&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]&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;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;/P&gt;&lt;P&gt;BuildInfo:&lt;BR /&gt; - ATF b8bc8a4&lt;BR /&gt; - U-Boot 2018.03-00001-g547dbe8632-dirty&lt;/P&gt;&lt;P&gt;flash target is MMC:1&lt;BR /&gt;Net: &lt;BR /&gt;Warning: ethernet@30be0000 using MAC address from ROM&lt;BR /&gt;eth0: ethernet@30be0000&lt;BR /&gt;libtipc.c: INFO Initializing Trusty device&lt;BR /&gt;trusty_dev.c: INFO selected trusty api version: 3 (requested 3)&lt;BR /&gt;libtipc.c: INFO Initializing Trusty IPC device&lt;BR /&gt;libtipc.c: INFO Initializing RPMB storage proxy service&lt;BR /&gt;int fs_init_from_super(struct fs *, const struct super_block *, _Bool):316: loaded super block version 0&lt;BR /&gt;libtipc.c: INFO Initializing Trusty AVB client&lt;BR /&gt;libtipc.c: INFO Initializing Trusty Keymaster client&lt;BR /&gt;libtipc.c: INFO Initializing Trusty Hardware Crypto client&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot: 0 &lt;BR /&gt; verify OK, boot 'boot_a'&lt;BR /&gt;WRW AVB partition name dtbo&lt;BR /&gt; loading anroid kernel&lt;BR /&gt;wrw img Kernel load addr 0x40480000 size 31129 KiB&lt;BR /&gt;kernel @ 40480000 (31875584)&lt;BR /&gt;ramdisk @ 43600000 (7488081)&lt;BR /&gt;fdt @ 43400000 (45820)&lt;BR /&gt;## Flattened Device Tree blob at 43400000&lt;BR /&gt; Booting using the fdt blob at 0x43400000&lt;BR /&gt; Using Device Tree in place at 0000000043400000, end 000000004340e2fb&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;[ 0.000000] Booting Linux on physical CPU 0x0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004273#M148845</guid>
      <dc:creator>lockit282</dc:creator>
      <dc:date>2020-03-26T14:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004274#M148846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you try testing if all , the memory blocks are working correctly,&amp;nbsp; since it is a custom board,&amp;nbsp; maybe something related to the HW, should be the problem. Since it seems that you follow the steps in the EVK board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 22:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004274#M148846</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2020-03-30T22:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004275#M148847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out it was not a HW issue -- I needed a few more updates on the linux kernel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:51:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1004275#M148847</guid>
      <dc:creator>lockit282</dc:creator>
      <dc:date>2020-04-22T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1281896#M174509</link>
      <description>&lt;P&gt;I know it has been a long time since you posted this question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you figure out your problem with the CAAM driver in the Trusty OS?&amp;nbsp; If so what was the solution?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1281896#M174509</guid>
      <dc:creator>rob_mclean</dc:creator>
      <dc:date>2021-05-25T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot CAAM Secure Boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1419108#M187467</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/10885"&gt;@jamesbone&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/29919"&gt;@chenguoyin&lt;/a&gt;&amp;nbsp;we're receiving "&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;Error binding driver 'caam_jr': -96&lt;/FONT&gt;" error on i.MX 6SX based custom board while enabling "&lt;FONT color="#0000FF"&gt;CONFIG_IMX_HAB&lt;/FONT&gt;" (U-Boot 2021.04).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you help us? Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 13:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-CAAM-Secure-Boot-issue/m-p/1419108#M187467</guid>
      <dc:creator>kanimozhi_t</dc:creator>
      <dc:date>2022-02-24T13:17:00Z</dc:date>
    </item>
  </channel>
</rss>

