<?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>S32G中的主题 Re: S32G RDB2 A53 kernel panic after M7 application start</title>
    <link>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1623665#M2673</link>
    <description>&lt;P&gt;i have the same question&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 00:30:28 GMT</pubDate>
    <dc:creator>wangzhenkai</dc:creator>
    <dc:date>2023-03-29T00:30:28Z</dc:date>
    <item>
      <title>S32G RDB2 A53 kernel panic after M7 application start</title>
      <link>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1623572#M2672</link>
      <description>&lt;P&gt;1. Start an IPCF multi M7 core demo or IPCF single M7 core demo using startm7 from u-boot. The M7 App starts and runs without issues; console output on UART1.&lt;/P&gt;&lt;P&gt;2. Type 'boot' in u-boot to start A53 Linux. Console output on UART0.&lt;/P&gt;&lt;P&gt;3. Kernel panics almost immediately:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;=&amp;gt; boot&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;PFE: emac0: sgmii emac1: none emac2: rgmii&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;pfeng_cfg_mode_enable: Invalid PFE device&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;switch to partitions #0, OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;mmc0 is current device&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;13756424 bytes read in 623 ms (21.1 MiB/s)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Booting from mmc ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;44164 bytes read in 22 ms (1.9 MiB/s)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;## Flattened Device Tree blob at 83000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Booting using the fdt blob at 0x83000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Using Device Tree in place at 0000000083000000, end 000000008300dc83&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;fixup: pfe0 set to 00:01:be:be:ef:11&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;fixup: pfe1 set to 00:01:be:be:ef:22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;fixup: pfe2 set to 00:01:be:be:ef:33&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Starting kernel ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] Linux version 5.10.120-rt70+g0b76731696c1 (oe-user@oe-host) (aarch64-fsl-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Sep 12 13:23:16 UTC 2022&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] Machine model: NXP S32G274A-RDB2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] earlycon: linflex0 at MMIO 0x00000000401c8000 (options '115200n8')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] printk: bootconsole [linflex0] enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] SError Interrupt on CPU0, code 0xbf000000 -- SError&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.120-rt70+g0b76731696c1 #1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] Hardware name: NXP S32G274A-RDB2 (DT)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] pstate: 60000085 (nZCv daIf -PAN -UAO -TCO BTYPE=--)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] pc : setup_arch+0x164/0x58c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] lr : setup_arch+0x15c/0x58c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] sp : ffffffc010c83ef0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x29: ffffffc010c83ef0 x28: 0000000080b30018&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x27: 00000000ffaa27f8 x26: 0000000000000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x25: 00000000ffb38bf0 x24: 00000000ffe0e1c8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x23: ffffffc010d22000 x22: ffffffc010c8e380&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x21: fffffffefe600094 x20: ffffffc010cd7148&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x19: ffffffc010000000 x18: 0000000000000030&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x17: 0000000000001800 x16: 0000000000000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x15: ffffffc010c8e7e8 x14: ffffffffffffffff&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x13: 0000000000000000 x12: 0000000000000028&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x11: 0000000000000015 x10: 0101010101010101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x9 : 3334ff6b6e6e6f5e x8 : 7f7f7f7f7f7f7f7f&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x7 : 736d647164676e62 x6 : 000006161d090b74&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x5 : 740b091d16060000 x4 : 0000000000000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x3 : ce6ded8ca0000000 x2 : 000000000000000c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] x1 : 0000000000000000 x0 : 0000000000000080&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] Kernel panic - not syncing:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] Asynchronous SError Interrupt&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 0.000000] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;4. Reset board. Type 'boot' in u-boot without starting M7 app. A53 Linux boots and runs without issue.&lt;/P&gt;&lt;P&gt;5. Command used to start M7 app:&lt;/P&gt;&lt;P&gt;bootm7=dcache off; mw.q 34000000 0 100000; tftp 80000000 sample.bin; cp.q 80000000 34300000 600000/8; startm7 34501000&lt;/P&gt;&lt;P&gt;NOTE: if I issue the dcache off, mw.q and tftp commands and then enter 'boot', Linux A53 will start up normally.&amp;nbsp; If I issue the dcache off, mw.q, tftp and cp.q commands and then 'boot', Linux A53 will panic.&lt;/P&gt;&lt;P&gt;6. u-boot version:&amp;nbsp;U-Boot 2020.04+g6391b468b1 (Sep 12 2022 - 14:11:05 +0000)&lt;/P&gt;&lt;P&gt;7. Using LinuxBSP 34.0;&amp;nbsp; Linux version 5.10.120-rt70+g0b76731696c1&lt;/P&gt;&lt;P&gt;8. This panic does not occur on earlier Linux BSP version 28.&lt;/P&gt;&lt;P&gt;9. Using SW32G_IPCF_4.6.0_D2205 and SW32_RTD_4_4_3_0_3_D2206 to build the M7 app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 18:29:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1623572#M2672</guid>
      <dc:creator>glenfujimori</dc:creator>
      <dc:date>2023-03-28T18:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32G RDB2 A53 kernel panic after M7 application start</title>
      <link>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1623665#M2673</link>
      <description>&lt;P&gt;i have the same question&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 00:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1623665#M2673</guid>
      <dc:creator>wangzhenkai</dc:creator>
      <dc:date>2023-03-29T00:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32G RDB2 A53 kernel panic after M7 application start</title>
      <link>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1624476#M2683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are seeing that you start the M7 from 0x34501000, whereas the example should start on 0x34401000.&lt;/P&gt;
&lt;P&gt;Also, when copying the application to internal SRAM you are adding a division by 8, which we might be misunderstanding.&lt;/P&gt;
&lt;P&gt;The "description.txt" provided in the project details the commands expected from the u-boot side to load the application into SRAM and start the M7 core. the commands should be the following:&lt;/P&gt;
&lt;P&gt;dcache off&lt;BR /&gt;mw.q 0x34000000 0x0 0x100000&lt;BR /&gt;fatload mmc 0:1 0x80000000 IPCF_Example_S32G274_M7_0.bin&lt;BR /&gt;cp.q 0x80000000 0x34300000 0x60000&lt;BR /&gt;startm7 0x34401000&lt;BR /&gt;boot&lt;/P&gt;
&lt;P&gt;Since you are tftping your image, we understand you are loading the image to DDR then copying to internal SRAM, for which we don't see the problem in that change. Still, if possible, you could try to follow the commands are they are presented, to understand if you have trouble with that.&lt;/P&gt;
&lt;P&gt;We are following the steps as shown on the "description.txt" and don't see this specific behavior.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know if this information was helpful or not.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 20:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1624476#M2683</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-03-29T20:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32G RDB2 A53 kernel panic after M7 application start</title>
      <link>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1642264#M3032</link>
      <description>&lt;P&gt;Just a short remark here, the documentation inside the IPCF package "SW32G_IPCF_4.6.0_D2205_UserManual.pdf" on page 30 says:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Markus_Schroeder_0-1682685121422.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221255iC8FCCCD06E7CB548/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Markus_Schroeder_0-1682685121422.png" alt="Markus_Schroeder_0-1682685121422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;whereby 0x60000 has one '0' too much, which makes quite a difference.&lt;/P&gt;&lt;P&gt;That took us some time to figure that out.&lt;/P&gt;&lt;P&gt;It seems, the original post has the same problem.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 12:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-RDB2-A53-kernel-panic-after-M7-application-start/m-p/1642264#M3032</guid>
      <dc:creator>Markus_Schroeder</dc:creator>
      <dc:date>2023-04-28T12:33:42Z</dc:date>
    </item>
  </channel>
</rss>

