<?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: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504673#M81877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.6 supports LVDS, parallel LCD and TVE on mx53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Camera capture is work in progress even for mx6 in mainline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest official kernel NXP released for mx53 is based on 2.6.35, but depending on what the customer needs mainline kernel could also be an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 01:03:57 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2016-05-30T01:03:57Z</dc:date>
    <item>
      <title>Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504669#M81873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm working with Linux-2.6.35/MX53,&lt;/P&gt;&lt;P&gt;and would like to enable kernel low level debugging and early printk to help debug kernel booting problem.However, after enabling "Kernel hacking-&amp;gt;Kernel low-level debugging functions"&lt;/P&gt;&lt;P&gt;and&amp;nbsp; "Kernel hacking-&amp;gt;Kernel low-level debugging functions-&amp;gt;Early printk",&lt;/P&gt;&lt;P&gt;the build process (with the cmd: make ARCH=arm CROSS_COMPILE=arm-fsl-linux-gnueabi- -j 4 uImage)&lt;/P&gt;&lt;P&gt;failed with errors:&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include/linux/version.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include/generated/utsrelease.h&lt;/P&gt;&lt;P&gt;make[1]: `include/generated/mach-types.h' is up to date.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL&amp;nbsp;&amp;nbsp;&amp;nbsp; scripts/checksyscalls.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include/generated/compile.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; AS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arch/arm/kernel/debug.o&lt;/P&gt;&lt;P&gt;In file included from arch/arm/plat-mxc/include/mach/debug-macro.S:52,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arch/arm/kernel/debug.S:130:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;arch/arm/plat-mxc/include/mach/mx5x.h:23:2: error: #error "Do not include directly."&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;make[1]: *** [arch/arm/kernel/debug.o] Error 1&lt;/P&gt;&lt;P&gt;make: *** [arch/arm/kernel] Error 2&lt;/P&gt;&lt;P&gt;make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;make: *** wait: No child processes.&amp;nbsp; Stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cross-compiling toolchain is arm-fsl-linux-gnueabi-gcc-4.4.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 12:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504669#M81873</guid>
      <dc:creator>RobbieJiang</dc:creator>
      <dc:date>2016-05-26T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504670#M81874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I typed your error message into Google. It found your post, and a previous one in this forum dated July 1, 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/309131"&gt;kernel hacking&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nobody has responded to that question in almost three years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Linux 2.6.35 Kernel, plus the 1200 or so Freescale-applied patches have not been tested with all possible combinations of kernel options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be some other options that you can turn on or off that might let it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all else fails you might just have to understand the Makefiles and try to work out a source code change to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, looking at the file it complained about, that file is being included without " __ASM_ARCH_MXC_HARDWARE_H__" being defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you have a clone of Freescale's git repository (if not, get it), type "git grep&amp;nbsp; __ASM_ARCH_MXC_HARDWARE_H__" and find :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ git grep&amp;nbsp; __ASM_ARCH_MXC_HARDWARE_H__&lt;/P&gt;&lt;P&gt;arch/arm/plat-mxc/include/mach/hardware.h:#ifndef __ASM_ARCH_MXC_HARDWARE_H__&lt;/P&gt;&lt;P&gt;arch/arm/plat-mxc/include/mach/hardware.h:#define __ASM_ARCH_MXC_HARDWARE_H__&lt;/P&gt;&lt;P&gt;arch/arm/plat-mxc/include/mach/hardware.h:#endif /* __ASM_ARCH_MXC_HARDWARE_H__ */&lt;/P&gt;&lt;P&gt;arch/arm/plat-mxc/include/mach/mx5x.h:#ifndef __ASM_ARCH_MXC_HARDWARE_H__&lt;/P&gt;&lt;P&gt;arch/arm/plat-mxc/include/mach/mxc.h:#ifndef __ASM_ARCH_MXC_HARDWARE_H__&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also find out the "magic" to pass to "make" to get it to give you the full compiler commands instead of the "CC Summaries". Then you can try to run the compiler command (that failed) manually with "-E" to get the preprocessor output. That tells you which file included what (and got the assumptions in that file wrong).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google also finds this, which might be worth checking:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.infradead.org/pipermail/barebox/2012-September/009779.html" title="http://lists.infradead.org/pipermail/barebox/2012-September/009779.html"&gt;[PATCH 07/14] ARM i.MX/MXS: Allow to include imx*-regs.h directly&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then read this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://xkcd.com/1671/" title="http://xkcd.com/1671/"&gt;xkcd: Arcane Bullshit&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 14:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504670#M81874</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2016-05-27T14:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504671#M81875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could give kernel 4.6 a try, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 15:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504671#M81875</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2016-05-29T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504672#M81876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; You could give kernel 4.6 a try, if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it now have support for the "Multimedia" parts of the i.MX? Previous versions never did. The last information I had was that the only version of Linux for the i.MX53 supported by Freescale/NXP that handled the IPU and the other video and graphics hardware is 2.6.35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux 3 and above is fine as long as you just want a CPU core, memory, a serial port and Ethernet, but if you want to use the image capture or any of the fancy "Multimedia" stuff, then I don't think you can use anything other than 2.6.35 on an i.MX53, or an i.MX53 with newer software. You have to use an i.MX6 for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the link to a definitive statement on the version of Linux to be used on the i.MX53. Scroll down to the post by "igorpadykov":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="379711" data-objecttype="1" href="https://community.nxp.com/thread/379711"&gt;https://community.nxp.com/message/587032&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 00:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504672#M81876</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2016-05-30T00:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504673#M81877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.6 supports LVDS, parallel LCD and TVE on mx53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Camera capture is work in progress even for mx6 in mainline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest official kernel NXP released for mx53 is based on 2.6.35, but depending on what the customer needs mainline kernel could also be an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 01:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504673#M81877</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2016-05-30T01:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504674#M81878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to use LTIB 1308 instead of 1109 one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 04:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504674#M81878</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-05-30T04:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504675#M81879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; 4.6 supports LVDS, parallel LCD and TVE on mx53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a simple frame buffer with the CPU having to write every pixel. No video or camera input, no IPU or GPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only wanted a CPU with a memory interface there should be simpler and cheaper SOCs out there that do that. Why buy an "Innovative Multimedia Extension" if you don't need the "Innovative", "Multimedia" or "Extension" bits?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2016 04:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504675#M81879</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2016-06-04T04:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504676#M81880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like there is a misunderstanding here: in kernel 4.6 it is not the CPU that writes every pixel to screen. The IPU is used for such purpose and basic IPU functionality is supported. VPU is also supported by the coda driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going back to the original request of this thread where Robbie wants to enable low-level debugging, I pointed kernel 4.6 because low-level debugging works fine there and I suppose that if someone is trying to enable such option is because they are not getting anything out of the console, and for such purpose 4.6 could be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned before, the official kernel version NXP supports for mx53 is 2.6.35 and I just wanted to help with this specific low-level debugging problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2016 12:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504676#M81880</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2016-06-04T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel build error when enabling low-level debugging with Linux-2.6.35 for MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504677#M81881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Looks like there is a misunderstanding here: in kernel 4.6 it is not the CPU that writes&lt;/P&gt;&lt;P&gt;&amp;gt; every pixel to screen. The IPU is used for such purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By "screen" I meant the CPU has to write every pixel to the frame buffer without any assistance from the GPU hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is similar to the simple LCD Controller on the MCF5329, and for old video cards all the way back to the early PCs and the original Macintosh back in 1984.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original poster must have a problem that has him trying to turn low level debugging on. He then had a problem with that, so is trying to get that working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Robbie, if you detail the original problem then someone may be able to help with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 03:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-build-error-when-enabling-low-level-debugging-with-Linux/m-p/504677#M81881</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2016-06-05T03:26:32Z</dc:date>
    </item>
  </channel>
</rss>

