<?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>i.MX Processors中的主题 Re: Hello World program for the i.MX6 Solox on Sabresd board running Linux.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360633#M50697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JAVIER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to check &lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.10.53_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz"&gt;L3.10.53_1.1.0_LINUX_DOCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sect.4.7.6 Running the M4 Image i.MX_Linux_User's_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&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 Mar 2015 00:45:04 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-03-30T00:45:04Z</dc:date>
    <item>
      <title>Hello World program for the i.MX6 Solox on Sabresd board running Linux.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360632#M50696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I received an evaluation board a week ago and I am trying to get it up and running. I am a beginner with no software development experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Windows machine as host. I installed PuTTY and I am able to see the board boot from the SD card that comes with the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The board is booting fine:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Booting Linux on physical CPU 0x0&lt;/P&gt;&lt;P&gt;Linux version 3.10.53-1.1.0_ga+g496fbe0 (jenkins@scmbl1) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Mon Jan 5 15:55:14 CST 2015&lt;/P&gt;&lt;P&gt;CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d&lt;/P&gt;&lt;P&gt;CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache&lt;/P&gt;&lt;P&gt;Machine: Freescale i.MX6 SoloX (Device Tree), model: Freescale i.MX6 SoloX SDB Board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My toolchain is Eclipse IDE with CDT and &lt;STRONG style="font-family: Arial, sans-serif; font-size: 15px; color: #0000ff; background-color: #f7f7f7;"&gt;GNU ARM Eclipse Plug-ins.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, sans-serif; font-size: 15px; color: #0000ff; background-color: #f7f7f7;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Arial, sans-serif; font-size: 15px; color: #0000ff; background-color: #f7f7f7;"&gt;The code I am trying to run is below:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt; ============================================================================&lt;/P&gt;&lt;P&gt; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : main.c&lt;/P&gt;&lt;P&gt; Author&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;/P&gt;&lt;P&gt; Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt; Copyright&amp;nbsp;&amp;nbsp; : Your copyright notice&lt;/P&gt;&lt;P&gt; Description : Hello World in C&lt;/P&gt;&lt;P&gt; ============================================================================&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * Print a greeting message on standard output and exit.&lt;/P&gt;&lt;P&gt;&amp;nbsp; * On embedded platforms this might require semi-hosting or similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp; * For example, for toolchains derived from GNU Tools for Embedded,&lt;/P&gt;&lt;P&gt; * to enable semi-hosting, the following was added to the linker:&lt;/P&gt;&lt;P&gt; * * --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * Adjust it for other toolchains.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int&lt;/P&gt;&lt;P&gt;main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("Hello ARM World!" "\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The code builds with no problem as seen in the build console:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10:57:41 **** Incremental Build of configuration Release for project helloworldtest ****&lt;/P&gt;&lt;P&gt;make all &lt;/P&gt;&lt;P&gt;Invoking: Cross ARM GNU Print Size&lt;/P&gt;&lt;P&gt;arm-none-eabi-size --format=berkeley "helloworldtest.elf"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hex filename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 8252&amp;nbsp;&amp;nbsp; 2396&amp;nbsp;&amp;nbsp;&amp;nbsp; 260&amp;nbsp; 10908&amp;nbsp;&amp;nbsp; 2a9c helloworldtest.elf&lt;/P&gt;&lt;P&gt;Finished building: helloworldtest.siz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10:57:43 Build Finished (took 2s.387ms)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I download to the board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 23:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360632#M50696</guid>
      <dc:creator>sublime</dc:creator>
      <dc:date>2015-03-28T23:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World program for the i.MX6 Solox on Sabresd board running Linux.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360633#M50697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JAVIER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to check &lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.10.53_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz"&gt;L3.10.53_1.1.0_LINUX_DOCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sect.4.7.6 Running the M4 Image i.MX_Linux_User's_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&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 Mar 2015 00:45:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360633#M50697</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-30T00:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World program for the i.MX6 Solox on Sabresd board running Linux.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360634#M50698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0 0 24.0pt 0;"&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; First, the “Hello Word” application should be built, using Linux &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;cross toolchain. Than, You can just copy the Linux executable &lt;BR /&gt;image &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;to SD card (with Linux filesystem) and run it under i.MX6 SoloX Linux &lt;BR /&gt; environment ; please do not forget to set executable attribute of the file &lt;BR /&gt;(chmod 777). &lt;BR /&gt; The following app note may be useful in debugging :&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;"AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors."&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 24.0pt 0;"&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 12.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf&lt;/A&gt;&lt;/SPAN&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, 06 Apr 2015 08:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hello-World-program-for-the-i-MX6-Solox-on-Sabresd-board-running/m-p/360634#M50698</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-04-06T08:16:13Z</dc:date>
    </item>
  </channel>
</rss>

