<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ruibing+Zhao</id>
		<title>Gumstix User Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ruibing+Zhao"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Ruibing_Zhao"/>
		<updated>2026-04-09T14:40:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5902</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5902"/>
				<updated>2012-09-21T23:05:52Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Setup the cross compiling environment==&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
==Write the program==&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
==Compile the program==&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
==Run the program==&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
'''Code used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
:The Hello World C code is from:&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/&amp;lt;br /&amp;gt;&lt;br /&gt;
:The commands used in serial console are from:&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://gumstix.8.n6.nabble.com/Running-program-on-bare-metal-Overo-td4965440.html&amp;lt;br /&amp;gt;&lt;br /&gt;
:The code used in Hello World is modified from:&amp;lt;br /&amp;gt;&lt;br /&gt;
:The Definitive Guide to the ARM Cortex-M3 P172-174&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Cross compiling tool used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Manuals:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
:Uboot:&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://www.denx.de/wiki/view/DULG/Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
:Linker script:&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://sourceware.org/binutils/docs/ld/Scripts.html#Scripts&amp;lt;br /&amp;gt;&lt;br /&gt;
:ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html&amp;lt;br /&amp;gt;&lt;br /&gt;
:Compiler:&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Futher readings:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://stackoverflow.com/questions/6870712/beagleboard-bare-metal-programming&amp;lt;br /&amp;gt;&lt;br /&gt;
:http://wiki.osdev.org/Beagleboard&amp;lt;br /&amp;gt;&lt;br /&gt;
:Building Bare-Metal ARM Systems with GNU&lt;br /&gt;
'''TRM(Technical Reference Manuals):'''&amp;lt;br /&amp;gt;&lt;br /&gt;
:TI OMAP35x Applications Processor Technical Reference Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
:ARM Architecture Reference Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
:ARM Assembly Language Tools User's Guide&amp;lt;br /&amp;gt;&lt;br /&gt;
:RealView Platform Baseboard for Cortex-A8 User Guide&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5901</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5901"/>
				<updated>2012-09-21T22:55:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Setup the cross compiling environment==&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
==Write the program==&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
==Compile the program==&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
==Run the program==&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
'''Code used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Hello World C code is from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/&amp;lt;br /&amp;gt;&lt;br /&gt;
	The commands used in serial console are from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gumstix.8.n6.nabble.com/Running-program-on-bare-metal-Overo-td4965440.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	The code used in Hello World is modified from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Definitive Guide to the ARM Cortex-M3 P172-174&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Cross compiling tool used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Manuals:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	Uboot:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.denx.de/wiki/view/DULG/Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
	Linker script:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://sourceware.org/binutils/docs/ld/Scripts.html#Scripts&amp;lt;br /&amp;gt;&lt;br /&gt;
	ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	Compiler:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Futher readings:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://stackoverflow.com/questions/6870712/beagleboard-bare-metal-programming&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://wiki.osdev.org/Beagleboard&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5900</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5900"/>
				<updated>2012-09-21T22:54:24Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Setup the cross compiling environment==&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
