<?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: Segmentation Fault in IPCF Userspace Example</title>
    <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1454167#M772</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/323"&gt;@andrei_skok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you know how to&amp;nbsp;&lt;SPAN&gt;resolved this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B.R.&lt;BR /&gt;Jack&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 10:32:01 GMT</pubDate>
    <dc:creator>jack_lee</dc:creator>
    <dc:date>2022-05-06T10:32:01Z</dc:date>
    <item>
      <title>Segmentation Fault in IPCF Userspace Example</title>
      <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1400905#M418</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I encounter a segmentation fault when trying to run the &lt;A href="https://source.codeaurora.org/external/autobsps32/ipcf/ipc-shm-us/?h=release%2FSW32G2_IPCF_4.3.0_D2109" target="_blank" rel="noopener"&gt;userspace IPCF example&lt;/A&gt;. This is in contrast to &lt;A href="https://source.codeaurora.org/external/autobsps32/ipcf/ipc-shm/" target="_blank" rel="noopener"&gt;kernel example&lt;/A&gt; which works as intended. I'm using bsp linux 30.0 fsl-image-auto and IPCF 4.3 for M7 firmware. Both Linux and firmware are unmodified example code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also using&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/autobsps32/ipcf/ipc-shm/log/?h=release/SW32G2_IPCF_4.3.0_D2109" target="_blank" rel="noopener"&gt;release/SW32G2_IPCF_4.3.0_D2109&lt;/A&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;branch for both ipc-shm-us and its submodule ipc-shm&lt;/P&gt;&lt;P&gt;U-Boot setup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;setenv fw_file ipcf_example.bin
setenv fw_start_addr 0x34300000
setenv fw_entry_addr 0x34501000
setenv load_firmware 'dcache off; initsram 0x34100000 0x700000; fatload mmc 0:1 ${fw_start_addr} ${fw_file}; startm7 ${fw_entry_addr}'
saveenv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;run load_firmware
boot&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I get when running userspace IPCF example code from linux:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@s32g274ardb2:~# ./ipcf_4.3_us/sample/ipc-shm-sample.elf                    
[   68.178287] ipc-shm-uio 40198000.mscm: GIC Rx IRQ = 24                       
[   68.178689] ipc-shm-uio 40198000.mscm: device ready                          
                                                                                
Input number of messages to send: 10                                            
ipc-shm-us-app: ch 0 &amp;gt;&amp;gt; 20 bytes: SENDING MESSAGES: 10                          
ipc-shm-us-app: ch 1 &amp;gt;&amp;gt; 16 bytes: #1 Hello world!                               
Segmentation fault  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 17:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1400905#M418</guid>
      <dc:creator>kawin</dc:creator>
      <dc:date>2022-01-19T17:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in IPCF Userspace Example</title>
      <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1401705#M430</link>
      <description>&lt;P&gt;Where do you put this u-boot setup? Im doing same thing, and writing this every time when booting.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1401705#M430</guid>
      <dc:creator>st_ra</dc:creator>
      <dc:date>2022-01-19T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in IPCF Userspace Example</title>
      <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1401924#M431</link>
      <description>&lt;P&gt;Hi st_ra,&lt;/P&gt;&lt;P&gt;You can use &lt;EM&gt;saveenv &lt;/EM&gt;to make environment variables persistence.&amp;nbsp;I'll edit the post to make it more clear&lt;/P&gt;&lt;P&gt;Kawin&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 18:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1401924#M431</guid>
      <dc:creator>kawin</dc:creator>
      <dc:date>2022-01-19T18:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in IPCF Userspace Example</title>
      <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1408836#M493</link>
      <description>&lt;P&gt;The issue has been resolved&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 04:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1408836#M493</guid>
      <dc:creator>andrei_skok</dc:creator>
      <dc:date>2022-02-04T04:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in IPCF Userspace Example</title>
      <link>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1454167#M772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/323"&gt;@andrei_skok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you know how to&amp;nbsp;&lt;SPAN&gt;resolved this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B.R.&lt;BR /&gt;Jack&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 10:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Segmentation-Fault-in-IPCF-Userspace-Example/m-p/1454167#M772</guid>
      <dc:creator>jack_lee</dc:creator>
      <dc:date>2022-05-06T10:32:01Z</dc:date>
    </item>
  </channel>
</rss>

