<?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: Compiling imx53qsb uboot and Linux source separately in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164840#M4207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear fillipo, wolfgang,&lt;/P&gt;&lt;P&gt;i have taken the toolchain from mentor graphics and tried compiling, it is compiled.&lt;/P&gt;&lt;P&gt;But if I want to test the new uImage created with my compilation, where I have to keep the uImage in the u-SD card?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have kept the uImage in boot directory of SD card, but it seems like it is not booing uImage that I have compiled. ( I have just added a print statement in kernel to check - the compiled image booting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 09:00:27 GMT</pubDate>
    <dc:creator>jk1z</dc:creator>
    <dc:date>2012-06-04T09:00:27Z</dc:date>
    <item>
      <title>Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164829#M4196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I just started to work in imx53QSB.&lt;/P&gt;&lt;P&gt;I would like to compile the u-boot, linux sources&amp;nbsp;separately&amp;nbsp;(ie. not using LTIB script) in a &lt;STRONG&gt;Fedora&lt;/STRONG&gt; machine. (Currently I am not having ubuntu).&amp;nbsp;&lt;/P&gt;&lt;P&gt;After compilation I will test with that U-boot and Linux uImage in my board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To compile the u-boot and Linux source, which cross compiler I need to use?&lt;/P&gt;&lt;P&gt;From LTIB script I came to know that, it uses the compiler - /usr/bin/gcc4.4.&lt;/P&gt;&lt;P&gt;Can I copy that compiler to my FEDORA machine and set the PATH to it, will it work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything to be noted for using FEDORA or any other flavor of Linux instead of UBUNTU?&lt;/P&gt;&lt;P&gt;how about the tool chain for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 12:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164829#M4196</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-05-31T12:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164830#M4197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;/P&gt;&lt;P&gt;I guess you already "extracted" the sources from the LTIB by doing the prepare step and then copying the resulting source trees to another location?&lt;/P&gt;&lt;P&gt;For cross compilation, I always had good results using the CodeSourcery (now Mentor Sourcery) toolchains. Just grab the Lite edition and install it to a directory of your choice. AFAIR, for U-Boot and Linux kernel compilation, the flavour is not important, but I always used the GNU/Linux version. Then add the install directory to your PATH and set CROSS_COMPILE to the correct prefix, probably CROSS_COMPILE=arm-none-linux-gnueabi- - alternatively, add the complete path to CROSS_COMPILE, like CROSS_COMPILE=/Software/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-&lt;/P&gt;&lt;P&gt;For the kernel, you also need to set ARCH=arm, so a complete kernel build command line might be&lt;/P&gt;&lt;P&gt;make ARCH=arm&amp;nbsp;CROSS_COMPILE=/Software/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi- uImage&lt;/P&gt;&lt;P&gt;I am doing this running on Debian, so I would not expect Fedora to have any special problems either.&lt;/P&gt;&lt;P&gt;Do you intend to bring up a complete own build system, or why do you want to drop LTIB? Building U-Boot and kernel is rather easy, but getting a complete system to cross-compile is a bit of work... :-)&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 12:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164830#M4197</guid>
      <dc:creator>WolfgangW</dc:creator>
      <dc:date>2012-05-31T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164831#M4198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;BR /&gt;Currently I'm using FC16, I will install FC17 in the next few days.&lt;BR /&gt;I'm using the compiler from LTIB to compile a 2.6.35.3 patched kernel and u-boot-2009.08 patched bootloader ( the patches come from Freescale, as I have a START-R board ).&lt;BR /&gt;The file system I'm currently using is from buildroot, I feel more comfortable with it, and the complete system seems to me smaller and more customizable than the LTIB one.&lt;BR /&gt;Wolfgang pointed out it's a bit of work but I definitely prefer this way, but I can run Doom on my START-R too :-) !!!.&amp;nbsp; At the end, it's up to you.&lt;BR /&gt;I've copied the whole /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0 in a different directory ( say /Devel/Cross/XC_Freescale-gcc-4.4.4-glibc-2.11.1-multilib-1.0 ) with tar -jcf to mantain links, and I use it from there as explained by Wolfgang :&lt;BR /&gt;make ARCH=arm CROSS_COMPILE=/Devel/Cross/XC_Freescale-gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin uImage&lt;BR /&gt;to create the kernel.&lt;BR /&gt;For u-boot, I hit this:&lt;BR /&gt;make ARCH=arm CROSS_COMPILE=/Devel/Cross/XC_Freescale-gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin mx53_loco_config&lt;BR /&gt;and then :&lt;BR /&gt;make ARCH=arm CROSS_COMPILE=/Devel/Cross/XC_Freescale-gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin&lt;BR /&gt;As I noted ( and posted at &lt;A href="http://imxcommunity.org/group/ltib/forum/topics/ltib-and-make" rel="nofollow" target="_blank"&gt;http://imxcommunity.org/group/ltib/forum/topics/ltib-and-make&lt;/A&gt; ) , the Fedora make is the 3.82 version, and this breaks something in the LTIB compilation, so I replaced with the 3.81 version and compiled LTIB for the minimum system, then I copied out the compiler as stated above. There is a fix to do on the sparse package too, if you browse mi posts you will find it better detailed.&lt;BR /&gt;I've tried ct-ng built toolchain but I've not seen differences with the Freescale toolchain.&lt;BR /&gt;I've tried newer versions of u-boot, and I have found some rs232 errors ( fixed patching the kernel ), but I think the Freescale patches on u-boot runs fine and I've abandoned that.&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 14:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164831#M4198</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-05-31T14:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164832#M4199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Wolfgang,&lt;/P&gt;&lt;P&gt;many thanks for the details. I got lot of information.&lt;/P&gt;&lt;P&gt;Regarding your query, my answers starts with &amp;amp;&amp;amp;&amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; Do you intend to bring up a complete own build system, or why do you want to drop LTIB? Building U-Boot and kernel is rather easy, but getting a complete system to cross-compile is a bit of work... :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&amp;amp;&amp;amp; Yes I try to bring up own build system and I have worked previously in a customized board where I use to compile U-boot, Linux separately and build the rootfs image separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also I am new to LTIB, and did not know about its pros/cons.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when I use LTIB, if I want to change the u-boot or Linux kernel, I need change the files in the respective directory (path - I took from ltib script references), and compile. or any other process to be followed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also in your answer you have mentioned,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;complete system to cross-compile is a bit of work... :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;complete system in the sense, you mean the root file system build up?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I am using a custom board, then LTIB will be much useful?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;===========================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dear Fillipo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for your detailed reply. It relieved me from the dilemma of using Fedora.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will setup in fedora and let you know if there any major issues :-).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regarding the compiler you have used arm-fsl-linux----,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any difference between this and arm-none-linux-gnueabi-----???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rgds,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;jk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;CITE&gt;&lt;BR /&gt;&lt;/CITE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 14:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164832#M4199</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-05-31T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164833#M4200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Regarding the compiler you have used arm-fsl-linux----,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Is there any difference between this and arm-none-linux-gnueabi-----???&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Dunno, I have this directory&lt;BR /&gt;/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0&lt;BR /&gt;I've tarred it and untarred under my own directory, I have no &lt;EM&gt;arm-none-linux-gnueabi&lt;/EM&gt; directory. The binaries are arm-fsl-linux-gnueabi-SOMETHING and there are links to call them arm-none-linux-gnueabi-SOMETHING ... but I'm sure I've not understood your question ...&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164833#M4200</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-05-31T15:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164834#M4201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fillipo,&lt;/P&gt;&lt;P&gt;I just wanted to know if there any major pros/cons bw the compilers.&lt;/P&gt;&lt;P&gt;coz I have both in my directory :-), thats y I asked.&lt;/P&gt;&lt;P&gt;thanks fillipo.&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;-jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164834#M4201</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-05-31T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164835#M4202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear jk,&lt;BR /&gt;Ok, maybe I have understood ... &lt;BR /&gt;The arm-none-linux-gnueabi-SOMETHING is actually a link to arm-fsl-linux-gnueabi-SOMETHING, so they are the same binary. Call it as you like.&lt;BR /&gt;I.E. if you start arm-none-linux-gnueabi-gcc you will start arm-fsl-linux-gnueabi-gcc.&lt;BR /&gt;regards&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;jk said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/compiling-imx53qsb-uboot-and-linux-source-separately?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A71243&amp;amp;xg_source=msg_com_gr_forum#4103961Comment71243"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Dear Fillipo,&lt;/P&gt;&lt;P&gt;I just wanted to know if there any major pros/cons bw the compilers.&lt;/P&gt;&lt;P&gt;coz I have both in my directory :-), thats y I asked.&lt;/P&gt;&lt;P&gt;thanks fillipo.&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;-jk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164835#M4202</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-05-31T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164836#M4203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fillipo,&lt;/P&gt;&lt;P&gt;thanks, I also understood.&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;jk&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Filippo said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/compiling-imx53qsb-uboot-and-linux-source-separately?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment71334"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Dear jk,&lt;BR /&gt;Ok, maybe I have understood ... &lt;BR /&gt;The arm-none-linux-gnueabi-SOMETHING is actually a link to arm-fsl-linux-gnueabi-SOMETHING, so they are the same binary. Call it as you like.&lt;BR /&gt;I.E. if you start arm-none-linux-gnueabi-gcc you will start arm-fsl-linux-gnueabi-gcc.&lt;BR /&gt;regards&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;jk said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/compiling-imx53qsb-uboot-and-linux-source-separately?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A71243&amp;amp;xg_source=msg_com_gr_forum#4103961Comment71243"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Dear Fillipo,&lt;/P&gt;&lt;P&gt;I just wanted to know if there any major pros/cons bw the compilers.&lt;/P&gt;&lt;P&gt;coz I have both in my directory :-), thats y I asked.&lt;/P&gt;&lt;P&gt;thanks fillipo.&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;-jk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 06:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164836#M4203</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-01T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164837#M4204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fillipo/Wolfgang,&lt;/P&gt;&lt;P&gt;I try to copy the toolchain/compiler from the VM ware that given by Free scale along with IMX53QSB board.&lt;/P&gt;&lt;P&gt;In the virtual Linux I compressed (tar) and brought that to my remote fedora machine.&lt;/P&gt;&lt;P&gt;There in remote machine, I try to untar it, but it gives error and closed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to bring the tool chain/compiler to remote machine? or is there available in web that I can download directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;-jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 10:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164837#M4204</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-01T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164838#M4205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;/P&gt;&lt;P&gt;my recommendation would be Mentor Sourcery Lite:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/" target="_blank"&gt;http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Follow the link "Download the GNU/Linux Release" in the ARM Processor section. You have to register, but it is free.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 11:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164838#M4205</guid>
      <dc:creator>WolfgangW</dc:creator>
      <dc:date>2012-06-01T11:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164839#M4206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;BR /&gt;I'm sure Wolfgang is right.&lt;BR /&gt;Anyway,if you want to use the freescale compiler, look for the gcc-4.4.4-glibc-2.11.1-multilib-1.0 directory on the vm.&lt;BR /&gt;In my installation is under /opt/freescale/usr/local, but I have never received the vm dvd, so I installed LTIB on my system, and this is the path on my system, dunno on the vm where it is.&lt;BR /&gt;Now hit the following:&lt;BR /&gt;tar jcf gcc-4.4.4-glibc-2.11.1-multilib-1.0.tar.bz2 gcc-4.4.4-glibc-2.11.1-multilib-1.0&lt;BR /&gt;After a while you will obtain :&lt;BR /&gt;gcc-4.4.4-glibc-2.11.1-multilib-1.0.tar.bz2&lt;BR /&gt;Move it where you like and then hit:&lt;BR /&gt;tar jxf gcc-4.4.4-glibc-2.11.1-multilib-1.0.tar.bz2&lt;BR /&gt;and you will have back the gcc-4.4.4-glibc-2.11.1-multilib-1.0 directory in your own dir, with the cross compiler in it.&lt;BR /&gt;Add the path to your path and use it as explained above by Wolfgang and me.&lt;BR /&gt;Regards&lt;BR /&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 11:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164839#M4206</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-06-01T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164840#M4207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear fillipo, wolfgang,&lt;/P&gt;&lt;P&gt;i have taken the toolchain from mentor graphics and tried compiling, it is compiled.&lt;/P&gt;&lt;P&gt;But if I want to test the new uImage created with my compilation, where I have to keep the uImage in the u-SD card?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have kept the uImage in boot directory of SD card, but it seems like it is not booing uImage that I have compiled. ( I have just added a print statement in kernel to check - the compiled image booting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 09:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164840#M4207</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-04T09:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164841#M4208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jk,&lt;/P&gt;&lt;P&gt;only to understand, what if you insert the sd in your pc? &lt;BR /&gt;Do you see partitions? &lt;BR /&gt;And if yes, what do you see in ? &lt;BR /&gt;When you power up the board, do you see the usual u-boot outputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 09:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164841#M4208</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-06-04T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164842#M4209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello jk,&lt;/P&gt;&lt;P&gt;for the regular boot process of MX53QSB, the uImage is stored on the "raw" SD card (/dev/mmcblkX or /dev/sdX), not in any partition or filesystem. You have to write the uImage to this location with dd, specifying an offset (bs=... seek=...). DO NOT write it without the offset, you will overwrite u-boot and the partition table!&lt;/P&gt;&lt;P&gt;Sorry, I am not sure about the exact offset and don't have a plain linux image around for testing right now.&lt;/P&gt;&lt;P&gt;As Filippo already said, please confirm that u-boot is starting first!&lt;/P&gt;&lt;P&gt;If u-boot starts, stop the boot process at the u-boot prompt and give us the output of printenv, from the boot commands, we can calculate the offset needed. (If there is nobody else with a better memory who can tell it before. ;-) )&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 09:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164842#M4209</guid>
      <dc:creator>WolfgangW</dc:creator>
      <dc:date>2012-06-04T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164843#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Fillipo,&lt;/P&gt;&lt;P&gt;I have taken the linux source from the vmware, /home/lucid/ltib/rpm/BUILD/linux, to the feodra machine and compiled once using arm-none-linux-gnueabi- . I have the uImage. I just added a printk statement to the source and compiled.&lt;/P&gt;&lt;P&gt;The compilation is successful. I have flashed this to the uSD card.&lt;/P&gt;&lt;P&gt;In the host machine connected uSD card and saw mmcblk0 partition.&lt;/P&gt;&lt;P&gt;where I copied the uImage using 'dd' command (I saw this in a Readme doc from freescale)&amp;nbsp;&lt;/P&gt;&lt;P&gt;dd if=uImage of=/dev/mmcblk0 bs=512 seek=2048 &amp;amp;&amp;amp; sync &amp;amp;&amp;amp; sync&amp;nbsp;&lt;/P&gt;&lt;P&gt;after I created partion using fdisk and created a ext3 partition for rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I plug the card in imx53wsb and boot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;MMC read: dev # 0, block # 2048, count 6144 partition # 0 ... &lt;BR /&gt;6144 blocks read: OK&lt;BR /&gt;## Booting kernel from Legacy Image at 70800000 ...&lt;BR /&gt; Image Name: Linux-2.6.35.3-744-g27fdf7b&lt;BR /&gt; Image Type: ARM Linux Kernel Image (uncompressed)&lt;BR /&gt; Data Size: 2112408 Bytes = 2 MB&lt;BR /&gt; Load Address: 80008000&lt;BR /&gt; Entry Point: 80008000&lt;BR /&gt; Verifying Checksum ... OK&lt;BR /&gt; Loading Kernel Image ... OK&lt;BR /&gt;OK&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It stuck at Starting kernel....&lt;/P&gt;&lt;P&gt;If I want to check my own uImage what needs/care to be taken?&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164843#M4210</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-04T11:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164844#M4211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi fillipo &amp;amp; wolfgang&lt;/P&gt;&lt;P&gt;here the printenv&amp;nbsp;&lt;/P&gt;&lt;P&gt;MX53-LOCO U-Boot &amp;gt; &lt;BR /&gt;MX53-LOCO U-Boot &amp;gt; &lt;BR /&gt;MX53-LOCO U-Boot &amp;gt; &lt;BR /&gt;MX53-LOCO U-Boot &amp;gt; printenv&lt;BR /&gt;bootdelay=3&lt;BR /&gt;baudrate=115200&lt;BR /&gt;loadaddr=0x70800000&lt;BR /&gt;netdev=eth0&lt;BR /&gt;ethprime=FEC0&lt;BR /&gt;uboot=u-boot.bin&lt;BR /&gt;kernel=uImage&lt;BR /&gt;nfsroot=/opt/eldk/arm&lt;BR /&gt;bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp&lt;BR /&gt;bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm&lt;BR /&gt;ethact=FEC0&lt;BR /&gt;bootfile=dexter/uImage&lt;BR /&gt;filesize=2D47BC&lt;BR /&gt;fileaddr=70800000&lt;BR /&gt;gatewayip=10.192.241.254&lt;BR /&gt;netmask=255.255.255.0&lt;BR /&gt;ipaddr=10.192.241.192&lt;BR /&gt;serverip=10.192.225.224&lt;BR /&gt;dnsip=10.211.0.3&lt;BR /&gt;bootcmd_mmc=run bootargs_base bootargs_mmc; mmc read 0 ${loadaddr} 0x800 0x1800; bootm&lt;BR /&gt;lvds=video=mxcdi0fb:RGB666,XGA ldb&lt;BR /&gt;bootcmd_obds=ext2load mmc 0:1 0x70800000 /unit_tests/obds.bin; go 70800000&lt;BR /&gt;lcd=video=mxcdi0fb:RGB24,SEIKO-WVGA&lt;BR /&gt;vga=video=mxcdi1fb:GBR24,XGA di1_primary tve&lt;BR /&gt;hdmi=video=mxcdi0fb:RGB24,1024x768M@60&lt;BR /&gt;bootcmd=run bootcmd_mmc&lt;BR /&gt;bootargs_mmc=set bootargs ${bootargs} root=/dev/mmcblk0p1 rw rootwait&lt;BR /&gt;bootargs_base=setenv bootargs console=ttymxc0,115200 ${vga}&lt;BR /&gt;stdin=serial&lt;BR /&gt;stdout=serial&lt;BR /&gt;stderr=serial&lt;/P&gt;&lt;P&gt;Environment size: 1001/131068 bytes&lt;BR /&gt;MX53-LOCO U-Boot &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds -jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164844#M4211</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-04T11:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164845#M4212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I have uboot working now. if suppose, we overwritten the u-boot then how to recover it?&lt;/P&gt;&lt;P&gt;-rgds,&lt;/P&gt;&lt;P&gt;jk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164845#M4212</guid>
      <dc:creator>jk1z</dc:creator>
      <dc:date>2012-06-04T11:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164846#M4213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jk,&lt;/P&gt;&lt;P&gt;so from your U-Boot environment, we see that bootcmd calls bootcmd_mmc, and there the kernel is loaded with 'mmc read 0 ${loadaddr} 0x800 0x1800'. 0x800 is 2048, as this is counted in sectors of 512 bytes, the offset of the kernel (uImage) is 1M.&lt;/P&gt;&lt;P&gt;So writing the kernel as you did was perfectly ok. I suspect that you overwrote the kernel by creating a partition over it's location afterwards. ;-) Did you remember leaving some space at the start of the device (start of first partition at something like 6MB or so, I don't recall the original value)?&lt;/P&gt;&lt;P&gt;BTW, for re-writing U-Boot, take u-boot.bin and write it with&lt;BR /&gt;dd if=u-boot.bin of=/dev/mmcblk0 bs=512 skip=1 seek=1&lt;BR /&gt;to skip the first block on both SD card and image.&lt;/P&gt;&lt;P&gt;EDIT: Oops, sorry - the kernel image is correctly loaded (u-boot would detect a wrong checksum in any other case), so my guess the kernel image got overwritten by the newly created partition is wrong.&lt;/P&gt;&lt;P&gt;As Filippo pointed out, there seems to be some other setting wrong during kernel compilation!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164846#M4213</guid>
      <dc:creator>WolfgangW</dc:creator>
      <dc:date>2012-06-04T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164847#M4214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JK,&lt;/P&gt;&lt;P&gt;if you see the uboot prompt I think you have not overwritten it.&lt;BR /&gt;let me do a couple of tests to see the messages, but it seems to me you have no console, or you have compiled the kernel without serial support in it.&lt;BR /&gt;wait a couple of minutes, I bring up my system ...&lt;/P&gt;&lt;P&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164847#M4214</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-06-04T11:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling imx53qsb uboot and Linux source separately</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164848#M4215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, system is up. I suppose you have no serial console support in the kernel.&lt;BR /&gt;What if you use the original kernel ? Do you get the output on the serial port? I suppose yes.&lt;BR /&gt;There is a simple way to recover the configuration file from the original kernel, and you can use it.&lt;BR /&gt;In the mid time, can you kindly understand if on Drivers--&amp;gt;Character devices you have Virtual terminal&amp;nbsp; and Support for serial console both checked in your kernel config?&lt;/P&gt;&lt;P&gt;Anyway, to get the original .config from the running kernel you have to go on the target, under /proc, and you will find a file called "config.gz", the actual configuration of the running kernel : grab it and use it as a base for your tests.&lt;/P&gt;&lt;P&gt;Maybe this helps&lt;BR /&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-imx53qsb-uboot-and-Linux-source-separately/m-p/164848#M4215</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2012-06-04T12:07:24Z</dc:date>
    </item>
  </channel>
</rss>

