<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;feed=atom&amp;action=history</id>
		<title>ECE597 Listings for Chapter 2 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;action=history"/>
		<updated>2013-05-23T13:51:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;diff=71335&amp;oldid=prev</id>
		<title>Peter Huewe at 20:34, 27 October 2011</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;diff=71335&amp;oldid=prev"/>
				<updated>2011-10-27T20:34:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:34, 27 October 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ECE597]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Education]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Listings]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:19021:newid:71335 --&gt;
&lt;/table&gt;</summary>
		<author><name>Peter Huewe</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;diff=19021&amp;oldid=prev</id>
		<title>Xinkeqiong: Created page with '== Chapter 2 ==  {| ! Number ! Page ! Caption ! Listing |- | 2-1 | 2-6 | Initial Bootloader Serial Output | &lt;pre&gt; Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24) Readin…'</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ECE597_Listings_for_Chapter_2&amp;diff=19021&amp;oldid=prev"/>
				<updated>2010-04-02T01:36:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Chapter 2 ==  {| ! Number ! Page ! Caption ! Listing |- | 2-1 | 2-6 | Initial Bootloader Serial Output | &amp;lt;pre&amp;gt; Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24) Readin…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Chapter 2 ==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Number&lt;br /&gt;
! Page&lt;br /&gt;
! Caption&lt;br /&gt;
! Listing&lt;br /&gt;
|-&lt;br /&gt;
| 2-1&lt;br /&gt;
| 2-6&lt;br /&gt;
| Initial Bootloader Serial Output&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)&lt;br /&gt;
Reading boot sector&lt;br /&gt;
Loading u-boot.bin from mmc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
U-Boot 2009.11-rc1 (Jan 08 2010 - 21:19:52)&lt;br /&gt;
&lt;br /&gt;
OMAP3530-GP ES3.1, CPU-OPP2 L3-165MHz&lt;br /&gt;
OMAP3 Beagle board + LPDDR/NAND&lt;br /&gt;
I2C:   ready&lt;br /&gt;
DRAM:  256 MB&lt;br /&gt;
NAND:  256 MiB&lt;br /&gt;
In:    serial&lt;br /&gt;
Out:   serial&lt;br /&gt;
Err:   serial&lt;br /&gt;
Board revision C4&lt;br /&gt;
Die ID #5444000400000000040365fa1400e007&lt;br /&gt;
Hit any key to stop autoboot:  0&lt;br /&gt;
OMAP3 beagleboard.org # &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2-2&lt;br /&gt;
| 2-7&lt;br /&gt;
| Loading the Linux Kernel&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 2-3&lt;br /&gt;
| 2-9&lt;br /&gt;
| Linux Final Boot Messages&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2-4&lt;br /&gt;
| 2-21&lt;br /&gt;
| Hello World, Embedded Style&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int bss_var;        /* Uninitialized global variable */&lt;br /&gt;
&lt;br /&gt;
int data_var = 1;   /* Initialized global variable */&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  void *stack_var;            /* Local variable on the stack */&lt;br /&gt;
  &lt;br /&gt;
  stack_var = (void *)main;   /* Don't let the compiler */&lt;br /&gt;
                              /* optimize it out */&lt;br /&gt;
&lt;br /&gt;
  printf(&amp;quot;Hello, World! Main is executing at %p\n&amp;quot;, stack_var);&lt;br /&gt;
  printf(&amp;quot;This address (%p) is in our stack frame\n&amp;quot;, &amp;amp;stack_var);&lt;br /&gt;
&lt;br /&gt;
  /* bss section contains uninitialized data */&lt;br /&gt;
  printf(&amp;quot;This address (%p) is in our bss section\n&amp;quot;, &amp;amp;bss_var);&lt;br /&gt;
&lt;br /&gt;
  /* data section contains initializated data */&lt;br /&gt;
  printf(&amp;quot;This address (%p) is in our data section\n&amp;quot;, &amp;amp;data_var);&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2-5&lt;br /&gt;
| 2-22&lt;br /&gt;
| Hello Output for Host Computer&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
Hello, World! Main is executing at 0x80483c4&lt;br /&gt;
This address (0xbfc4b7e0) is in our stack frame&lt;br /&gt;
This address (0x804a020) is in our bss section&lt;br /&gt;
This address (0x804a014) is in our data section&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2-5&lt;br /&gt;
| 2-22&lt;br /&gt;
| Hello Output for Beagle&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
root@beagleboard:~# ./a.out&lt;br /&gt;
Hello, World! Main is executing at 0x8380&lt;br /&gt;
This address (0xbe876cd4) is in our stack frame&lt;br /&gt;
This address (0x10670) is in our bss section&lt;br /&gt;
This address (0x10668) is in our data section&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xinkeqiong</name></author>	</entry>

	</feed>