<?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=Panda_How_to_buildroot&amp;feed=atom&amp;action=history</id>
		<title>Panda How to buildroot - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;action=history"/>
		<updated>2013-06-19T19:49:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=42373&amp;oldid=prev</id>
		<title>Peter Huewe: Added to category Pandaboard</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=42373&amp;oldid=prev"/>
				<updated>2011-04-13T04:43:57Z</updated>
		
		<summary type="html">&lt;p&gt;Added to category Pandaboard&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; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:43, 13 April 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 187:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 187:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Rx invalid nwid:0&amp;#160; Rx invalid crypt:0&amp;#160; Rx invalid frag:0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Rx invalid nwid:0&amp;#160; Rx invalid crypt:0&amp;#160; Rx invalid frag:0&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Tx excessive retries:0&amp;#160; Invalid misc:0&amp;#160;  Missed beacon:0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Tx excessive retries:0&amp;#160; Invalid misc:0&amp;#160;  Missed beacon:0&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:PandaBoard]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter Huewe</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28141&amp;oldid=prev</id>
		<title>KenMcGuire at 14:31, 5 December 2010</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28141&amp;oldid=prev"/>
				<updated>2010-12-05T14:31:08Z</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; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:31, 5 December 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 156:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 156:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy the whole /usr/share/tiwlan dir from the validadition image to the sd card's /usr/share/tiwlan.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy the whole /usr/share/tiwlan dir from the validadition image to the sd card's /usr/share/tiwlan.&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Copy /bin/wlan-test.sh from the validation image to the sd card's /bin directory.&lt;/ins&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28105&amp;oldid=prev</id>
		<title>KenMcGuire at 17:25, 4 December 2010</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28105&amp;oldid=prev"/>
				<updated>2010-12-04T17:25:53Z</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; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:25, 4 December 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unpack it a dir of your choice.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unpack it a dir of your choice.&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;use the .config file provided here &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/del&gt;config.buildroot&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;) &lt;/del&gt;which will build a tar.bz2 of the rootfs.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;use the .config file provided here &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Media:&lt;/ins&gt;config.buildroot&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|config.buildroot]] &lt;/ins&gt;which will build a tar.bz2 of the rootfs.&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The .config uses BR2_JLEVEL = 8. You may want to change this to suit you CPUs capability.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The .config uses BR2_JLEVEL = 8. You may want to change this to suit you CPUs capability.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28075&amp;oldid=prev</id>
		<title>KenMcGuire: Minimal filesystem building using Buildroot</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_buildroot&amp;diff=28075&amp;oldid=prev"/>
				<updated>2010-12-04T17:08:00Z</updated>
		
		<summary type="html">&lt;p&gt;Minimal filesystem building using Buildroot&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Building a minimal root file system using Buildroot&lt;br /&gt;
