<?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>Other NXP ProductsのトピックRe: NXP library kernel panic before enter main.c</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1567588#M16079</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please use zephyr\samples\net\sockets\echo for testing BSD sockets function. It wiil echo what you send via TCP.&lt;BR /&gt;To run this sample successfully, prj.conf (samples\net\sockets\echo\prj.conf) should add a configuration: CONFIG_NET_L2_ETHERNET=y. See the attachment.&lt;BR /&gt;CONFIG_NET_CONFIG_AUTO_INIT is not needed for this project.&lt;BR /&gt;IPV6 configuration can turn off if not used.&lt;/P&gt;
&lt;P&gt;Plesase see the link for the detail about socket.&lt;BR /&gt;&lt;A href="https://docs.zephyrproject.org/3.2.0/connectivity/networking/api/sockets.html" target="_blank"&gt;https://docs.zephyrproject.org/3.2.0/connectivity/networking/api/sockets.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 16:22:17 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2022-12-09T16:22:17Z</dc:date>
    <item>
      <title>NXP library kernel panic before enter main.c</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1564934#M16059</link>
      <description>&lt;P&gt;請問如果我們希望用ethernet line ipv4連接board,跟電腦做BSD sockets packets access, 請問我們該用哪個sample的config?&lt;/P&gt;&lt;P&gt;另外我們需要在進去main前先做CONFIG_NET_CONFIG_AUTO_INIT=y的net driver config嗎?&lt;/P&gt;&lt;P&gt;因為目前我們用&lt;STRONG&gt;WEIKENG INDUSTRY CO., LTD.&lt;/STRONG&gt;Allen Yu建議的&lt;STRONG&gt;(zephyr\samples\net\sockets\echo)&lt;/STRONG&gt;的sample會因為找不到device造成kernel panic position is NET_ASSERT(iface) in net_if_is_up(), 但是我們driver有照spec Auto Zephyr BSP 0.9.0 User Manual for S32R41/SW32R41_AZ_2.7.2_0.9.0_D2208加上Ethernet support gmac driver還需要另外設定add device嗎?&lt;/P&gt;&lt;P&gt;剛進入net_if_get_default()時_net_if_list_start =_net_if_list_end是正常的嗎?&lt;/P&gt;&lt;P&gt;如果只需要使用ipv4是否可以關掉有關ipv6 config?&lt;/P&gt;&lt;P&gt;請盡速回復或Microsoft Teams視訊會議教我們怎麼做, 謝謝!&lt;/P&gt;&lt;P&gt;ps: 我們是用S32R41AAEVB, Debug zephyr.elf on board by S32DS3.5, A53 mcu&lt;/P&gt;&lt;P&gt;BoLong&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:benson.chen@cubtek.com" target="_blank" rel="noopener"&gt;benson.chen@cubtek.com&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 06:13:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1564934#M16059</guid>
      <dc:creator>bolong</dc:creator>
      <dc:date>2022-12-06T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: NXP library kernel panic before enter main.c</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1565805#M16069</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This is English forum. Please post your questions in English.&lt;/P&gt;
&lt;P&gt;Here is automatic translate trough google, may not be accurate:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;May I ask if we want to use the ethernet line ipv4 to connect to the board and do BSD sockets packets access with the computer, which sample config should we use?&lt;/P&gt;
&lt;P&gt;In addition, do we need to do net driver config with CONFIG_NET_CONFIG_AUTO_INIT=y before entering main?&lt;/P&gt;
&lt;P&gt;Because currently we use the sample suggested by WEIKEENG INDUSTRY CO., LTD. Allen Yu (zephyr\samples\net\sockets\echo) will cause the kernel panic position is NET_ASSERT(iface) in net_if_is_up() because the device cannot be found, but we The driver has the spec Auto Zephyr BSP 0.9.0 User Manual for S32R41/SW32R41_AZ_2.7.2_0.9.0_D2208 plus Ethernet support gmac driver, do I need to set add device additionally?&lt;/P&gt;
&lt;P&gt;Is it normal that _net_if_list_start = _net_if_list_end when just entering net_if_get_default()?&lt;/P&gt;
&lt;P&gt;If you only need to use ipv4, can you turn off the relevant ipv6 config?&lt;/P&gt;
&lt;P&gt;Please reply as soon as possible or teach us how to do it in Microsoft Teams video conferencing, thank you!&lt;/P&gt;
&lt;P&gt;ps: We are using S32R41AAEVB, Debug zephyr.elf on board by S32DS3.5, A53 mcu&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1565805#M16069</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2022-12-07T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: NXP library kernel panic before enter main.c</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1567588#M16079</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please use zephyr\samples\net\sockets\echo for testing BSD sockets function. It wiil echo what you send via TCP.&lt;BR /&gt;To run this sample successfully, prj.conf (samples\net\sockets\echo\prj.conf) should add a configuration: CONFIG_NET_L2_ETHERNET=y. See the attachment.&lt;BR /&gt;CONFIG_NET_CONFIG_AUTO_INIT is not needed for this project.&lt;BR /&gt;IPV6 configuration can turn off if not used.&lt;/P&gt;
&lt;P&gt;Plesase see the link for the detail about socket.&lt;BR /&gt;&lt;A href="https://docs.zephyrproject.org/3.2.0/connectivity/networking/api/sockets.html" target="_blank"&gt;https://docs.zephyrproject.org/3.2.0/connectivity/networking/api/sockets.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 16:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NXP-library-kernel-panic-before-enter-main-c/m-p/1567588#M16079</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-12-09T16:22:17Z</dc:date>
    </item>
  </channel>
</rss>

