<?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: enabling HAB in u-boot leads to &amp;quot;Error binding driver&amp;quot;</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/enabling-HAB-in-u-boot-leads-to-quot-Error-binding-driver-quot/m-p/1533255#M196034</link>
    <description>&lt;P&gt;I managed to solve this issue by studying the changes made in this commit &lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/commit/?id=41a325b1e324160b6be96ff54083b655a2920d67" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/uboot-imx/commit/?id=41a325b1e324160b6be96ff54083b655a2920d67&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For my target HW called prototype (based on imx8mn) I had to make these changes:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;STRONG&gt;index 9a733ae0d4..0460349dce 100644&lt;/STRONG&gt;
&lt;STRONG&gt;--- a/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;STRONG&gt;+++ b/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;FONT color="#06989A"&gt;@@ -253,6 +253,10 @@&lt;/FONT&gt; config TARGET_PROTOTYPE
        select IMX8MN
        select SUPPORT_SPL
        select IMX8M_LPDDR4
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select FSL_CAAM&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select FSL_BLOB&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select MISC&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select SPL_CRYPTO_SUPPORT if SPL&lt;/FONT&gt;
 
 config TARGET_PHYCORE_IMX8MM
        bool "PHYTEC PHYCORE i.MX8MM"&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;diff --git a/board/freescale/prototype/spl.c b/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;STRONG&gt;index b5c7f2ad3f..95a904842b 100644&lt;/STRONG&gt;
&lt;STRONG&gt;--- a/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;STRONG&gt;+++ b/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;FONT color="#06989A"&gt;@@ -219,6 +219,14 @@&lt;/FONT&gt; int power_init_board(void)
 
 void spl_board_init(void)
 {
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;struct udevice *dev;&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;uclass_find_first_device(UCLASS_MISC, &amp;amp;dev);&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;for (; dev; uclass_find_next_device(&amp;amp;dev)) {&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;               &lt;FONT color="#4E9A06"&gt;if (device_probe(dev))&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;                       &lt;FONT color="#4E9A06"&gt;continue;&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;}&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;
        puts("Normal Boot\n");
 }&lt;/PRE&gt;&lt;P&gt;You probably need to make the same changes to the compulab Kconfig target and spl.c&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 11:10:16 GMT</pubDate>
    <dc:creator>eino</dc:creator>
    <dc:date>2022-10-06T11:10:16Z</dc:date>
    <item>
      <title>enabling HAB in u-boot leads to "Error binding driver"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/enabling-HAB-in-u-boot-leads-to-quot-Error-binding-driver-quot/m-p/1442255#M189168</link>
      <description>&lt;P&gt;I have an i.mx8mp compulab module. I'm enabling HAB in u-boot with `CONFIG_IMX_HAB=y` but I see this on boot. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;U-Boot 2021.04-compulab+g3463140881 (Apr 11 2022 - 21:57:41 +0000)&lt;/P&gt;&lt;P&gt;CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 39C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: CompuLab UCM-iMX8M-Plus&lt;BR /&gt;DRAM: 4 GiB&lt;BR /&gt;Error binding driver 'caam_jr': -96&lt;BR /&gt;Some drivers failed to bind&lt;BR /&gt;Error binding driver 'simple_bus': -96&lt;BR /&gt;Some drivers failed to bind&lt;BR /&gt;Error binding driver 'simple_bus': -96&lt;BR /&gt;Some drivers failed to bind&lt;BR /&gt;initcall sequence 0000000053fd0980 failed at call 0000000040220570 (err=-96)&lt;BR /&gt;### ERROR ### Please RESET the board ###&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 22:16:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/enabling-HAB-in-u-boot-leads-to-quot-Error-binding-driver-quot/m-p/1442255#M189168</guid>
      <dc:creator>richc128</dc:creator>
      <dc:date>2022-04-11T22:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: enabling HAB in u-boot leads to "Error binding driver"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/enabling-HAB-in-u-boot-leads-to-quot-Error-binding-driver-quot/m-p/1533255#M196034</link>
      <description>&lt;P&gt;I managed to solve this issue by studying the changes made in this commit &lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/commit/?id=41a325b1e324160b6be96ff54083b655a2920d67" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/uboot-imx/commit/?id=41a325b1e324160b6be96ff54083b655a2920d67&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For my target HW called prototype (based on imx8mn) I had to make these changes:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;STRONG&gt;index 9a733ae0d4..0460349dce 100644&lt;/STRONG&gt;
&lt;STRONG&gt;--- a/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;STRONG&gt;+++ b/arch/arm/mach-imx/imx8m/Kconfig&lt;/STRONG&gt;
&lt;FONT color="#06989A"&gt;@@ -253,6 +253,10 @@&lt;/FONT&gt; config TARGET_PROTOTYPE
        select IMX8MN
        select SUPPORT_SPL
        select IMX8M_LPDDR4
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select FSL_CAAM&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select FSL_BLOB&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select MISC&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;select SPL_CRYPTO_SUPPORT if SPL&lt;/FONT&gt;
 
 config TARGET_PHYCORE_IMX8MM
        bool "PHYTEC PHYCORE i.MX8MM"&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;diff --git a/board/freescale/prototype/spl.c b/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;STRONG&gt;index b5c7f2ad3f..95a904842b 100644&lt;/STRONG&gt;
&lt;STRONG&gt;--- a/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;STRONG&gt;+++ b/board/freescale/prototype/spl.c&lt;/STRONG&gt;
&lt;FONT color="#06989A"&gt;@@ -219,6 +219,14 @@&lt;/FONT&gt; int power_init_board(void)
 
 void spl_board_init(void)
 {
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;struct udevice *dev;&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;uclass_find_first_device(UCLASS_MISC, &amp;amp;dev);&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;for (; dev; uclass_find_next_device(&amp;amp;dev)) {&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;               &lt;FONT color="#4E9A06"&gt;if (device_probe(dev))&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;                       &lt;FONT color="#4E9A06"&gt;continue;&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;       &lt;FONT color="#4E9A06"&gt;}&lt;/FONT&gt;
&lt;FONT color="#4E9A06"&gt;+&lt;/FONT&gt;
        puts("Normal Boot\n");
 }&lt;/PRE&gt;&lt;P&gt;You probably need to make the same changes to the compulab Kconfig target and spl.c&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/enabling-HAB-in-u-boot-leads-to-quot-Error-binding-driver-quot/m-p/1533255#M196034</guid>
      <dc:creator>eino</dc:creator>
      <dc:date>2022-10-06T11:10:16Z</dc:date>
    </item>
  </channel>
</rss>