&lt;br /&gt;
Why use buildroot? Because you can build everything you need in a very short time and the resulting rootfs fits on a 32Mb sd card with plenty of room to spare.&lt;br /&gt;
Be careful of using small SD cards, there is a lot of folklore about how the OMAP4 ROM CODE operates and it may or may not like your vfat partition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a high level How-To, it assumes that the reader is familiar with linux and&lt;br /&gt;
compiling software packages, over time it may evolve to be a bit more newbie friendly.&lt;br /&gt;
&lt;br /&gt;
-Buildroot-&lt;br /&gt;
&lt;br /&gt;
Go get:&lt;br /&gt;
&lt;br /&gt;
http://buildroot.uclibc.org/downloads/buildroot-2010.11.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Unpack it a dir of your choice.&lt;br /&gt;
&lt;br /&gt;
use the .config file provided here (config.buildroot) which will build a tar.bz2 of the rootfs.&lt;br /&gt;
&lt;br /&gt;
The .config uses BR2_JLEVEL = 8. You may want to change this to suit you CPUs capability.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-SD card prep-&lt;br /&gt;
&lt;br /&gt;
Use this script to prepare an SD card with the small vfat partition and the larger ext2/3 partition&lt;br /&gt;
(it has been posted many places, I take no credit for it btw, the card needs to be larger than 64Mbytes since this original script &lt;br /&gt;
wants to make a 64Mbyte vfat partition) You may need to be root for some of the following operations. For the feint of heart,&lt;br /&gt;
you can use sudo instead in the right places. &lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 if [ ! &amp;quot;$1&amp;quot; = &amp;quot;/dev/sda&amp;quot; ] ; then&lt;br /&gt;
 	DRIVE=$1&lt;br /&gt;
 	if [ -b &amp;quot;$DRIVE&amp;quot; ] ; then&lt;br /&gt;
 		dd if=/dev/zero of=$DRIVE bs=1024 count=1024&lt;br /&gt;
 		SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`&lt;br /&gt;
 		echo DISK SIZE - $SIZE bytes&lt;br /&gt;
 		CYLINDERS=`echo $SIZE/255/63/512 | bc`&lt;br /&gt;
 		echo CYLINDERS - $CYLINDERS&lt;br /&gt;
 		{&lt;br /&gt;
 		echo ,9,0x0C,*&lt;br /&gt;
 		echo ,,,-&lt;br /&gt;
 		} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE&lt;br /&gt;
 		mkfs.vfat -F 32 -n &amp;quot;boot&amp;quot; ${DRIVE}1&lt;br /&gt;
 		mke2fs -j -L &amp;quot;rootfs&amp;quot; ${DRIVE}2&lt;br /&gt;
 	fi &lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have trouble with the pandaboards ROM CODE not liking your vfat partition check it out with this program.&lt;br /&gt;
&lt;br /&gt;
Thanks go to mru and av500 who have gone a long way to dispell the cargo-cult fokelore surrounding the ROM CODE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;sys/types.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;sys/types.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;sys/stat.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;fcntl.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 int main( int argc, char **argv )&lt;br /&gt;
 {&lt;br /&gt;
 	if ( argc &amp;lt; 2 ) {&lt;br /&gt;
 		printf(&amp;quot;check /dev/sdX you must be root too \n&amp;quot;);&lt;br /&gt;
 		return 1;&lt;br /&gt;
 	}&lt;br /&gt;
 	int fd = open( argv[1], O_RDONLY );&lt;br /&gt;
 &lt;br /&gt;
 	lseek( fd, 0 + 446 + 8, SEEK_SET );&lt;br /&gt;
 &lt;br /&gt;
 	int start;&lt;br /&gt;
 	int num_mbr;&lt;br /&gt;
 	read( fd, &amp;amp;start, 4 );&lt;br /&gt;
 	read( fd, &amp;amp;num_mbr, 4 );&lt;br /&gt;
 &lt;br /&gt;
 	int num_bpb = 0;&lt;br /&gt;
 	&lt;br /&gt;
 	lseek( fd, start * 512 + 0x13, SEEK_SET );&lt;br /&gt;
 	read( fd, &amp;amp;num_bpb, 2 );&lt;br /&gt;
 &lt;br /&gt;
 	if( num_bpb == 0 ) {&lt;br /&gt;
 		lseek( fd, start * 512 + 0x20, SEEK_SET );&lt;br /&gt;
 		read( fd, &amp;amp;num_bpb, 4 );&lt;br /&gt;
 	}&lt;br /&gt;
 	&lt;br /&gt;
 	printf( &amp;quot;start: %d  mbr: %d  bpb: %d -&amp;gt; %s\n&amp;quot;, &lt;br /&gt;
 		start, num_mbr, num_bpb, &lt;br /&gt;
 		num_mbr == num_bpb ? &amp;quot;PASS&amp;quot; : &amp;quot;FAIL!&amp;quot; );&lt;br /&gt;
 &lt;br /&gt;
 	return num_mbr == num_bpb;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the above text as sdtest.c and compile it with: &lt;br /&gt;
 gcc sdtest.c -o sdtest&lt;br /&gt;
&lt;br /&gt;
I run it on the desktop that setup my sd card, if it reports failure then something went wrong with the setup script.&lt;br /&gt;
&lt;br /&gt;
No clue as to how to fix it (yet).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Add the bootloader &amp;amp; kernel to the vfat partition-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the MLO, u-boot.bin and uImage from:&lt;br /&gt;
&lt;br /&gt;
 https://gforge.ti.com/gf/download/frsrelease/418/4171/L24.9-PandaBoard_validation_environment.tar.gz&lt;br /&gt;
(Untar it someplace convienient)&lt;br /&gt;
&lt;br /&gt;
and copy them to the vfat partition.&lt;br /&gt;
&lt;br /&gt;
There will be other tutorials on how to build MLO, u-boot, the kernel and wifi drivers, but for now we will use stuff from there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Add the rootfs stuff that buildroot built for you to the ext2/ext3 partition-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
untar /buildroot-2010.11/output/images/rootfs.tar.bz2 to the sd card's ext2/3 partition and then edit the inittab and securetty files in /etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Fix what is likely a busybox bug-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the sysinit part of /etc/inittab to look like this:&lt;br /&gt;
&lt;br /&gt;
 null::sysinit:/bin/mount -t proc proc /proc&lt;br /&gt;
 null::sysinit:/bin/mkdir -p /dev/pts&lt;br /&gt;
 null::sysinit:/bin/mount -o remount,rw /&lt;br /&gt;
 # null::sysinit:/bin/mount -a&lt;br /&gt;
&lt;br /&gt;
This maybe due to a bug in the current version of busybox, if you don't fix it, the rootfs will be mounted ro and &lt;br /&gt;
things won't work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Fix the serial port config- &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the serial port part thusly:&lt;br /&gt;
&lt;br /&gt;
 ttyO2::respawn:/sbin/getty -L ttyO2 115200 vt100 # GENERIC_SERIAL&lt;br /&gt;
&lt;br /&gt;
This is because the serial port name for the Pandaboard is ttyO2 not one of the other choices.&lt;br /&gt;
&lt;br /&gt;
Add the following line to /etc/securetty:&lt;br /&gt;
&lt;br /&gt;
 ttyO2&lt;br /&gt;
&lt;br /&gt;
This is so you can login as root over the serial port, the standard securetty doesn't include serial port names for the Pandaboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Copy stuff from the validatation image so that wifi will work-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy the whole /lib/firmware dir from the validadition image to the sd card's /lib/firmware.&lt;br /&gt;
&lt;br /&gt;
Copy the whole /usr/share/tiwlan dir from the validadition image to the sd card's /usr/share/tiwlan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above is neccessary since the sdio and tiwlan driver needs the exact version of the kernel they were compiled for.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Insert the SD card, add a USB keyboard, optionally a wired ethernet connection, mouse and Monitor.&lt;br /&gt;
&lt;br /&gt;
Power up the board and watch it boot up over the serial port using your choice of terminal emulator, I use minicom.&lt;br /&gt;
&lt;br /&gt;
There will also be a login on the display, you can login over either as root with no password, if the serial port one doesn't&lt;br /&gt;
work, you probably didn't fix securetty (properly).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
run wlan-test.sh and watch the wifi come to life. If you have an open access point in range, the pandaboard will associate with the accesspoint and&lt;br /&gt;
use dhcp and get an address and other stuff. you should be able to ping to the internet, and iwconfig will show you some useful info:&lt;br /&gt;
&lt;br /&gt;
 # iwconfig&lt;br /&gt;
 lo        no wireless extensions.&lt;br /&gt;
 &lt;br /&gt;
 usb0      no wireless extensions.&lt;br /&gt;
 &lt;br /&gt;
 tiwlan0   IEEE 802.11ABG  ESSID:&amp;quot;Your_Access_Points_ESSID&amp;quot;  &lt;br /&gt;
           Mode:Managed  Frequency:11 kHz  Access Point: XX:XX:XX:XX:XX:XX  &lt;br /&gt;
           Tx-Power:-51   Sensitivity=-80 dBm  &lt;br /&gt;
           RTS thr=4096 B   Fragment thr=4096 B   &lt;br /&gt;
           Encryption key:off&lt;br /&gt;
           Link Quality=0/0  Signal level=-45 dBm  &lt;br /&gt;
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0&lt;br /&gt;
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0&lt;/div&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	</feed>