<?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 Re: i.MX6 kexec functionality in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306281#M39451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks for the suggestion, Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 16:40:16 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2015-08-31T16:40:16Z</dc:date>
    <item>
      <title>i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306269#M39439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently working on a solution that uses kexec to switch kernels on the fly without a full system restart.&amp;nbsp; So far I have it functioning after some modification to the kexec-tools to allow for a larger dtb file, but unfortunately I intermittently get failures and the system will hang instead of starting the new kernel. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I was wondering if anyone has got kexec working reliably on an i.MX6?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 18:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306269#M39439</guid>
      <dc:creator>chrischapman</dc:creator>
      <dc:date>2014-03-28T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306270#M39440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently investigating the same issue. Were you able to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 00:50:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306270#M39440</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-06-12T00:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306271#M39441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it running with kernel 3.14 and also 4.1-rc on a mx6quad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had issues with mx6solo though, which I will investigate later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my logs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/DDR144gA" title="http://pastebin.com/DDR144gA"&gt;root@wandboard-solo:~# kexec -d -l /tmp/zImage --dtb /tmp/imx6q-sabresd.dtb --co - Pastebin.com&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 00:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306271#M39441</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-06-16T00:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306272#M39442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My customer had some troubles to enable kexec on 3.10.17 kernel.&lt;/P&gt;&lt;P&gt;Could you give more information on how to enable kexec at your side?&lt;/P&gt;&lt;P&gt;If you can share any guide document or reference, it would be very helpful for us.&lt;/P&gt;&lt;P&gt;Especially I want to know which version of kexec you used(in yocto package? or seperately downloaded?) and whether there is any special difference between kernel versions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 07:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306272#M39442</guid>
      <dc:creator>Henry_p</dc:creator>
      <dc:date>2015-08-13T07:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306273#M39443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested kexec on mx6 using FSL 3.14 kernel and also mainline 4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With mainline kernel it works out of the box. With 3.14 kernel we need to apply the following patch:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Freescale/linux-fslc/commit/fee3fd4fd2ad136b26226346c3f8b446cc120bf5" title="https://github.com/Freescale/linux-fslc/commit/fee3fd4fd2ad136b26226346c3f8b446cc120bf5"&gt;ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility · Freescale/linux-fslc@fee3fd4 · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tested kexec with 3.10, but you probably need to adapt this patch to 3.10 and give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the kexec version that is provided by Yocto fido.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commands I used are posted here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/DDR144gA" title="http://pastebin.com/DDR144gA"&gt;root@wandboard-solo:~# kexec -d -l /tmp/zImage --dtb /tmp/imx6q-sabresd.dtb --co - Pastebin.com&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306273#M39443</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-08-13T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306274#M39444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried kexec on 3.10.17 kernel, but failed with following log.&lt;/P&gt;&lt;P&gt;I applied the patch you mentioned and another patch which applied before the patch.&lt;/P&gt;&lt;P&gt;&lt;A href="http://kernel.opensuse.org/cgit/kernel/commit/?id=2103f6cba61a8b8bea3fc1b63661d830a2125e76" title="http://kernel.opensuse.org/cgit/kernel/commit/?id=2103f6cba61a8b8bea3fc1b63661d830a2125e76"&gt;GIT Browse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other things to have a try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Henry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kexec -d -l ./zImage --dtb ./imx6q-sabresd.dtb --command-line="console=ttymxc0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait rw"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;kernel: 0x75df8008 kernel_size: 0x507250&lt;BR /&gt;kexec_load: entry = 0x10008000 flags = 0x280000&lt;BR /&gt;nr_segments = 2&lt;BR /&gt;segment[0].buf&amp;nbsp;&amp;nbsp; = 0x75df8008&lt;BR /&gt;segment[0].bufsz = 0x507250&lt;BR /&gt;segment[0].mem&amp;nbsp;&amp;nbsp; = 0x10008000&lt;BR /&gt;segment[0].memsz = 0x508000&lt;BR /&gt;segment[1].buf&amp;nbsp;&amp;nbsp; = 0x1246008&lt;BR /&gt;segment[1].bufsz = 0xb8a4&lt;BR /&gt;segment[1].mem&amp;nbsp;&amp;nbsp; = 0x1141e000&lt;BR /&gt;segment[1].memsz = 0xc000&lt;BR /&gt;&lt;A href="mailto:root@imx6qsabreauto:~/kexec/kernel"&gt;root@imx6qsabreauto:~/kexec/kernel&lt;/A&gt;#&lt;BR /&gt;&lt;A href="mailto:root@imx6qsabreauto:~/kexec/kernel"&gt;root@imx6qsabreauto:~/kexec/kernel&lt;/A&gt;#&lt;BR /&gt;&lt;A href="mailto:root@imx6qsabreauto:~/kexec/kernel"&gt;root@imx6qsabreauto:~/kexec/kernel&lt;/A&gt;# kexec -e&lt;BR /&gt;Starting new kernel&lt;BR /&gt;Disabling non-boot CPUs ...&lt;BR /&gt;CPU1: shutdown&lt;BR /&gt;CPU2: shutdown&lt;BR /&gt;CPU3: shutdown&lt;BR /&gt;Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306274#M39444</guid>
      <dc:creator>Henry_p</dc:creator>
      <dc:date>2015-08-24T07:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306275#M39445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to verify kexec functionality on 3.14 first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never tried kexec on 3.10, so not sure how easy it will be to find the missing patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 12:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306275#M39445</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-08-24T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306276#M39446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.14.28 kernel successfully boot by kexec on 3.14.28 kernel. Even I did'nt apply "ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case 3.14.28 boot -&amp;gt; kexec -&amp;gt; 3.10.17 kernel didn't boot (stopped at Bye!)&lt;/P&gt;&lt;P&gt;In case 3.10.17 boot -&amp;gt; kexec -&amp;gt; 3.14.28 kernel didn't boot(stopped during kernel booting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe more patches are required for 3.10 kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Henry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 01:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306276#M39446</guid>
      <dc:creator>Henry_p</dc:creator>
      <dc:date>2015-08-25T01:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306277#M39447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to mention that the "ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility" is only needed for booting the mx6 solo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mx6quad and dual-lite boot fine without this patch on 3.14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 02:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306277#M39447</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-08-25T02:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306278#M39448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How far have you taken testing of this fix? I found the only way to be certain that any changes actually fixed the issue was to leave the system in a kexec loop for a long period of time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 17:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306278#M39448</guid>
      <dc:creator>chrischapman</dc:creator>
      <dc:date>2015-08-27T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306279#M39449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I rebooted the system several times via kexec and did not see any failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306279#M39449</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-08-28T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306280#M39450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend attempting the method I mentioned of looping kexec for a significant length of time to test it thoroughly. During my troubleshooting over a year ago I found that you may get numerous successful kexec executions in a row and then the system would lock. Sometimes it went for several minutes of looping, other times several hours, but also I'd see it happen on the first attempt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I recall correctly we were running the 3.10.17 kernel release and to get kexec working correctly we had to make some changes around the clock gating. I'm unsure if this ever made it to the BSP or if another workaround was found. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:55:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306280#M39450</guid>
      <dc:creator>chrischapman</dc:creator>
      <dc:date>2015-08-31T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306281#M39451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks for the suggestion, Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 16:40:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306281#M39451</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-08-31T16:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306282#M39452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw an issue on the serial driver during the kexec tests and I fixed it with this commit:&lt;/P&gt;&lt;P&gt;&lt;A href="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=8a61f0c70ae65c6b70d13228c3120c73d7425a60" title="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=8a61f0c70ae65c6b70d13228c3120c73d7425a60"&gt;https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=8a61f0c70ae65c6b70d1…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 22:33:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306282#M39452</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-09-05T22:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306283#M39453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/FabioEstevam"&gt;FabioEstevam&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue here with imx6ull board. I tried the two patches from this topic :&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Freescale/linux-fslc/commit/fee3fd4fd2ad136b26226346c3f8b446cc120bf5" title="https://github.com/Freescale/linux-fslc/commit/fee3fd4fd2ad136b26226346c3f8b446cc120bf5"&gt;ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility · Freescale/linux-fslc@fee3fd4 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A class="link-titled" href="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=8a61f0c70ae65c6b70d13228c3120c73d7425a60" title="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=8a61f0c70ae65c6b70d13228c3120c73d7425a60"&gt;kernel/git/next/linux-next.git - The linux-next integration testing tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But same result .. SMP is disable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the freescale releasel :&amp;nbsp;rel_imx_4.1.15_2.1.0_ga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My kernel parameter to configure kdump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# cat /proc/cmdline&amp;nbsp;&lt;BR /&gt;console=ttymxc0,115200 cma=96M root=/dev/mmcblk1p8 rootwait rw &lt;STRONG&gt;crashkernel=50M@0x81000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iomem seems to be good :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;&lt;STRONG&gt;# cat /proc/iomem&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;&lt;STRONG&gt;(...)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;&lt;DIV&gt;&lt;STRONG&gt;80000000-8fffffff : System RAM&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; 80008000-808c62ab : Kernel code&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; 80920000-809cc7bf : Kernel data&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;&lt;STRONG&gt;&amp;nbsp; 81000000-841fffff : Crash kernel&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;P style="color: #222222; font-size: small;"&gt;script to test kexec :&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;&lt;DIV style="font-size: small;"&gt;&lt;DIV&gt;&lt;STRONG&gt;# cat kx.sh&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;#!/bin/sh&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;DUMPK_CMDLINE="console=ttymxc0,115200 cma=96M root=/dev/mmcblk1p8 rootwait rw&amp;nbsp; maxcpus=1 reset_devices earlyprinkt init=/sbin/init"&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;kexec --type zImage \&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;-l /data/zImage \&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;--dtb=/data/imx6ul-nano.dtb \&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;--append="${DUMPK_CMDLINE}"&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;[ $? -ne 0 ] &amp;amp;&amp;amp; {&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; echo "kexec failed." ; exit 1&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;echo "$0: kexec: success, dump kernel loaded."&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;exit 0&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;P style="font-size: small;"&gt;I run the script with success :&lt;/P&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: small;"&gt;&lt;DIV&gt;&lt;STRONG&gt;# sh kx.sh&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;kx.sh: kexec: success, dump kernel loaded.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;Finally I tried to execute it :&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt;&lt;STRONG&gt;# kexec -d -e&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt;&lt;STRONG&gt;imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt;&lt;STRONG&gt;kexec: Starting new kernel&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt;&lt;STRONG&gt;Bye!&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt; &lt;/DIV&gt;&lt;P style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt;Nothing after that. No more output. My board is freeze.&lt;/P&gt;&lt;DIV style="background-color: #ffffff; font-weight: 400; font-size: small;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306283#M39453</guid>
      <dc:creator>arthur_rythm</dc:creator>
      <dc:date>2018-01-31T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 kexec functionality</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306284#M39454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please start a new thread as the original one is from 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please use a more recent kernel, such as NXP 4.9 or mainline 4.15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-kexec-functionality/m-p/306284#M39454</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2018-01-31T16:33:18Z</dc:date>
    </item>
  </channel>
</rss>