==Write the program==&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them.&amp;lt;br /&amp;gt;&lt;br /&gt;
Get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
==Compile the program==&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
==Run the program==&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
'''Code used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Hello World C code is from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/&amp;lt;br /&amp;gt;&lt;br /&gt;
	The commands used in serial console are from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gumstix.8.n6.nabble.com/Running-program-on-bare-metal-Overo-td4965440.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	The code used in Hello World is modified from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Definitive Guide to the ARM Cortex-M3 P172-174&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Cross compiling tool used:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Manuals:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	Uboot:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.denx.de/wiki/view/DULG/Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
	Linker script:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://sourceware.org/binutils/docs/ld/Scripts.html#Scripts&amp;lt;br /&amp;gt;&lt;br /&gt;
	ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	Compiler:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Futher readings:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://stackoverflow.com/questions/6870712/beagleboard-bare-metal-programming&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://wiki.osdev.org/Beagleboard&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5899</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5899"/>
				<updated>2012-09-21T22:53:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Setup the cross compiling environment==&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
==Write the program==&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them.&amp;lt;br /&amp;gt;&lt;br /&gt;
Get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
==Compile the program==&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
==Run the program==&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
Code used:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Hello World C code is from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/&amp;lt;br /&amp;gt;&lt;br /&gt;
	The commands used in serial console are from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gumstix.8.n6.nabble.com/Running-program-on-bare-metal-Overo-td4965440.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	The code used in Hello World is modified from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Definitive Guide to the ARM Cortex-M3 P172-174&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cross compiling tool used:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manuals:&amp;lt;br /&amp;gt;&lt;br /&gt;
	Uboot:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.denx.de/wiki/view/DULG/Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
	Linker script:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://sourceware.org/binutils/docs/ld/Scripts.html#Scripts&amp;lt;br /&amp;gt;&lt;br /&gt;
	ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	Compiler:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Futher readings:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://stackoverflow.com/questions/6870712/beagleboard-bare-metal-programming&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://wiki.osdev.org/Beagleboard&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5898</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5898"/>
				<updated>2012-09-21T22:53:07Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them.&amp;lt;br /&amp;gt;&lt;br /&gt;
Get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
Code used:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Hello World C code is from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/&amp;lt;br /&amp;gt;&lt;br /&gt;
	The commands used in serial console are from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gumstix.8.n6.nabble.com/Running-program-on-bare-metal-Overo-td4965440.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	The code used in Hello World is modified from:&amp;lt;br /&amp;gt;&lt;br /&gt;
	The Definitive Guide to the ARM Cortex-M3 P172-174&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cross compiling tool used:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manuals:&amp;lt;br /&amp;gt;&lt;br /&gt;
	Uboot:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://www.denx.de/wiki/view/DULG/Manual&amp;lt;br /&amp;gt;&lt;br /&gt;
	Linker script:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://sourceware.org/binutils/docs/ld/Scripts.html#Scripts&amp;lt;br /&amp;gt;&lt;br /&gt;
	ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html&amp;lt;br /&amp;gt;&lt;br /&gt;
	Compiler:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Futher readings:&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://stackoverflow.com/questions/6870712/beagleboard-bare-metal-programming&amp;lt;br /&amp;gt;&lt;br /&gt;
	http://wiki.osdev.org/Beagleboard&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5897</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5897"/>
				<updated>2012-09-21T22:40:14Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them.&amp;lt;br /&amp;gt;&lt;br /&gt;
Get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 boot.bin&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5896</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5896"/>
				<updated>2012-09-21T22:06:47Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website].&amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and the tar.bz2 one. I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World programs have been tested on an overo.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them.&amp;lt;br /&amp;gt;&lt;br /&gt;
Get source files from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here].&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
Assembly verison:&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
C version:&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh]).&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card:&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board.&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key to interrupt.&amp;lt;br /&amp;gt;&lt;br /&gt;
And run:&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console.&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5895</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5895"/>
				<updated>2012-09-21T21:52:51Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website] &amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and format tar.bz2(I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2) &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World program has been tested on an overo&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
Get file from [https://github.com/zhaoruibing/overo-bare-metal-hello-world here]&lt;br /&gt;
==Assembly verison==&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
==C version==&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh])&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console&amp;lt;br /&amp;gt;&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key&amp;lt;br /&amp;gt;&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5894</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5894"/>
				<updated>2012-09-21T21:35:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website] &amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and format tar.bz2(I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2) &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World program has been tested on an overo&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
==Assembly verison==&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Boot.asm&lt;br /&gt;
[[Media:Example.ogg]]&lt;br /&gt;
==C version==&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh])&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console&amp;lt;br /&amp;gt;&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key&amp;lt;br /&amp;gt;&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5893</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5893"/>
				<updated>2012-09-21T21:34:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website] &amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and format tar.bz2(I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2) &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World program has been tested on an overo&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
==Assembly verison==&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Boot.asm&lt;br /&gt;
&lt;br /&gt;
==C version==&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh])&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console&amp;lt;br /&amp;gt;&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key&amp;lt;br /&amp;gt;&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5892</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5892"/>
				<updated>2012-09-21T21:30:17Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup the cross compiling environment=&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from [http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ its website] &amp;lt;br /&amp;gt;&lt;br /&gt;
Please choose the eabi verison and format tar.bz2(I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2) &amp;lt;br /&amp;gt;&lt;br /&gt;
Untar the file&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ mkdir ~/overo-standalone&lt;br /&gt;
 $ cd ~/overo-standalone&lt;br /&gt;
 $ tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
=Write the program=&lt;br /&gt;
The following two Hello World program has been tested on an overo&amp;lt;br /&amp;gt;&lt;br /&gt;
You can play with them&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Compile the program=&lt;br /&gt;
==Assembly verison==&lt;br /&gt;
 $ cd asm/&lt;br /&gt;
Use make to compile the asm program&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Boot.asm&lt;br /&gt;
 [[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
==C version==&lt;br /&gt;
 $ cd c/&lt;br /&gt;
Run the compile file in c program folder&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ sh compile&lt;br /&gt;
=Run the program=&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts ([http://www.sakoman.com/downloads.html mkcard.sh and mksdcard.sh])&amp;lt;br /&amp;gt;&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&amp;lt;br /&amp;gt;&lt;br /&gt;
 $ umount /media/boot&lt;br /&gt;
 $ umount /media/rootfs&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board&amp;lt;br /&amp;gt;&lt;br /&gt;
Power it up and go into serial console&amp;lt;br /&amp;gt;&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key&amp;lt;br /&amp;gt;&lt;br /&gt;
 # mmc list&lt;br /&gt;
 # mmc part&lt;br /&gt;
 # fatls mmc 0:1&lt;br /&gt;
 # fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 # go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5891</id>
		<title>Category:BareMetal</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:BareMetal&amp;diff=5891"/>
				<updated>2012-09-21T21:10:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: Created page with &amp;quot;==Setup the cross compiling environment== The one I used is Sourcery CodeBench Lite Edition, you can get it from its website.(http://www.mentor.com/embedded-software/sourcery-too...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Setup the cross compiling environment==&lt;br /&gt;
The one I used is Sourcery CodeBench Lite Edition, you can get it from its website.(http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/)&lt;br /&gt;
Please choose the eabi verison and format tar.bz2(This is what I used arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2)&lt;br /&gt;
Untar the file&lt;br /&gt;
 mkdir ~/overo-standalone&lt;br /&gt;
 cd ~/overo-standalone&lt;br /&gt;
 tar xvjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&lt;br /&gt;
Add the bin to your PATH&lt;br /&gt;
 export PATH=$PATH:~/overo-standalone/arm-2008q3/bin&lt;br /&gt;
&lt;br /&gt;
==Write the program==&lt;br /&gt;
The following two Hello World program has been tested on an overo&lt;br /&gt;
You have test with them&lt;br /&gt;
&lt;br /&gt;
==Compile the program==&lt;br /&gt;
Get into the desired folder&lt;br /&gt;
 cd c/ or  cd asm/&lt;br /&gt;
Run the compile files in c program folder&lt;br /&gt;
 sh compile&lt;br /&gt;
Use make to compile the asm program&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
==Run the program==&lt;br /&gt;
You needed a flashed, bootable MicroSD. You can make one by using Sakoman's scripts (mkcard.sh and mksdcard.sh from http://www.sakoman.com/downloads.html)&lt;br /&gt;
Copy the .bin file generated by the compiler to the boot drive on the SD card&lt;br /&gt;
 cp *.bin /media/boot/&lt;br /&gt;
Umount the SD card&lt;br /&gt;
 umount /media/boot&lt;br /&gt;
 umount /media/rootfs&lt;br /&gt;
Plug the SD card in overo and connect the overo on a Tobi expansion board&lt;br /&gt;
Power it up and go into serial console&lt;br /&gt;
When the console prompt &amp;quot;Hit any key to stop autoboot&amp;quot;, please hit any key&lt;br /&gt;
 mmc list&lt;br /&gt;
 mmc part&lt;br /&gt;
 fatls mmc 0:1&lt;br /&gt;
 fatload mmc 0:1 0x80200000 uimage&lt;br /&gt;
 go 0x80200000&lt;br /&gt;
&lt;br /&gt;
By now you should see &amp;quot;Hello world!&amp;quot; poping in the console&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5890</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5890"/>
				<updated>2012-09-21T21:10:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ruibing Zhao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;''Welcome to the Gumstix User Wiki''&amp;lt;/big&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
This site is provided so that users of the Gumstix OpenEmbedded build system can share their knowledge, showcase their Gumstix-based projects, and pass on links to other sources of information and materials.  This information is entirely user generated and supported.  Please contribute your know-how to help your fellow developers.&lt;br /&gt;
&lt;br /&gt;
  '''Customer additions and edits are encouraged, but please read the help page before you make any major edits.'''&lt;br /&gt;
  ''Note:  you will need to create a new user account if you would like to contribute or edit content on this site.''&lt;br /&gt;
&lt;br /&gt;
Go to the [http://gumstix.org Gumstix Developer's website] for official Gumstix supported documentation on OpenEmbedded and other information of interest to developers:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's - Focus]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - Android|Android]]&lt;br /&gt;
* [[:Category:how to - eclipse|Eclipse]]&lt;br /&gt;
* [[:Category:How_to_-_Migrate_to_Gumstix|Migrate to Gumstix]]&lt;br /&gt;
* [[Linaro]]&lt;br /&gt;
* [[Installing Linaro Image]]&lt;br /&gt;
* [[LinuxLink]]&lt;br /&gt;
* [[:Category:how to - Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:how to - Debian|Debian]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[1-wire|1-wire]]&lt;br /&gt;
* [[:Category:how to - audio|Audio]]&lt;br /&gt;
* [[:Category:how to - adc|ADC]]&lt;br /&gt;
* [[AutoLogin|Automatic Logins]]&lt;br /&gt;
* [[:Category:how to - batteries|Batteries]]&lt;br /&gt;
* [[:Category:how to - bluetooth|Bluetooth]]&lt;br /&gt;
* [[:Category:how to - Buildroot overo|Buildroot (overo)]]&lt;br /&gt;
* [[:Category:Connect_hardware|Connect Hardware]]&lt;br /&gt;
* [[Caspa_camera_boards|Caspa camera boards]]&lt;br /&gt;
* [[:Category:how to - displays|Displays]]&lt;br /&gt;
* [[:Category:how to - DSP|DSP]]&lt;br /&gt;
* [[:Category:how_to_-_ethernet|Ethernet]]&lt;br /&gt;
* [[:Category:how_to_-_expansion_boards|Expansion Boards]]&lt;br /&gt;
* [[:Category:how to - fedora|Fedora]]&lt;br /&gt;
* [[:Category:how to - Fast Boot|Fast Boot]]&lt;br /&gt;
* [[:Category:how to - Fortran|Fortran]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Gaining Console Connection via Terminal]]&lt;br /&gt;
* [[:Category:how to - git|Git]]&lt;br /&gt;
* [[GPIO|GPIO]]&lt;br /&gt;
* [[GPS|GPS]]&lt;br /&gt;
* [[:Category:how to - gui|GUI]]&lt;br /&gt;
* [[:Category:how to - general|General]]&lt;br /&gt;
* [[:Category:how to - Build helloworld|HelloWorld]]&lt;br /&gt;
* [[HelloWorld|HelloWorld in Python, C, C++]]&lt;br /&gt;
* [[HelloWorld in Java|HelloWorld in Java]]&lt;br /&gt;
* [[:Category:how to - i2c|I2C]]&lt;br /&gt;
* [[:Category:how to - IMU|IMU]]&lt;br /&gt;
* [[:Category:how to - JAVA|JAVA]]&lt;br /&gt;
* [[Kernel Build]]&lt;br /&gt;
* [[Kernel Reconfiguration|Kernel Reconfiguration]]&lt;br /&gt;
* [[:Category:how to - Known Issues|Known Issues]]&lt;br /&gt;
* [[:Category:how to - LCD|LCD]]&lt;br /&gt;
* [[:Category:how to - Low Power|Low Power]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - linux|Linux]]&lt;br /&gt;
* [[AudioIn | Use a microphone]]&lt;br /&gt;
* [[MicroSd |MicroSD Duplication]]&lt;br /&gt;
* [[:Category:how to - Network_Boot|Network Boot]]&lt;br /&gt;
* [[:Category:how to - OpenEmbedded|OpenEmbedded]]&lt;br /&gt;
* [[:Category:how to - player|Player]]&lt;br /&gt;
* [[:Category:How to - PWM|PWM]]&lt;br /&gt;
* [[:Category:How_to_-_qemu|Qemu]]&lt;br /&gt;
* [[:Category:How_to_-_Qt|Qt]]&lt;br /&gt;
* [[:Category:how to - robotics|Robotics]]&lt;br /&gt;
* [[ROS|ROS]]&lt;br /&gt;
* [[RoboVero|RoboVero]]&lt;br /&gt;
* [[:Category:how to - security|Security]]&lt;br /&gt;
* [[:Category:SPI|SPI]]&lt;br /&gt;
* [[:Category:BareMetal|BareMetal]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:SUSE|SUSE]]&lt;br /&gt;
* [[Remote Debugging with GDB|Remote Debugging with GDB]]&lt;br /&gt;
* [[Toolchain]]&lt;br /&gt;
* [[U-Boot|UBoot]]&lt;br /&gt;
* [[:Category:how to - usb|USB]]&lt;br /&gt;
* [[Verdex Git Repository]]&lt;br /&gt;
* [[Verdex JTAG]]&lt;br /&gt;
* [[VerdexPro U-Boot Flashing Fix]]&lt;br /&gt;
* [[:Category:how to - virtual machine|Virtual Machine]]&lt;br /&gt;
* [[:Category:how to - webcams|Webcams]]&lt;br /&gt;
* [[:Category:how to - wifi|Wifi]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:projects|User projects]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:User_pics_videos|User Pics &amp;amp; Videos]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:resources|Resources]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:faqs|Questions and Answers]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:projects - audio|Audio]]&lt;br /&gt;
* [[:Category:projects - competitions|Competitions]]&lt;br /&gt;
* [[:Category:projects - displays|Displays]]&lt;br /&gt;
* [[:Category:projects - pdas|PDA's]]&lt;br /&gt;
* [[:Category:Projects_-Research_and_Education|Research &amp;amp; Education]]&lt;br /&gt;
* [[:Category:projects - monitoring and control|Monitoring and Control]]&lt;br /&gt;
* [[:Category:projects - robotics|Robotics &amp;amp; UAV's]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [http://www.youtube.com/results?uploaded=m&amp;amp;search_query=gumstix&amp;amp;search_type=videos&amp;amp;suggested_categories=28&amp;amp;uni=3&amp;amp;search_sort=video_date_uploaded Gumstix on Youtube]&lt;br /&gt;
* [http://www.flickr.com/search/?q=gumstix&amp;amp;s=rec Gumstix in Flickr]&lt;br /&gt;
* [http://www.cs.umd.edu/alandaluz/nchen/ebook/dualdisp-chi.mov Dual Display device at UMD]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Windows CE solution|Solutions for Windows CE]]&lt;br /&gt;
* [[Qt solution|Solutions for Qt]]&lt;br /&gt;
* [[Manufacturer's specifications|Specifications for Processors &amp;amp; Components]]&lt;br /&gt;
* [[Software information]]&lt;br /&gt;
* [[Supported hardware]]&lt;br /&gt;
* [[Third Party Boards]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
Gumstix Community Mailing List (no cost)&lt;br /&gt;
* [https://lists.sourceforge.net/lists/listinfo/gumstix-users Sign-up]&lt;br /&gt;
* [http://old.nabble.com/Gumstix-f22543.html Archives]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For information and support for the legacy gumstix buildroot build system:&lt;br /&gt;
[http://docwiki.gumstix.com/Main_Page docwiki.gumstix.com]&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Ruibing Zhao</name></author>	</entry>

	</feed>