<?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>P-SeriesのトピックRe: P4080DS Kernel Panic</title>
    <link>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417019#M2352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reverted to default flags for SDK and tried to optimize only GCC.&lt;/P&gt;&lt;P&gt;I tried to compile only GCC with optimization, so I edited the lines in do_configure(){ }&amp;nbsp; under &lt;EM&gt;poky/meta/recipes-devtools/gcc/gcc-configure-common.inc :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CPPFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CXXFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Target flags will be used to build GCC for the target...is doing the above way correct? This compiled successfully and was able to load the files ystem and kernel without issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 13:31:50 GMT</pubDate>
    <dc:creator>sharathchandra</dc:creator>
    <dc:date>2015-06-03T13:31:50Z</dc:date>
    <item>
      <title>P4080DS Kernel Panic</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417017#M2350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a kernel panic error while booting my P4080DS board.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;init[1]: unhandled signal 11 at bf20aff0 nip 0ffdda20 lr 0ffddaf4 code 30001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU: 7 PID: 1 Comm: init Not tainted 3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b #1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Call Trace:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fd10] [c0006f50] show_stack+0x40/0x150 (unreliable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fd50] [c067947c] dump_stack+0x78/0xa0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fd60] [c06777bc] panic+0xd8/0x1fc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fdb0] [c0030884] do_exit+0x824/0x8d0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fe00] [c00317d8] do_group_exit+0x48/0xb0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fe20] [c003ff38] get_signal_to_deliver+0x168/0x4e0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908fe70] [c0007ab0] do_signal+0x40/0x210&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908ff30] [c0007d98] do_notify_resume+0x68/0x80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[e908ff40] [c0010948] do_user_signal+0x74/0xc4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--- Exception: 300 at 0xffdda20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LR = 0xffddaf4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rebooting in 180 seconds..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help on the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board was earlier updated with SDK 1.7 including u-boot, file system, kernel, device tree and it was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are done on the system just before I got this error:&lt;/P&gt;&lt;P&gt;Trying to achieve better performance, I tried to optimize the entire SDK, for which I edited the following optimization flags in &lt;STRONG&gt;&lt;EM&gt;poky/meta/conf/bitbake.conf&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEBUG_FLAGS ?= ""&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FULL_OPTIMIZATION = "-O3 -pipe ${DEBUG_FLAGS}"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEBUG_OPTIMIZATION = ""&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECTED_OPTIMIZATION = "${@d.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', True) == '1'], True)}"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUILD_OPTIMIZATION = "-O3 -pipe ${DEBUG_FLAGS}"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417017#M2350</guid>
      <dc:creator>sharathchandra</dc:creator>
      <dc:date>2015-06-01T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: P4080DS Kernel Panic</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417018#M2351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a segmentation fault in the userspace init process.&amp;nbsp; -O3 has been known to break some userspace programs.&amp;nbsp; I don't know the details of which programs or why, but it's probably (but not necessarily) due to the code relying on undefined behavior that happens to not cause problems with -O2 (and thus the issues don't get found during testing).&amp;nbsp; Enabling -O3 for the entire RFS is thus a bad idea.&amp;nbsp; I suggest that you only enable it for the code whose performance is most important to you, and then do adequate QA on those packages to determine that it's safe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417018#M2351</guid>
      <dc:creator>scottwood</dc:creator>
      <dc:date>2015-06-01T20:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: P4080DS Kernel Panic</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417019#M2352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reverted to default flags for SDK and tried to optimize only GCC.&lt;/P&gt;&lt;P&gt;I tried to compile only GCC with optimization, so I edited the lines in do_configure(){ }&amp;nbsp; under &lt;EM&gt;poky/meta/recipes-devtools/gcc/gcc-configure-common.inc :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CPPFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export CXXFLAGS_FOR_TARGET="-O3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Target flags will be used to build GCC for the target...is doing the above way correct? This compiled successfully and was able to load the files ystem and kernel without issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 13:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-Kernel-Panic/m-p/417019#M2352</guid>
      <dc:creator>sharathchandra</dc:creator>
      <dc:date>2015-06-03T13:31:50Z</dc:date>
    </item>
  </channel>
</rss>

