<?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.MX8MP boot M7 use u-boot cause linux kernel panic</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121784#M238653</link>
    <description>&lt;P&gt;After disable rpmsg node and imx8mp-cm7, the issue still exists, I tried this before submitting here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two methods can make the issue disappear：&lt;/P&gt;&lt;P&gt;1. don't boot M7 in uboot, the issue will disapplear, below is my uboot command:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"m7image=eiu_m7.bin\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"load_m7image=fatload mmc ${mmcdev}:${mmcpart} 0x80000000 ${m7image};\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"m7boot=run load_m7image; bootaux 0x80000000;\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"bootcmd=run m7boot; run prepare_mcore; run distro_bootcmd\0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a. I tried boot one simplest M7 program, just while(1); in main.c, the issue also exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b. I tried to not run load_m7image, just bootaux 0x80000000, this is not a normal usage, just tried to eliminate the influence of the M7 program, and the issue also exists.&lt;/P&gt;&lt;P&gt;2. disable sai3 node in dts, the issue will disappear. But I need sai3 to play sound, this is also the target that I wanted to achieve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jun 2025 02:52:36 GMT</pubDate>
    <dc:creator>ShaunWei</dc:creator>
    <dc:date>2025-06-24T02:52:36Z</dc:date>
    <item>
      <title>i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121181#M238605</link>
      <description>&lt;P&gt;&lt;STRONG&gt;u-boot patch:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaunWei_0-1750660850984.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/344133i6F9C4C0CF9F1B085/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaunWei_0-1750660850984.png" alt="ShaunWei_0-1750660850984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kernel panic log:&lt;/STRONG&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="ShaunWei_1-1750660970518.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/344134i45185983089AD224/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaunWei_1-1750660970518.png" alt="ShaunWei_1-1750660970518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SDK version：SDK_24_12_00_MIMX8ML8xxxKZ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on the Linux log, it is suspected that there is a resource conflict between SAI3 and M7. However, even when I modified the M7 program to only contain `main(){while(1);}`, the problem still persisted. But if I disabled the SAI3 node in the Linux device tree, both Linux and M7 could work normally.&amp;nbsp;Has anyone encountered a similar problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 06:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121181#M238605</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-23T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121188#M238606</link>
      <description>and if I change the patch command from "bootcmd=run m7boot; run prepare_mcore; run distro_bootcmd"&lt;BR /&gt;to&lt;BR /&gt;"bootcmd=run prepare_mcore; run distro_bootcmd"&lt;BR /&gt;that is to do not boot M7, the linux kernel also boot successfully.</description>
      <pubDate>Mon, 23 Jun 2025 06:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121188#M238606</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-23T06:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121215#M238608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251908"&gt;@ShaunWei&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please try to test SDK2.16&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 07:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121215#M238608</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-23T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121285#M238616</link>
      <description>&lt;P&gt;Hi Zhiming，&lt;/P&gt;&lt;P&gt;Many thanks for your reply.&lt;BR /&gt;I tried the sdk 2.16.100, which is downloads from&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk,&lt;/A&gt;&lt;BR /&gt;I use west init and update the whole repo, and build hello world app under "mcuxsdk/examples/evkmimx8mp/demo_apps/hello_world", then rename to eiu_m7.bin that is the name my uboot used, badly the problem is same.&lt;BR /&gt;the linux kernel stack log is also same.&lt;/P&gt;&lt;P&gt;Do you have any other debuging suggestions？ thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 08:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121285#M238616</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-23T08:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121703#M238642</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Which dtb you are using ? imx8mp-evk-rpmsg.dtb? or&amp;nbsp;imx8mp-evk.dtb&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 00:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121703#M238642</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-24T00:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121748#M238649</link>
      <description>&lt;P&gt;The attached file is my dts, It is based on imx8mp-evk-rpmsg.dtb, and have some custom changes. I disabled the rpmsg and&amp;nbsp;imx8mp-cm7 nodes for debugging this issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 02:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121748#M238649</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-24T02:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121767#M238651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251908"&gt;@ShaunWei&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;After disabling the rpmsg node, does this issue exist? As the hello world demo doesn't support rpmsg feature. This issue should disappear after you disable the rpmsg node.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 02:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121767#M238651</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-24T02:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121784#M238653</link>
      <description>&lt;P&gt;After disable rpmsg node and imx8mp-cm7, the issue still exists, I tried this before submitting here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two methods can make the issue disappear：&lt;/P&gt;&lt;P&gt;1. don't boot M7 in uboot, the issue will disapplear, below is my uboot command:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"m7image=eiu_m7.bin\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"load_m7image=fatload mmc ${mmcdev}:${mmcpart} 0x80000000 ${m7image};\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"m7boot=run load_m7image; bootaux 0x80000000;\0"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"bootcmd=run m7boot; run prepare_mcore; run distro_bootcmd\0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a. I tried boot one simplest M7 program, just while(1); in main.c, the issue also exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b. I tried to not run load_m7image, just bootaux 0x80000000, this is not a normal usage, just tried to eliminate the influence of the M7 program, and the issue also exists.&lt;/P&gt;&lt;P&gt;2. disable sai3 node in dts, the issue will disappear. But I need sai3 to play sound, this is also the target that I wanted to achieve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 02:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121784#M238653</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-24T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121790#M238654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251908"&gt;@ShaunWei&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;No such issue with below commands and imx8mp-evk-rpmsg.dtb&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;setenv m7image 'hello_world.bin'
