<?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>T-SeriesのトピックRe: kernel Bug at qman\bman _config.c</title>
    <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665617#M1993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;mohsen haghighat&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Linux SDK 2.0 Yocto build environment, please go to the build folder QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/linux-qoriq/4.1-r0/build,&lt;/P&gt;&lt;P&gt;$ cp source/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig&amp;nbsp;&amp;nbsp; .config&lt;/P&gt;&lt;P&gt;$ make ARCH=powerpc menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also could use the following commands to rebuild Linux Kernel.&lt;/P&gt;&lt;P&gt;1.$ bitbake virtual/kernel -c cleansstate&lt;/P&gt;&lt;P&gt;2. $ bitbake virtual/kernel -c configure&lt;/P&gt;&lt;P&gt;3. Go to the folder&lt;/P&gt;&lt;P&gt;build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/linux-qoriq/4.1-r0/build&lt;/P&gt;&lt;P&gt;$ make ARCH=powerpc menuconfig&lt;/P&gt;&lt;P&gt;4. After reconfigure Kernel according to your requirement.&lt;/P&gt;&lt;P&gt;$ bitbake virtual/kernel -c compile -f&lt;/P&gt;&lt;P&gt;$bitbake virtual/kernel&lt;/P&gt;&lt;P&gt;5. Got to step 3 to modify Kernel configuration and rebuild again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 07:22:30 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2017-07-20T07:22:30Z</dc:date>
    <item>
      <title>kernel Bug at qman\bman _config.c</title>
      <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665614#M1990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;We design a T1022 custom board. In this design we load U-boot on NOR-Flash and now we try to boot a OS on it.&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: small;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;We make a kernel (UIMAGE dtb and rootfs) with SDK, we use its default config&amp;nbsp;in Menuconfig. Then we boot these files on my board and see this error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: small;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;" kernel BUG at /home/me/SDK/QorIQ-SDK-V2.0-&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;20160527-yocto/build_&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;t1042d4rdb/tmp/work-shared/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;t1042d4rdb/kernel-source/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;drivers/staging/fsl_qbman/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;qman_config.c&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: small;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;Oops: Exception in kernel mode, sig: 5 [#1]" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;I attach the console logs.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;I understand that this error happend because of qman and bman, So in menuconifg I deselect it. I do not use USB on my board so I deselect the USB Support. Then I load the file on my board and OS boot seccesfully. I attach my.config file and linux dmesg logs.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;bootm 1000000 3000000 1fc0000&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;What can i do for qman bman error?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: small;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337260"&gt;config.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337260"&gt;logs_qman_error.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 06:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665614#M1990</guid>
      <dc:creator>mohsenhaghighat</dc:creator>
      <dc:date>2017-07-12T06:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: kernel Bug at qman\bman _config.c</title>
      <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665615#M1991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="282073" data-username="mohsenhaghighat" href="https://community.nxp.com/people/mohsenhaghighat"&gt;mohsen haghighat&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you didn't configure BMAN in your Kernel configuration, please refer to the attached Kernel configuration.&lt;/P&gt;&lt;P&gt;You could run the following commands in Kernel source folder to generate .config automatically.&lt;/P&gt;&lt;P&gt;$ cp arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig .config&lt;/P&gt;&lt;P&gt;$ make ARCH=powerpc menuconfig&lt;/P&gt;&lt;P&gt;Then save the configuration as .config file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 10:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665615#M1991</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-07-19T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: kernel Bug at qman\bman _config.c</title>
      <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665616#M1992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear yiping thanks for answer, i can not find a attach kernel configuration.&lt;/P&gt;&lt;P&gt;I &amp;nbsp;copy the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;corenet32_fmanv3l_smp_defconfig&lt;/SPAN&gt; file to .config but it make error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&amp;nbsp; Using /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source as source for kernel |&amp;nbsp; |&amp;nbsp;&amp;nbsp; Using /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source as source for kernel |&amp;nbsp;&amp;nbsp; /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source is not clean, please run 'make mrproper' |&amp;nbsp; |&amp;nbsp;&amp;nbsp; /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source is not clean, please run 'make mrproper' |&amp;nbsp;&amp;nbsp; in the '/home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source' directory. |&amp;nbsp; |&amp;nbsp;&amp;nbsp; in the '/home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source' directory. | /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source/Makefile:972: recipe for target 'prepare3' failed | make[2]: *** [prepare3] Error 1 |&amp;nbsp; | /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source/Makefile:972: recipe for target 'prepare3' failed | make[2]: *** [prepare3] Error 1 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /home/me/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.65107)&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 11:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665616#M1992</guid>
      <dc:creator>mohsenhaghighat</dc:creator>
      <dc:date>2017-07-19T11:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: kernel Bug at qman\bman _config.c</title>
      <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665617#M1993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;mohsen haghighat&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Linux SDK 2.0 Yocto build environment, please go to the build folder QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/linux-qoriq/4.1-r0/build,&lt;/P&gt;&lt;P&gt;$ cp source/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig&amp;nbsp;&amp;nbsp; .config&lt;/P&gt;&lt;P&gt;$ make ARCH=powerpc menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also could use the following commands to rebuild Linux Kernel.&lt;/P&gt;&lt;P&gt;1.$ bitbake virtual/kernel -c cleansstate&lt;/P&gt;&lt;P&gt;2. $ bitbake virtual/kernel -c configure&lt;/P&gt;&lt;P&gt;3. Go to the folder&lt;/P&gt;&lt;P&gt;build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/linux-qoriq/4.1-r0/build&lt;/P&gt;&lt;P&gt;$ make ARCH=powerpc menuconfig&lt;/P&gt;&lt;P&gt;4. After reconfigure Kernel according to your requirement.&lt;/P&gt;&lt;P&gt;$ bitbake virtual/kernel -c compile -f&lt;/P&gt;&lt;P&gt;$bitbake virtual/kernel&lt;/P&gt;&lt;P&gt;5. Got to step 3 to modify Kernel configuration and rebuild again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 07:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665617#M1993</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-07-20T07:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: kernel Bug at qman\bman _config.c</title>
      <link>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665618#M1994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yiping, thanks for your reply&lt;/P&gt;&lt;P&gt;I resolved the problem by setting&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;fqd_a&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;(&lt;SPAN style="background-color: #f6f6f6;"&gt;qman_fqd in dts)&amp;nbsp;&lt;/SPAN&gt;address in file Path_To_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work-shared/t1042d4rdb/kernel-source/drivers/staging/fsl_qbman/qman_config.c to&amp;nbsp;0xff6000000 according to QorIQ-SDK2.0 document page 267:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3085iD91ECC5DFAB0DF5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and now qbman and ethernet drivers are initialized and&amp;nbsp;fm1-gb0..4 interfaces can be seen by ifconfig -a (I attached boot and ifconfig log). however I have some problems when I set IP or ping and I asked my problem in another question, thank you for your help :smileyhappy:.&lt;/P&gt;&lt;P&gt;My questions now:&lt;/P&gt;&lt;P&gt;1) is that address the correct one? and should I also set &lt;SPAN style="background-color: #f6f6f6;"&gt;bman_fbpr&lt;/SPAN&gt;&amp;nbsp;,&lt;SPAN style="background-color: #f6f6f6;"&gt;qman_pfdr&lt;/SPAN&gt;&amp;nbsp;,&lt;SPAN style="background-color: #f6f6f6;"&gt;pme_pdsr&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN style="background-color: #f6f6f6;"&gt;pme_sre&lt;/SPAN&gt;&amp;nbsp;addresses to some locations in above address map or their must be the default value in dts?&lt;/P&gt;&lt;P&gt;2) I changed address of &lt;SPAN style="background-color: #f6f6f6;"&gt;qman_fqd&lt;/SPAN&gt;&amp;nbsp;by setting it in the parser function in qman_config.c driver file, How can I change it through &lt;SPAN style="background-color: #f6f6f6;"&gt;reserved-memory&lt;/SPAN&gt;&amp;nbsp;in dts? I change &lt;SPAN style="background-color: #f6f6f6;"&gt;alloc-ranges&lt;/SPAN&gt;&amp;nbsp;property to some other value e.g.:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alloc-ranges = &amp;lt;0 0 0x2200000 0x55D4A80&amp;gt;;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but the address does not change.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;reserved-memory {&lt;/P&gt;&lt;P&gt;#address-cells = &amp;lt;2&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;2&amp;gt;;&lt;BR /&gt; ranges;&lt;/P&gt;&lt;P&gt;bman_fbpr: bman-fbpr {&lt;BR /&gt; compatible = "fsl,bman-fbpr";&lt;BR /&gt; alloc-ranges = &amp;lt;0 0 0x10000 0&amp;gt;;&lt;BR /&gt; size = &amp;lt;0 0x1000000&amp;gt;;&lt;BR /&gt; alignment = &amp;lt;0 0x1000000&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; qman_fqd: qman-fqd {&lt;BR /&gt; compatible = "fsl,qman-fqd";&lt;BR /&gt; alloc-ranges = &amp;lt;0 0 0x10000 0&amp;gt;;&lt;BR /&gt; size = &amp;lt;0 0x800000&amp;gt;;&lt;BR /&gt; alignment = &amp;lt;0 0x800000&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; qman_pfdr: qman-pfdr {&lt;BR /&gt; compatible = "fsl,qman-pfdr";&lt;BR /&gt; alloc-ranges = &amp;lt;0 0 0x10000 0&amp;gt;;&lt;BR /&gt; size = &amp;lt;0 0x2000000&amp;gt;;&lt;BR /&gt; alignment = &amp;lt;0 0x2000000&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; pme_pdsr: pme-pdsr {&lt;BR /&gt; compatible = "fsl,pme-pdsr";&lt;BR /&gt; alloc-ranges = &amp;lt;0 0 0x10000 0&amp;gt;;&lt;BR /&gt; size = &amp;lt;0 0x1000000&amp;gt;;&lt;BR /&gt; alignment = &amp;lt;0 0x1000000&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; pme_sre: pme-sre {&lt;BR /&gt; compatible = "fsl,pme-sre";&lt;BR /&gt; alloc-ranges = &amp;lt;0 0 0x10000 0&amp;gt;;&lt;BR /&gt; size = &amp;lt;0 0xa00000&amp;gt;;&lt;BR /&gt; alignment = &amp;lt;0 0xa00000&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please accept my apology for text prolongation :smileyhappy:.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 04:16:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/kernel-Bug-at-qman-bman-config-c/m-p/665618#M1994</guid>
      <dc:creator>mohsenhaghighat</dc:creator>
      <dc:date>2017-07-23T04:16:59Z</dc:date>
    </item>
  </channel>
</rss>

