<?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: i.MX8ULP CPU Rev. A2 Boot failed</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1712299#M211572</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thaks for your reply. I have found the reason why did the Cortex-M33 core hangs now. It's because:&lt;/P&gt;&lt;P&gt;We use TIM3 Channel5 on our MaaXBoard-8ULP board, which is not same as TIM0 Channel2 on your official iMX8ULP-EVK board. So we need modify the Cortex-M33 SDK for this changes, and it works fine on i.MX8ULP Reversion A0.1 with BSP lf-6.1.1-1.0.0 and Cortex-M33 SDK v2.13.1. Below link is the discussion&amp;nbsp;with your colleague to support it when bring up our board.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329" target="_self"&gt;https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have update the Cortex-M33 SDK to v2.14.0, it can work fine on i.MX8ULP Rev A0.1 but failed on Rev A2. Then I debug and find it hangs on Fusion_Init() , which will provide clock for TIM3. This function can work fine on Rev A0.1 but hangs on Rev A2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;int main(void)
{
    /* Initialize standard SDK demo application pins */
    BOARD_ConfigMPU();
    BOARD_InitBootPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();
​
    UPOWER_PowerOnMemPart(0U, (uint32_t)kUPOWER_MP1_DMA0);
​
    //Fusion_Init();
    CLOCK_SetIpSrcDiv(kCLOCK_Tpm3, kCLOCK_FusionTpm3ClkSrcFusionDspBus, 1U, 0U);
    ... ...
    CLOCK_SetIpSrc(kCLOCK_Sai0, kCLOCK_Cm33SaiClkSrcPll1Pfd2Div);
​
    ... ...  
    CLOCK_EnableClock(kCLOCK_Tpm3);
​
    ... ...
    RESET_PeripheralReset(kRESET_Lpi2c1);
    RESET_PeripheralReset(kRESET_Tpm3);
    ... ...
}    &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If comment Fusion_Init() , then both Cortex-M33 SDK and U-boot can work, and they can boot up linux system normally, but TIM3 can not work. So :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;For CPU Rev A0.1, it can support TIM3 get clock from Fusion;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;For CPU Rev A2, it can't support TIM3 get clock from Fusion;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attachment is the patch for support TIM3 in SDK v1.14.0, can you give me some guide on how to support CPU Rev. A2 ? Thanks a lot !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 10:23:33 GMT</pubDate>
    <dc:creator>wenxue_guo</dc:creator>
    <dc:date>2023-08-28T10:23:33Z</dc:date>
    <item>
      <title>i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1710617#M211360</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We are development our MaaXBoard-8ULP demo board based on i.MX8ULP (CPU version A0.1) in the past days, all have done and works fine.&amp;nbsp; But I find the lastes CPU version changes to version A2 when do mass production.&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="wenxue_guo_0-1692870388865.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237833i946E8D03A197A9A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_0-1692870388865.png" alt="wenxue_guo_0-1692870388865.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_1-1692870476927.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237835iD10562826F56D201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_1-1692870476927.png" alt="wenxue_guo_1-1692870476927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to flash the old demo image to i.MX8ULL, it failed on uuu.exe for bootloader can not boot up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_2-1692870582264.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237836i2729D6A075FAF094/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_2-1692870582264.jpeg" alt="wenxue_guo_2-1692870582264.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the&amp;nbsp;sentinel and&amp;nbsp;upower firmware for i.MX8ULP is different for different CPU reversion. Then I try to download the latest firmware and found that sentinel-0.10&amp;nbsp; can support CPU Rev. A2 but&amp;nbsp;upower-1.2.0 don't support it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_3-1692871132946.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237841i1A06DA8BB7F21F27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_3-1692871132946.png" alt="wenxue_guo_3-1692871132946.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I try to use the latest&amp;nbsp;upower_a1.bin and&amp;nbsp;mx8ulpa2-ahab-container.img firmware to build new bootloader.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_4-1692871243320.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237842i6F3A668C61EFCF00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_4-1692871243320.png" alt="wenxue_guo_4-1692871243320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The u-boot can flash ok and bootup, but it failed for "M33 Sync: Timeout, Boot Stop!"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_5-1692871344806.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237844i1DE9EF62E2D8C8A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_5-1692871344806.jpeg" alt="wenxue_guo_5-1692871344806.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our u-boot version is&amp;nbsp;lf-6.1.1-1.0.0 and Cortex-M33 SDK version is SDK_v2.13.1_EVK-MIMX8ULP, can any one give me some guides on it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 10:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1710617#M211360</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-08-24T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1711189#M211424</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192468"&gt;@wenxue_guo&lt;/a&gt;&amp;nbsp;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This issue seems to be due to M33 not synching with&amp;nbsp;U-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Can you please clarify which M33 binary you have used?&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;There is an updated version of MCUExpressoSDK for i.MX8ULP is available.&lt;/DIV&gt;