setenv load_m7image 'fatload mmc ${mmcdev}:1 0x48000000 ${m7image}; cp.b 0x48000000 0x7e0000 0x20000;'
setenv m7boot 'run prepare_mcore; run load_m7image; bootaux 0x7e0000'
run m7boot&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Booting with DDR is still testing. Do you need to run M7 on DDR?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 03:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121790#M238654</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-24T03:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121799#M238655</link>
      <description>&lt;P&gt;Hi Zhiming,&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt reply.&lt;/P&gt;&lt;P&gt;I compared&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;imx8mp-evk-rpmsg.dtb with my dts. The status of sai@30c30000&amp;nbsp;&amp;nbsp;is disabled in&amp;nbsp;imx8mp-evk-rpmsg.dtb by default, Would you modify it to "okay" and then test it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I disable this sai@30c30000 node in my dts, the linux also works fine. But I need it to play sound&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 03:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121799#M238655</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-24T03:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121809#M238657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251908"&gt;@ShaunWei&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check your uboot dtsi setting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in&amp;nbsp;arch/arm/dts/imx8mp-evk-u-boot.dtsi, need to delete&amp;nbsp;RDC_PDAP_SAI3&amp;nbsp; and SDMA3 if you want to use SAI3 in Linux.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;start-config = &amp;lt;
			    RDC_MDA  RDC_MDA_SDMA3p DID1 0x0 0x0
			    RDC_MDA  RDC_MDA_ENET1_TX DID1 0x0 0x0
			    RDC_MDA  RDC_MDA_ENET1_RX DID1 0x0 0x0
			    RDC_MDA  RDC_MDA_SDMA3b DID1 0x0 0x0
			    RDC_MDA  RDC_MDA_SDMA3_SPBA2 DID1 0x0 0x0
			    RDC_PDAP RDC_PDAP_ENET1 PDAP_D0D1_ACCESS 0x0 0x0
			    RDC_PDAP RDC_PDAP_SAI3  PDAP_D1_ACCESS 0x0 0x0
			    RDC_PDAP RDC_PDAP_UART4 PDAP_D1_ACCESS 0x0 0x0
			    RDC_PDAP RDC_PDAP_GPT1  PDAP_D1_ACCESS 0x0 0x0
			    RDC_PDAP RDC_PDAP_SDMA3 PDAP_D1_ACCESS 0x0 0x0
			    RDC_PDAP RDC_PDAP_I2C3  PDAP_D1_ACCESS 0x0 0x0
			    RDC_MEM_REGION 22 TCM_START TCM_END MEM_D1_ACCESS
			    RDC_MEM_REGION 39 M4_DDR_START M4_DDR_END MEM_D1_ACCESS
			    0x0      0x0            0x0  0x0 0x0
			  &amp;gt;;
			    /* rdc config when MCU stops
			     * memory:
			     *   TCM    --&amp;gt; domain 0/1 can access (0x7E0000~0x81FFFF)
			     *   DDR    --&amp;gt; domain 0/1 can access (0x80000000~0x81000000)
			     * end.
			     */&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 03:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2121809#M238657</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-24T03:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP boot M7 use u-boot cause linux kernel panic</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2122622#M238700</link>
      <description>&lt;P&gt;Hi Zhiming,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem was solved by modifying imx8mp-evk-u-boot.dtsi, thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 01:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-boot-M7-use-u-boot-cause-linux-kernel-panic/m-p/2122622#M238700</guid>
      <dc:creator>ShaunWei</dc:creator>
      <dc:date>2025-06-25T01:32:43Z</dc:date>
    </item>
  </channel>
</rss>

