<?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>Layerscapeのトピックls1023a kernel stuck once enabled the sdk's dpaa function within kernel config</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1023a-kernel-stuck-once-enabled-the-sdk-s-dpaa-function-within/m-p/1294985#M8239</link>
    <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the kernel's boot-up, when enabled the follow function, kernel will stuck. kernel version is 4.14 and running with arm64 and kernel source code fetched as follow by Yocto from&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/linux" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;CONFIG_FSL_SDK_DPAA_ETH=y&lt;BR /&gt;CONFIG_FSL_DPAA_OFFLINE_PORTS=y&lt;BR /&gt;CONFIG_FSL_DPAA_ADVANCED_DRIVERS=y&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_USE_NDO_SELECT_QUEUE=y&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_MAX_BUF_COUNT=128&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_REFILL_THRESHOLD=80&lt;BR /&gt;CONFIG_FSL_DPAA_CS_THRESHOLD_1G=0x06000000&lt;BR /&gt;CONFIG_FSL_DPAA_CS_THRESHOLD_10G=0x10000000&lt;BR /&gt;CONFIG_FSL_DPAA_INGRESS_CS_THRESHOLD=0x10000000&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_DEBUGFS=y&lt;BR /&gt;CONFIG_FSL_SDK_DPA=y&lt;BR /&gt;CONFIG_FSL_DPA_CAN_WAIT=y&lt;BR /&gt;CONFIG_FSL_DPA_CAN_WAIT_SYNC=y&lt;BR /&gt;CONFIG_FSL_DPA_PIRQ_FAST=y&lt;BR /&gt;CONFIG_FSL_DPA_PIRQ_SLOW=y&lt;BR /&gt;CONFIG_FSL_DPA_PORTAL_SHARE=y&lt;BR /&gt;CONFIG_FSL_USDPAA=y&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And after reset the board, during u-boot, I dumped the __log_buf details, kernel run to follow:&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;BR /&gt;8134e738: 2e 00 00 00 10 c4 24 43 00 00 00 00 48 00 35 00 ......$C....H.5.&lt;BR /&gt;8134e748: 00 00 00 c6 44 4d 41 3a 20 70 72 65 61 6c 6c 6f ....DMA: preallo&lt;BR /&gt;8134e758: 63 61 74 65 64 20 32 35 36 20 4b 69 42 20 70 6f cated 256 KiB po&lt;BR /&gt;8134e768: 6f 6c 20 66 6f 72 20 61 74 6f 6d 69 63 20 61 6c ol for atomic al&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e778: 6c 6f 63 61 74 69 6f 6e 73 00 00 00 e0 34 2f 43 locations....4/C&lt;BR /&gt;8134e788: 00 00 00 00 28 00 16 00 00 00 00 c6 4d 61 63 68 ....(.......Mach&lt;BR /&gt;8134e798: 69 6e 65 3a 20 4c 61 6e 67 6c 65 79 20 42 6f 61 ine: Langley Boa&lt;BR /&gt;8134e7a8: 72 64 00 00 f8 44 2f 43 00 00 00 00 2c 00 19 00 rd...D/C....,...&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e7b8: 00 00 00 c6 53 6f 43 20 66 61 6d 69 6c 79 3a 20 ....SoC family:&lt;BR /&gt;8134e7c8: 51 6f 72 49 51 20 4c 53 31 30 34 33 41 00 00 00 QorIQ LS1043A...&lt;BR /&gt;8134e7d8: 58 53 2f 43 00 00 00 00 38 00 25 00 00 00 00 c6 XS/C....8.%.....&lt;BR /&gt;8134e7e8: 53 6f 43 20 49 44 3a 20 73 76 72 3a 30 78 38 37 SoC ID: svr:0x87&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e7f8: 39 32 30 62 31 31 2c 20 52 65 76 69 73 69 6f 6e 920b11, Revision&lt;BR /&gt;8134e808: 3a 20 31 2e 31 00 00 00 d0 52 cb 43 00 00 00 00 : 1.1....R.C....&lt;BR /&gt;8134e818: 4c 00 3c 00 00 00 00 c6 48 75 67 65 54 4c 42 20 L.&amp;lt;.....HugeTLB&lt;BR /&gt;8134e828: 72 65 67 69 73 74 65 72 65 64 20 32 2e 30 30 20 registered 2.00&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e838: 4d 69 42 20 70 61 67 65 00 00 00 00 00 00 00 00 MiB page........&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I disabled the DPAA function by setting "CONFIG_FSL_SDK_DPA=n" , kernel bootup successfully,&amp;nbsp; kernel is running with arm64.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Fisher Duan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Jun 2021 07:44:50 GMT</pubDate>
    <dc:creator>fduan</dc:creator>
    <dc:date>2021-06-20T07:44:50Z</dc:date>
    <item>
      <title>ls1023a kernel stuck once enabled the sdk's dpaa function within kernel config</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1023a-kernel-stuck-once-enabled-the-sdk-s-dpaa-function-within/m-p/1294985#M8239</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the kernel's boot-up, when enabled the follow function, kernel will stuck. kernel version is 4.14 and running with arm64 and kernel source code fetched as follow by Yocto from&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/linux" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;CONFIG_FSL_SDK_DPAA_ETH=y&lt;BR /&gt;CONFIG_FSL_DPAA_OFFLINE_PORTS=y&lt;BR /&gt;CONFIG_FSL_DPAA_ADVANCED_DRIVERS=y&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_USE_NDO_SELECT_QUEUE=y&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_MAX_BUF_COUNT=128&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_REFILL_THRESHOLD=80&lt;BR /&gt;CONFIG_FSL_DPAA_CS_THRESHOLD_1G=0x06000000&lt;BR /&gt;CONFIG_FSL_DPAA_CS_THRESHOLD_10G=0x10000000&lt;BR /&gt;CONFIG_FSL_DPAA_INGRESS_CS_THRESHOLD=0x10000000&lt;BR /&gt;CONFIG_FSL_DPAA_ETH_DEBUGFS=y&lt;BR /&gt;CONFIG_FSL_SDK_DPA=y&lt;BR /&gt;CONFIG_FSL_DPA_CAN_WAIT=y&lt;BR /&gt;CONFIG_FSL_DPA_CAN_WAIT_SYNC=y&lt;BR /&gt;CONFIG_FSL_DPA_PIRQ_FAST=y&lt;BR /&gt;CONFIG_FSL_DPA_PIRQ_SLOW=y&lt;BR /&gt;CONFIG_FSL_DPA_PORTAL_SHARE=y&lt;BR /&gt;CONFIG_FSL_USDPAA=y&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And after reset the board, during u-boot, I dumped the __log_buf details, kernel run to follow:&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;BR /&gt;8134e738: 2e 00 00 00 10 c4 24 43 00 00 00 00 48 00 35 00 ......$C....H.5.&lt;BR /&gt;8134e748: 00 00 00 c6 44 4d 41 3a 20 70 72 65 61 6c 6c 6f ....DMA: preallo&lt;BR /&gt;8134e758: 63 61 74 65 64 20 32 35 36 20 4b 69 42 20 70 6f cated 256 KiB po&lt;BR /&gt;8134e768: 6f 6c 20 66 6f 72 20 61 74 6f 6d 69 63 20 61 6c ol for atomic al&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e778: 6c 6f 63 61 74 69 6f 6e 73 00 00 00 e0 34 2f 43 locations....4/C&lt;BR /&gt;8134e788: 00 00 00 00 28 00 16 00 00 00 00 c6 4d 61 63 68 ....(.......Mach&lt;BR /&gt;8134e798: 69 6e 65 3a 20 4c 61 6e 67 6c 65 79 20 42 6f 61 ine: Langley Boa&lt;BR /&gt;8134e7a8: 72 64 00 00 f8 44 2f 43 00 00 00 00 2c 00 19 00 rd...D/C....,...&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e7b8: 00 00 00 c6 53 6f 43 20 66 61 6d 69 6c 79 3a 20 ....SoC family:&lt;BR /&gt;8134e7c8: 51 6f 72 49 51 20 4c 53 31 30 34 33 41 00 00 00 QorIQ LS1043A...&lt;BR /&gt;8134e7d8: 58 53 2f 43 00 00 00 00 38 00 25 00 00 00 00 c6 XS/C....8.%.....&lt;BR /&gt;8134e7e8: 53 6f 43 20 49 44 3a 20 73 76 72 3a 30 78 38 37 SoC ID: svr:0x87&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e7f8: 39 32 30 62 31 31 2c 20 52 65 76 69 73 69 6f 6e 920b11, Revision&lt;BR /&gt;8134e808: 3a 20 31 2e 31 00 00 00 d0 52 cb 43 00 00 00 00 : 1.1....R.C....&lt;BR /&gt;8134e818: 4c 00 3c 00 00 00 00 c6 48 75 67 65 54 4c 42 20 L.&amp;lt;.....HugeTLB&lt;BR /&gt;8134e828: 72 65 67 69 73 74 65 72 65 64 20 32 2e 30 30 20 registered 2.00&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;8134e838: 4d 69 42 20 70 61 67 65 00 00 00 00 00 00 00 00 MiB page........&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I disabled the DPAA function by setting "CONFIG_FSL_SDK_DPA=n" , kernel bootup successfully,&amp;nbsp; kernel is running with arm64.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Fisher Duan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 07:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1023a-kernel-stuck-once-enabled-the-sdk-s-dpaa-function-within/m-p/1294985#M8239</guid>
      <dc:creator>fduan</dc:creator>
      <dc:date>2021-06-20T07:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: ls1023a kernel stuck once enabled the sdk's dpaa function within kernel config</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1023a-kernel-stuck-once-enabled-the-sdk-s-dpaa-function-within/m-p/1295314#M8243</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I recently (friday) switched from USDPAA to DPAA SDK, my kernel config is the same as your, my kernel is booting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check your DTS file and use inspiration from fsl-ls1043a-rdb-sdk.dts, configuration&amp;nbsp; is really different from fsl-ls1043a-rdb-usdpaa.dts. I had a segfault in kernel, changing the configuration resolved (for the moment) everything&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 09:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1023a-kernel-stuck-once-enabled-the-sdk-s-dpaa-function-within/m-p/1295314#M8243</guid>
      <dc:creator>teddy_gom_e</dc:creator>
      <dc:date>2021-06-21T09:02:42Z</dc:date>
    </item>
  </channel>
</rss>

