<?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>topic How to compile linux kernel for P4080 with no SMP (just one cpu) in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/How-to-compile-linux-kernel-for-P4080-with-no-SMP-just-one-cpu/m-p/662855#M4002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compile the linux kernel (SDK 2.0) with no SMP support, since I intended to run it just&amp;nbsp;on one CPU.&lt;/P&gt;&lt;P&gt;I disabled CONFIG_SMP in menuconfig, after that compilation fails with the following error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arch/powerpc/sysdev/fsl_rcpm.o&lt;BR /&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arch/powerpc/sysdev/fsl_lbc.o&lt;BR /&gt;/home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work-shared/p4080ds/kernel-source/arch/powerpc/sysdev/fsl_rcpm.c: In function 'rcpm_v1_irq_mask':&lt;BR /&gt;/home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work-shared/p4080ds/kernel-source/arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]&lt;BR /&gt;&amp;nbsp; int hw_cpu = get_hard_smp_processor_id(cpu);&lt;BR /&gt;&amp;nbsp; ^&lt;BR /&gt;cc1: all warnings being treated as errors&lt;BR /&gt;make[3]: *** [arch/powerpc/sysdev/fsl_rcpm.o] Error 1&lt;BR /&gt;make[3]: *** Waiting for unfinished jobs....&lt;BR /&gt;make[2]: *** [arch/powerpc/sysdev] Error 2&lt;BR /&gt;make[1]: *** [sub-make] Error 2&lt;BR /&gt;make: *** [__sub-make] Error 2&lt;BR /&gt;ERROR: oe_runmake failed&lt;BR /&gt;ERROR: Function failed: do_compile (log file is located at /home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.16729)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;anybody knows what other step has to be taken in order to compile the linux kernel with no SMP support?&lt;/P&gt;&lt;P&gt;Many thank in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Paramahansa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 08:05:54 GMT</pubDate>
    <dc:creator>paramahansapolo</dc:creator>
    <dc:date>2017-01-05T08:05:54Z</dc:date>
    <item>
      <title>How to compile linux kernel for P4080 with no SMP (just one cpu)</title>
      <link>https://community.nxp.com/t5/P-Series/How-to-compile-linux-kernel-for-P4080-with-no-SMP-just-one-cpu/m-p/662855#M4002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compile the linux kernel (SDK 2.0) with no SMP support, since I intended to run it just&amp;nbsp;on one CPU.&lt;/P&gt;&lt;P&gt;I disabled CONFIG_SMP in menuconfig, after that compilation fails with the following error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arch/powerpc/sysdev/fsl_rcpm.o&lt;BR /&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arch/powerpc/sysdev/fsl_lbc.o&lt;BR /&gt;/home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work-shared/p4080ds/kernel-source/arch/powerpc/sysdev/fsl_rcpm.c: In function 'rcpm_v1_irq_mask':&lt;BR /&gt;/home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work-shared/p4080ds/kernel-source/arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]&lt;BR /&gt;&amp;nbsp; int hw_cpu = get_hard_smp_processor_id(cpu);&lt;BR /&gt;&amp;nbsp; ^&lt;BR /&gt;cc1: all warnings being treated as errors&lt;BR /&gt;make[3]: *** [arch/powerpc/sysdev/fsl_rcpm.o] Error 1&lt;BR /&gt;make[3]: *** Waiting for unfinished jobs....&lt;BR /&gt;make[2]: *** [arch/powerpc/sysdev] Error 2&lt;BR /&gt;make[1]: *** [sub-make] Error 2&lt;BR /&gt;make: *** [__sub-make] Error 2&lt;BR /&gt;ERROR: oe_runmake failed&lt;BR /&gt;ERROR: Function failed: do_compile (log file is located at /home/ppolo/Workspace/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.16729)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;anybody knows what other step has to be taken in order to compile the linux kernel with no SMP support?&lt;/P&gt;&lt;P&gt;Many thank in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Paramahansa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 08:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/How-to-compile-linux-kernel-for-P4080-with-no-SMP-just-one-cpu/m-p/662855#M4002</guid>
      <dc:creator>paramahansapolo</dc:creator>
      <dc:date>2017-01-05T08:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to compile linux kernel for P4080 with no SMP (just one cpu)</title>
      <link>https://community.nxp.com/t5/P-Series/How-to-compile-linux-kernel-for-P4080-with-no-SMP-just-one-cpu/m-p/662856#M4003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Yes, it is not possible. This BSP provides kernel generation minimum for two cores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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, 12 Jan 2017 02:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/How-to-compile-linux-kernel-for-P4080-with-no-SMP-just-one-cpu/m-p/662856#M4003</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-01-12T02:07:18Z</dc:date>
    </item>
  </channel>
</rss>

