<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PinionBlog &#187; Gumstix</title>
	<atom:link href="http://www.blog.pinionteam.net/category/gumstix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.pinionteam.net</link>
	<description>พีเนียนบล็อกพลัส +</description>
	<lastBuildDate>Sat, 20 Aug 2011 13:59:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Gumstix Hello World !!</title>
		<link>http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/</link>
		<comments>http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 19:44:10 +0000</pubDate>
		<dc:creator>Xen</dc:creator>
				<category><![CDATA[Gumstix]]></category>

		<guid isPermaLink="false">http://www.blog.pinionteam.net/?p=162</guid>
		<description><![CDATA[Share this on Facebook Blog this on Blogger Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post on Google Buzz Share this on Mixx Stumble upon something good? Share it on StumbleUpon Share this on Technorati Tweet This! หลังจากที่งมหาวิธีการ Hello World บน Gumstix เองอยู่นานสุดท้ายได้ อ.ดร.เกริก ภิรมย์โสภา สอนวิธีทำ ขั้นตอนก็ไม่มีอะไรมาก เรามอง Gumstix [...]]]></description>
			<content:encoded><![CDATA[

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;t=Gumstix+Hello+World+%21%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;n=Gumstix+Hello+World+%21%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;title=Gumstix+Hello+World+%21%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;title=Gumstix+Hello+World+%21%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;title=Gumstix+Hello+World+%21%21" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/&amp;title=Gumstix+Hello+World+%21%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Gumstix+Hello+World+%21%21+-+http://b2l.me/aqarr8&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<p>หลังจากที่งมหาวิธีการ Hello World บน Gumstix เองอยู่นานสุดท้ายได้ อ.ดร.เกริก ภิรมย์โสภา สอนวิธีทำ ขั้นตอนก็ไม่มีอะไรมาก เรามอง Gumstix เป็นเสมือนเครื่องคอมพิวเตอร์เครื่องหนึ่งสามารถสั่งการทำงานผ่าน Secure shell ได้ แต่เนื่องจากอุปกรณ์ Gumstix ไม่มีฟังก์ชั่นในการทำการ Compile ดังนั้นการ Compile โปรแกรมที่จะมารันใน Gumstix จึงต้องทำการ Cross-Compile บนเครื่องคอมพิวเตอร์ทั่วไปก่อนโดยใช้ชุด Build root แล้วจึงนำไฟล์ที่ได้ Secure FTP ไปที่ Gumstix</p>
<p>วิธีการในการสร้างตัว Build root สามารถดูวิธีการได้จาก http://docwiki.gumstix.org/Buildroot<br />
หลังจากที่ได้ตัว Build root แล้วเราจะทำการ Compile code ภาษา C ชื่อ  hello.c โดยมี source code ดังนี้</p>
<blockquote><p>#include &lt;stdio.h&gt;<br />
int main (int argc, char *argv[]) {<br />
printf(&#8220;Hello, World\n&#8221;);<br />
}</p></blockquote>
<p>ทำการเรียกคำสั่ง arm-linux-gcc ใน build_arm_nofpu/staging_dir/bin โดยนำไฟล์ hello.c ไปไว้ใน folder gumstix-buildroot จากนั้นเรียกคำสั่งดังนี้ <strong>./build_arm_nofpu/staging_dir/bin/arm-linux-gcc -o hello hello.c</strong> จะได้ไฟล์ hello</p>
<p>ทำการประกอบ Gumstix โดยนำ Connex และ NetMMC ประกอบเข้าด้วยกันจากนั้นนำไปเสียบที่ router สำหรับผู้ที่ไม่ router สามารถเชื่อมต่อผ่าน serial port ได้ แต่ในที่นี้ผมแนะนำการต่อผ่าน router จะได้การส่งข้อมูลที่เร็วกว่าอีกทั้งเครื่องคอมในปัจจุบันเริ่มหา serial port ได้ยาก</p>
<p>เมื่อทำการเชื่อมต่อ Gumstix เข้ากับ router ผ่านสายแลน เนื่องจาก router จะทำการแจก ip แบบ dynamic ดังนั้นจึงจำเป็นต้อง download โปรแกรม <a href="http://developer.apple.com/networking/bonjour/index.html">Bonjour</a> เพื่อทำการดู ip ที่ router แจกให้ตัวอุปกรณ์ Gumstix โดยเมื่อทำการ download และติดตั้งเรียบร้อยแล้วจะสามารถเปิดโปรแกรมผ่าน IE ได้ดังรูป</p>
<p><a class="highslide img_2" href="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/bonjour.jpg" onclick="return hs.expand(this)"><img class="alignnone size-full wp-image-164" title="bonjour" src="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/bonjour.jpg" alt="" width="499" height="170" /></a></p>
<p>จากนั้นทำการโอนไฟล์ hello ลง Gumstix สามารถใช้โปรแกรม Putty บน Window ก็ได้ครับ แต่ตัวอย่างนี้ผมทำการสั่งงานผ่าน Terminal ของ Ubuntu 7.04 บน VMware คำสั่งดังนี้ <strong>scp hello root@192.168.1.35</strong> โดย default password เป็น gumstix จากนั้นทำการ ssh เข้าไปที่ตัวอุปกรณ์ Gumstix โดยใช้คำสั่ง <strong>ssh root@192.168.1.35</strong> ก็จะเห็นไฟล์ hello โดยสามารถสั่งให้รันไฟล์ดังกล่าวโดยสั่ง ./hello ก็จะได้ผลลัพธ์ออกมา</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.pinionteam.net/2008/08/gumstix-hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>มารู้จัก Gumstix กันเถอะ</title>
		<link>http://www.blog.pinionteam.net/2008/08/gumstix/</link>
		<comments>http://www.blog.pinionteam.net/2008/08/gumstix/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 03:02:55 +0000</pubDate>
		<dc:creator>Xen</dc:creator>
				<category><![CDATA[Gumstix]]></category>

		<guid isPermaLink="false">http://www.blog.pinionteam.net/?p=157</guid>
		<description><![CDATA[Share this on Facebook Blog this on Blogger Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post on Google Buzz Share this on Mixx Stumble upon something good? Share it on StumbleUpon Share this on Technorati Tweet This! พอดีผมได้ทำ Senoir Project เกี่ยวกับ Gumstix เลยจับเอาเขียนซักหน่อย Gumstix คืออุปกรณ์อิเล็คโทรนิคขนาดจิ๋วขนาดเท่าหมากฝรั่งทำงานได้เสมือนคอมพิวเตอร์เครื่องนึงเลยทีเดียว เพราะ Gumstix จะมีทั้ง CPU [...]]]></description>
			<content:encoded><![CDATA[

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;t=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;n=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.blog.pinionteam.net/2008/08/gumstix/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;title=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;title=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;title=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.blog.pinionteam.net/2008/08/gumstix/&amp;title=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.blog.pinionteam.net/2008/08/gumstix/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=%E0%B8%A1%E0%B8%B2%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81+Gumstix+%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0+-+http://b2l.me/aqakxt&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<p>พอดีผมได้ทำ Senoir Project เกี่ยวกับ Gumstix เลยจับเอาเขียนซักหน่อย Gumstix คืออุปกรณ์อิเล็คโทรนิคขนาดจิ๋วขนาดเท่าหมากฝรั่งทำงานได้เสมือนคอมพิวเตอร์เครื่องนึงเลยทีเดียว เพราะ Gumstix จะมีทั้ง CPU , RAM หรือ Flash Memory เป็นเสมือนหน่วยความจำ Gumstix จะแบ่งอุปกรณ์ออกเป็นส่วนๆตามหน้าที่การทำงานโดยสามารถเลือกประกอบใช้งานตามอุปกรณ์ที่เราจะใช้ โดย Gumstix จะประกอบส่วนต่างๆดังนี้</p>
<table border="0" width="597">
<tbody>
<tr>
<td width="294"><a class="highslide img_7" href="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/connex.jpg" onclick="return hs.expand(this)"><img class="alignleft alignnone size-medium wp-image-158" style="float: left;" title="connex" src="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/connex.jpg" alt="" width="272" height="207" /></a></td>
<td width="293"><strong>connex</strong> เป็นบอร์ดหลักสำหรับการใช้งาน (motherboard) สำหรับนำเอาบอร์ดอื่นมาประกอบใช้งานด้วย</td>
</tr>
<tr>
<td><a class="highslide img_8" href="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/netmmc.jpg" onclick="return hs.expand(this)"><img class="alignleft alignnone size-medium wp-image-161" style="float: left;" title="netmmc" src="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/netmmc.jpg" alt="" width="270" height="229" /></a></td>
<td><strong>n</strong><strong>etMMC</strong> เป็น บอร์ดส่วนขยายที่รวมเอาการเชื่อมอุปกรณ์สำหรับเชื่อมต่อเครือข่ายไว้ด้วยกัน</td>
</tr>
<tr>
<td><a class="highslide img_9" href="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/tweener.jpg" onclick="return hs.expand(this)"><img class="alignleft alignnone size-medium wp-image-159" style="float: left;" title="tweener" src="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/tweener.jpg" alt="" width="269" height="204" /></a></td>
<td><strong>tweener</strong> เป็นบอร์ดที่ใช้นำไปต่อเข้ากับ motherboard มี serial port สำหรับเชื่อมต่อเข้าคอมพิวเตอร์</td>
</tr>
<tr>
<td><a class="highslide img_10" href="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/audiostix.jpg" onclick="return hs.expand(this)"><img class="alignleft alignnone size-medium wp-image-160" style="float: left;" title="audiostix" src="http://www.blog.pinionteam.net/wp-content/uploads/2008/08/audiostix.jpg" alt="" width="276" height="214" /></a></td>
<td><strong>audiostix </strong>เป็นบอร์ดใช้นำไปต่อเข้ากับ motherboard มีการทำงานเกี่ยวกับเสียงเป็นหลัก</td>
</tr>
</tbody>
</table>
<p>เรื่องราคาสามารถดูได้ที่เว็บไซต์ของผู้ผลิต <a href="http://www.gumstix.com/">Gumstix</a> โดยตัวที่ผมได้ใช้ทดลองนั้นมี Spec การทำงานดังนี้</p>
<p>Speed : 400 MHz -(Intel XScale® PXA255)</p>
<p>Features : 64 MB RAM , 16 MB Flash memory</p>
<p>แล้วเจ้า Gumstix สามารถทำอะไรได้บ้างละ อย่างที่บอกไปแล้วว่า Gumstix เป็นเสมือนคอมพิวเตอร์ ดังนั้นความสามารถในการทำงานของเจ้า Gumstix จึงสามารถที่จะทำอะไรได้มากมาย เช่น อุปกรณ์โทรศัพท์ เครื่องดนตรี กล้องถ่ายรูป อุปกรณ์ตรวจวัดการเคลื่อนไหว หุ่นยนต์ หรืออุปกรณ์อื่นๆได้อีกมากมายตามแต่เราจะนำไปประยุกต์ใช้ ไว้ผมจะมาสอนวิธีการเริ่มใช้งาน</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.pinionteam.net/2008/08/gumstix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