&lt;DIV&gt;(&lt;STRONG&gt;SDK_2_14_0_EVK-MIMX8ULP&lt;/STRONG&gt;).&lt;/DIV&gt;
&lt;DIV&gt;Please try with it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make a note that all SDK demos can not work with Uboot.&lt;/DIV&gt;
&lt;DIV&gt;main function in SDK should call&amp;nbsp;&lt;STRONG&gt;BOARD_HandshakeWithUboot&lt;/STRONG&gt;(&lt;WBR /&gt;) to work with u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Aug 2023 05:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1711189#M211424</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-08-25T05:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1712297#M211571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thaks for your reply. I have found the reason why did the Cortex-M33 core hangs now. It's because:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;We use TIM3 Channel5 on our MaaXBoard-8ULP board, which is not same as TIM0 Channel2 on your official iMX8ULP-EVK board. So we need modify the Cortex-M33 SDK for this changes, and it works fine on i.MX8ULP Reversion A0.1 with BSP lf-6.1.1-1.0.0 and Cortex-M33 SDK v2.13.1. Below link is the discussion&amp;nbsp;with your colleague to support it when bring up our board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Now I have update the Cortex-M33 SDK to v2.14.0, it can work fine on i.MX8ULP Rev A0.1 but failed on Rev A2. Then I debug and find it hangs on &lt;/SPAN&gt;&lt;SPAN class=""&gt;Fusion_Init()&lt;/SPAN&gt;&lt;SPAN class=""&gt; , which will provide clock for TIM3. This function can work fine on Rev A0.1 but hangs on Rev A2.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;int main(void)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  /* Initialize standard SDK demo application pins */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  BOARD_ConfigMPU();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  BOARD_InitBootPins();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  BOARD_BootClockRUN();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  BOARD_InitDebugConsole();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  UPOWER_PowerOnMemPart(0U, (uint32_t)kUPOWER_MP1_DMA0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  //Fusion_Init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  CLOCK_SetIpSrcDiv(kCLOCK_Tpm3, kCLOCK_FusionTpm3ClkSrcFusionDspBus, 1U, 0U);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  ... ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  CLOCK_SetIpSrc(kCLOCK_Sai0, kCLOCK_Cm33SaiClkSrcPll1Pfd2Div);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  ... ... &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  CLOCK_EnableClock(kCLOCK_Tpm3);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  ... ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  RESET_PeripheralReset(kRESET_Lpi2c1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  RESET_PeripheralReset(kRESET_Tpm3);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;  ... ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;If comment &lt;/SPAN&gt;&lt;SPAN class=""&gt;Fusion_Init()&lt;/SPAN&gt;&lt;SPAN class=""&gt; , then both Cortex-M33 SDK and U-boot can work, and they can boot up linux system normally, but TIM3 can not work. So :&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For CPU Rev A0.1, it can support TIM3 get clock from Fusion;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For CPU Rev A2, it can't support TIM3 get clock from Fusion;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Attachment is the patch for support TIM3 in SDK v1.14.0, can you give me some guide on how to support CPU Rev. A2 ? Thanks a lot !&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1712297#M211571</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-08-28T10:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1712299#M211572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thaks for your reply. I have found the reason why did the Cortex-M33 core hangs now. It's because:&lt;/P&gt;&lt;P&gt;We use TIM3 Channel5 on our MaaXBoard-8ULP board, which is not same as TIM0 Channel2 on your official iMX8ULP-EVK board. So we need modify the Cortex-M33 SDK for this changes, and it works fine on i.MX8ULP Reversion A0.1 with BSP lf-6.1.1-1.0.0 and Cortex-M33 SDK v2.13.1. Below link is the discussion&amp;nbsp;with your colleague to support it when bring up our board.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329" target="_self"&gt;https://community.nxp.com/t5/i-MX8ULP-Early-Access-Partner/How-to-enable-TPM3-in-Cortex-M33-SDK/m-p/1494437#M329&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have update the Cortex-M33 SDK to v2.14.0, it can work fine on i.MX8ULP Rev A0.1 but failed on Rev A2. Then I debug and find it hangs on Fusion_Init() , which will provide clock for TIM3. This function can work fine on Rev A0.1 but hangs on Rev A2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;int main(void)
{
    /* Initialize standard SDK demo application pins */
    BOARD_ConfigMPU();
    BOARD_InitBootPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();
​
    UPOWER_PowerOnMemPart(0U, (uint32_t)kUPOWER_MP1_DMA0);
​
    //Fusion_Init();
    CLOCK_SetIpSrcDiv(kCLOCK_Tpm3, kCLOCK_FusionTpm3ClkSrcFusionDspBus, 1U, 0U);
    ... ...
    CLOCK_SetIpSrc(kCLOCK_Sai0, kCLOCK_Cm33SaiClkSrcPll1Pfd2Div);
​
    ... ...  
    CLOCK_EnableClock(kCLOCK_Tpm3);
​
    ... ...
    RESET_PeripheralReset(kRESET_Lpi2c1);
    RESET_PeripheralReset(kRESET_Tpm3);
    ... ...
}    &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If comment Fusion_Init() , then both Cortex-M33 SDK and U-boot can work, and they can boot up linux system normally, but TIM3 can not work. So :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;For CPU Rev A0.1, it can support TIM3 get clock from Fusion;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;For CPU Rev A2, it can't support TIM3 get clock from Fusion;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attachment is the patch for support TIM3 in SDK v1.14.0, can you give me some guide on how to support CPU Rev. A2 ? Thanks a lot !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1712299#M211572</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-08-28T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1713409#M211681</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192468"&gt;@wenxue_guo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iMX8ULP A2 Silicon support was added on NXP Linux BSP 2023 Q2 release L6.1.22-2.0.0.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On latest BSP, u-boot specially checks for silicon revision to set system clocks accordingly;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Would recommend if possible update to latest versions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Software Content Register provides details on version used on all Linux BSP software stack part of each BSP release.&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A href="https://github.com/nxp-imx/meta-imx/blob/mickledore-6.1.22-2.0.0/SCR-6.1.22-2.0.0.txt" target="_blank"&gt;https://github.com/nxp-imx/meta-imx/blob/mickledore-6.1.22-2.0.0/SCR-6.1.22-2.0.0.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From there you can search for uPower and sentinel firmware version used on 2023 Q2 BSP release:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;firmware-upower-1.3.0.bin&lt;/LI&gt;&lt;LI&gt;firmware-sentinel-0.10.bin&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can download directly from NXP FTP Web server the different binary images:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-upower-1.3.0.bin&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-sentinel-0.10.bin&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And extract the firmware by running&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;chmod +x firmware-sentinel-0.10.bin
./firmware-sentinel-0.10.bin --auto-accept&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;chmod +x firmware-upower-1.3.0.bin
./firmware-upower-1.3.0.bin --auto-accept&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use imx-mkimage from Q2 BSP release to generate the boot image&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx-mkimage/tree/lf-6.1.22_2.0.0" target="_blank"&gt;https://github.com/nxp-imx/imx-mkimage/tree/lf-6.1.22_2.0.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Use SDK 2.14.0 from&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/" target="_blank"&gt;https://mcuxpresso.nxp.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If switching to latest BSP version is lots of work continue using A1 firmware binaries as should be backwards compatible with A2;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L&lt;SPAN&gt;lf-6.1.1-1.0.0 and Cortex-M33 SDK version is SDK_v2.13.1_EVK-MIMX8ULP,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;firmware-upower-1.2.0/upower_a1.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;firmware-sentinel-0.9/mx8ulpa1-ahab-container.img&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And build flash.bin image using imx-mkimage from LF-6.1.1-1.0.0 release&amp;nbsp;&lt;A href="https://github.com/nxp-imx/imx-mkimage/tree/lf-6.1.1_1.0.0" target="_blank"&gt;https://github.com/nxp-imx/imx-mkimage/tree/lf-6.1.1_1.0.0&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;make SOC=iMX8ULP REV=A1 flash_singleboot_m33&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1713409#M211681</guid>
      <dc:creator>adrian_alonso</dc:creator>
      <dc:date>2023-08-29T17:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1713632#M211701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/31996"&gt;@adrian_alonso&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yep, I have read all of them before and&lt;SPAN&gt;&amp;nbsp;upgrade U-boot to lf-6.1.22-2.0.0, Cortex-M33 SDK to v2.14.0 already. The main problem is that we can not enable TPM3 in Mcore SDK on A2 Silicon, but it works fine on A0 Silicon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_0-1693358930317.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238765iBED2C059D447C3EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_0-1693358930317.png" alt="wenxue_guo_0-1693358930317.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="wenxue_guo_4-1693360958507.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238772i6E542A2E7E116529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_4-1693360958507.png" alt="wenxue_guo_4-1693360958507.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we know, it use&amp;nbsp;TPM0 Ch2 as backlight pwm on imx8ulp-evk board, but we changed it to TPM3 Ch5 on our board for hardware limit. I have fixed this issue with your help when bring up our demo board, it works fine on A0 silicon, even on the latest BSP lf-6.1.22-2.0.0 and SDK v2.14.0, but can not work on A2 silicon using the same code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attachment the patch for enable TPM3 in M-core SDK. It will get stuck in&amp;nbsp;&lt;FONT color="#3366FF"&gt;CLOCK_SetIpSrcDiv(kCLOCK_Tpm3, kCLOCK_FusionTpm3ClkSrcFusionDspBus, 1U, 0U)&lt;/FONT&gt;&amp;nbsp;and &lt;FONT color="#FF0000"&gt;U-boot will hangs for M33 Sync failed on A2 silicon&lt;/FONT&gt;.&amp;nbsp; &amp;nbsp;If comment&amp;nbsp;&lt;FONT color="#3366FF"&gt;Fusion_Init()&lt;/FONT&gt; , both u-boot and linux kernel can bootup on A2 silicon, but our LCD can't work for backlight pwm TPM3 not enabled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wenxue_guo_3-1693360038322.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238769i971CCFEF48479E2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wenxue_guo_3-1693360038322.png" alt="wenxue_guo_3-1693360038322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems the TPM3 clock source fusion management is not same on A0 and A2 silicon.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Can you give me some guide to enable TPM3 on A2 silicon? Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B.R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wenxue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 03:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1713632#M211701</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-08-30T03:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1719946#M212310</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/31996"&gt;@adrian_alonso&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have change the M-Core pin PTB13 export as GPIO port in FreeRTOS to A-Core Linux, and set the LCD backlight as&amp;nbsp;gpio-backlight in linux side. It works for our mass manufacture QC test t&lt;SPAN&gt;emporarily now&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read the M-Core SDK example driver code, and there is no other TPM module example code except TPM0. I don't know how to set TPM3 clock source to enable it, which is different on A2 silicon from A0 now. Can you give me some guide to set PTB13 work as TPM3 Chanel5, so we can control the LCD brightness in linux side when production release.&amp;nbsp;By the way,&amp;nbsp; I see the &lt;A href="https://support.nxp.com/s/case/5002p00002vU18rAAC/community-imx8ulp-cpu-rev-a2-boot-failed" target="_self"&gt;ticket case&amp;nbsp;&lt;/A&gt;&lt;SPAN&gt;&lt;A href="https://support.nxp.com/s/case/5002p00002vU18rAAC/community-imx8ulp-cpu-rev-a2-boot-failed" target="_self"&gt;00559949&lt;/A&gt; has been closed, and can not get any help from it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Wenxue&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 03:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1719946#M212310</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-09-11T03:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8ULP CPU Rev. A2 Boot failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1724589#M212726</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/31996"&gt;@adrian_alonso&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help! I have solve this bug already, attachment is the patch file to enable TPM3 Channel5 on PTB13 for our board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The TPM3 clock should initialize as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;int main(void)
{
    /* Initialize standard SDK demo application pins */
    BOARD_ConfigMPU();
    BOARD_InitBootPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();

    UPOWER_PowerOnMemPart(0U, (uint32_t)kUPOWER_MP1_DMA0);

    Fusion_Init();
    /* Must handshake with uboot, unless will get issues(such as: SoC reset all the time) */
    BOARD_HandshakeWithUboot_InAdvance();
    CLOCK_SetIpSrc(kCLOCK_Tpm3, kCLOCK_Pcc2BusIpSrcFusionDspBus);
    RESET_PeripheralReset(kRESET_Tpm3);
    ... ...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. TPM3 clock is from Fusion DSP, so must call&amp;nbsp;Fusion_Init();&lt;/P&gt;&lt;P&gt;2. It must&amp;nbsp;handshake with uboot before setup TPM3 clock source, or&amp;nbsp;SoC will reset all the time and TPM3 clock source setup will hangs;&lt;/P&gt;&lt;P&gt;3. We can not call the predefined &lt;FONT color="#FF0000"&gt;BOARD_HandshakeWithUboot()&lt;/FONT&gt;&amp;nbsp;function in&amp;nbsp;rpmsg_lite_str_echo_rtos project directly, because it will use RTOS SDK API but the RTOS is not initial now. That's why it doesn't work before. &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;4. Then I rewrite the function named&amp;nbsp;&lt;FONT color="#FF0000"&gt;BOARD_HandshakeWithUboot_InAdvance()&lt;/FONT&gt;&amp;nbsp;to use NoneOS API to handshake with u-boot, and remove the handshake procedure in app_srtm.c, it works now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Wenxue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 08:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/m-p/1724589#M212726</guid>
      <dc:creator>wenxue_guo</dc:creator>
      <dc:date>2023-09-18T08:55:39Z</dc:date>
    </item>
  </channel>
</rss>

