<?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 Min startup code for imx6? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278981#M31793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I'm working on a custom -non-linux- imx6 solution. Can anyone point me to the minimum register writes etc to get a simple uart up? I understand, I think, the IVT and DCD stuff, and I believe I ought to be able to put all I need in that area for proof of concept... Any help appreciated.. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 00:55:12 GMT</pubDate>
    <dc:creator>johnballance</dc:creator>
    <dc:date>2013-10-15T00:55:12Z</dc:date>
    <item>
      <title>Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278981#M31793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I'm working on a custom -non-linux- imx6 solution. Can anyone point me to the minimum register writes etc to get a simple uart up? I understand, I think, the IVT and DCD stuff, and I believe I ought to be able to put all I need in that area for proof of concept... Any help appreciated.. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 00:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278981#M31793</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-15T00:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278982#M31794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please apply to the Platform SDK. &lt;/P&gt;&lt;P&gt;Chapter 33 (Configuring the UART Driver) of "iMX6_Firmware_Guide.pdf" in documentation provides detailed &lt;/P&gt;&lt;P&gt;descriptions of UART configiring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;Parent_nodeId=from%20sea…&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 01:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278982#M31794</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-10-15T01:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278983#M31795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. I have seen that document. It goes a long way. I think it is the clock sourcing I'm getting lost in. What is the clock input to the uart block (MHz)?.. does that need enabling after my code had been entered, or should the imx6 internal boot rom have set that going? ..(my code is the first code encountered.. it sits where something like uboot would sit, so I cannot rely on most of the normal assumptions about setup...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to get to is a really minimal sdcard image that outputs a serial character (to prove I can, hence keep sane) before any other initialisation (e.g. mmu setup etc) is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your reply appreciated, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 01:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278983#M31795</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-15T01:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278984#M31796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may look at the enclosed simple example. Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 02:02:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278984#M31796</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-10-15T02:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278985#M31797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sample.. where please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 02:03:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278985#M31797</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-15T02:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278986#M31798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take a look at thread activities again - it contains file "&lt;SPAN style="color: #3778c7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #fdfdfd; text-decoration: underline;"&gt;uart1_led.7z.zip"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 03:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278986#M31798</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-10-15T03:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278987#M31799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is brilliant.. I hadn't realised there was another way to view the thread.. when I found that, I found your reply. A lovely thing to wake up to!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278987#M31799</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-15T06:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278988#M31800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that program (uart_led/test.bin) compiled for a i.MX6 ?&amp;nbsp; It does not have the format (ivt + boot data + dcd + application) of a i.MX6 Boot Rom Program Image, and it is linked to be loaded at 0x900000 which is a reserved address in the i.MX6.&amp;nbsp; It is supposed to work on a i.MX6 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 08:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278988#M31800</guid>
      <dc:creator>phdm</dc:creator>
      <dc:date>2014-06-13T08:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278989#M31801</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;The code as provided I did recompile, because I was also using a non GPL &lt;/P&gt;&lt;P&gt;build environment, BUT, it does show all that is needed to get a serial &lt;/P&gt;&lt;P&gt;port running.  As such it proved invaluable!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;Stop press! Just announced -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free Standard Broadband for 6 months, unlimited data, and no minimum &lt;/P&gt;&lt;P&gt;contract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For full details of see &lt;A href="http://www.JustAskJB.co.uk" target="test_blank"&gt;http://www.JustAskJB.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;http://www.justaskjb.co.uk&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intrigued? Call me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John Ballance C.Eng MIET - jwb@rosery.net - 07976 295923&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 09:03:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278989#M31801</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2014-06-13T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278990#M31802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the led example is intended for JTAG load (to internal RAM), no IVT there.&lt;BR /&gt;As for IVT, please use U-boot&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:12:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278990#M31802</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-06-17T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278991#M31803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built the given uart0_led example using "gcc-arm-none-eabi-4_9-2015q3-20150921-win32 &lt;A href="https://launchpad.net/gcc-arm-embedded/+download" title="https://launchpad.net/gcc-arm-embedded/+download"&gt;GCC ARM Embedded project files : GCC ARM Embedded&lt;/A&gt; " toolchain (however not the Sourcery g++ Lite which you have used as seen in test.map ). Sourcery g++ Lite is now Mentor Graphics product which is available for 30 days evaluation only. So dropped an idea of using it for future developments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem now I face is in the makefile. Please check in the attached .jpeg file which shows an error relating make***[] error 1.&lt;/P&gt;&lt;P&gt;I am using GNU ARM Eclipse Build Tool for make. &lt;A href="http://sourceforge.net/projects/gnuarmeclipse/files/Build%20Tools/" title="http://sourceforge.net/projects/gnuarmeclipse/files/Build%20Tools/"&gt;GNU ARM Eclipse - Browse /Build Tools at SourceForge.net&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I please know where am I going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sarang&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="makefile_error.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3307i0141DEEE363ED446/image-size/large?v=v2&amp;amp;px=999" role="button" title="makefile_error.jpg" alt="makefile_error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 07:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278991#M31803</guid>
      <dc:creator>sarasur</dc:creator>
      <dc:date>2015-12-14T07:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278992#M31804</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; The makefile in my package may be not needed for Eclipse.&lt;/P&gt;&lt;P&gt;It is intended to build the image under command line (CMD). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, You may look at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103736"&gt;Integrating Processor Expert for i.MX and ARM GCC with Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 09:28:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278992#M31804</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-15T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278993#M31805</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 deleted makefile of your sample example then build it. Eclipse generated its own makefile. Still I get the same error. Any solution to this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the steps at &lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="103736" data-objecttype="102" href="https://community.nxp.com/docs/DOC-103736"&gt;Integrating Processor Expert for i.MX and ARM GCC with Eclipse&lt;/A&gt; to get eclipse up and running for iMX6DL bare metal LED flicker. I have even build the sample&amp;nbsp; &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/download/103736-8-297855/sources.7z.zip"&gt;sources.7z.zip&lt;/A&gt;​&lt;A _jive_internal="true" class="js-antivirus-info j-antivirus-info-icon" data-content-finding="Community" href="https://community.nxp.com/docs/DOC-103736"&gt;&lt;SPAN class="jive-icon-glyph icon-info" title="File threat analysis"&gt;&lt;/SPAN&gt;&lt;/A&gt; at that link but it too gives an error for the makefile (after letting Eclipse to create its own makefile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached .jpg to show the errors thrown. First image shows Makefile error in uart1_led&amp;nbsp;&amp;nbsp;&amp;nbsp; and Second image shows Makefile error in sample at &lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="103736" data-objecttype="102" href="https://community.nxp.com/docs/DOC-103736"&gt;Integrating Processor Expert for i.MX and ARM GCC with Eclipse&lt;/A&gt;&amp;nbsp; ( -lcs3 and -lcs3arm error may be due to Sourcery Codebench toolchain used by the author but I have used GCC ARM toolchain &lt;A href="https://launchpad.net/gcc-arm-embedded/+download" title="https://launchpad.net/gcc-arm-embedded/+download"&gt;GCC ARM Embedded project files : GCC ARM Embedded&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution to this error of makefile???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarang&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="makefile_error_combined.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31156i5C10B0F17A738A95/image-size/large?v=v2&amp;amp;px=999" role="button" title="makefile_error_combined.jpg" alt="makefile_error_combined.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 10:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278993#M31805</guid>
      <dc:creator>sarasur</dc:creator>
      <dc:date>2015-12-15T10:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278994#M31806</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;After reading &lt;A href="http://sourceforge.net/p/gnuarmeclipse/support-requests/30/" title="http://sourceforge.net/p/gnuarmeclipse/support-requests/30/"&gt;GNU ARM Eclipse / Support requests / #30 Trying to compile with arm-none-eabi-g++&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp; &lt;A href="http://comments.gmane.org/gmane.comp.gcc.help/41025" title="http://comments.gmane.org/gmane.comp.gcc.help/41025"&gt;Help for building or using GCC&lt;/A&gt; , it seems that the error is in the Linker Script (mx6dq.ld file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the mystery of error continues. I am using ARM GCC version 4.9.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 12:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278994#M31806</guid>
      <dc:creator>sarasur</dc:creator>
      <dc:date>2015-12-15T12:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278995#M31807</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;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; There is the article of Miro Samek, which is very helpful in clarifying of startup code &lt;BR /&gt; and linker script. Please refer to “Building Bare-Metal ARM Systems with GNU”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://www.embedded.com/design/mcus-processors-and-socs/4007119/Building-Bare-Metal-ARM-Systems-with-GNU-Part-1--Getting-Started" rel="nofollow"&gt;http://www.embedded.com/design/mcus-processors-and-socs/4007119/Building-Bare-Metal-ARM-Systems-with-GNU-Part-1--Getting-Started&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;You may try the simplest linker file (for OCRAM) as following :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;SECTIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;. = 0x00920000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;.text : { *(.text) }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;.data : { *(.data) }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;.bss : { *(.bss) }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; Please refer to section 3.3 (Simple Linker Script Example) of “ld.pdf” in toolchain&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;documentation for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 06:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278995#M31807</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-18T06:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278996#M31808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out the solution to the error: Undefined reference to '_exit'. After reading &lt;A href="http://stackoverflow.com/questions/19419782/exit-c-text0x18-undefined-reference-to-exit-when-using-arm-none-eabi-gcc" title="http://stackoverflow.com/questions/19419782/exit-c-text0x18-undefined-reference-to-exit-when-using-arm-none-eabi-gcc"&gt;http://stackoverflow.com/questions/19419782/exit-c-text0x18-undefined-reference-to-exit-when-using-arm-none-eabi-gcc&lt;/A&gt;&amp;nbsp; I had to add --specs=nosys.specs command in eclipse as shown in the figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Resolution_error1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31144i99A2EB2D2E24DFE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Resolution_error1.jpg" alt="Resolution_error1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278996#M31808</guid>
      <dc:creator>sarasur</dc:creator>
      <dc:date>2015-12-18T09:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278997#M31809</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;&amp;nbsp; Also, You may write own (minimal) syscalls lib. Please refer to &lt;BR /&gt;Chapter 12 (System Calls) of "libc.pdf" in toolchain documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 02:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/278997#M31809</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-21T02:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Min startup code for imx6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/1911286#M226323</link>
      <description>&lt;P&gt;I used your code, but it is not working on imx6q sabre lite board. I've done the pin changes for it to work on UART1 specific to this board. But still it is not working. I'm using eclipse and sourcery codebench. Can you please help in this regard?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 10:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Min-startup-code-for-imx6/m-p/1911286#M226323</guid>
      <dc:creator>deepaktajanpure</dc:creator>
      <dc:date>2024-07-18T10:39:23Z</dc:date>
    </item>
  </channel>
</rss>

