<?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>Gr3yh0und&#039;s Blog</title>
	<atom:link href="http://morschi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://morschi.com</link>
	<description>Weird IT Stuff!</description>
	<lastBuildDate>Thu, 05 Apr 2012 12:58:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Short on updates</title>
		<link>http://morschi.com/2012/04/05/short-on-updates/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=short-on-updates</link>
		<comments>http://morschi.com/2012/04/05/short-on-updates/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 12:58:17 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>

		<guid isPermaLink="false">http://morschi.com/?p=290</guid>
		<description><![CDATA[As I recently couldn&#8217;t get my hands on new development boards the number of updates was nearly zero. I had to give away my pandaboard in january, so i can&#8217;t play with it anymore. I&#8217;m trying to get a Beaglebone or equal in the future if I will find the time.]]></description>
			<content:encoded><![CDATA[<p>As I recently couldn&#8217;t get my hands on new development boards the number of updates was nearly zero. I had to give away my pandaboard in january, so i can&#8217;t play with it anymore.</p>
<p>I&#8217;m trying to get a Beaglebone or equal in the future if I will find the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2012/04/05/short-on-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Up-to-date kernel for pandaboard</title>
		<link>http://morschi.com/2011/11/13/up-to-date-kernel-for-pandaboard/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=up-to-date-kernel-for-pandaboard</link>
		<comments>http://morschi.com/2011/11/13/up-to-date-kernel-for-pandaboard/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 18:13:12 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[3.1]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[omap]]></category>
		<category><![CDATA[pandaboard]]></category>

		<guid isPermaLink="false">http://morschi.com/?p=264</guid>
		<description><![CDATA[Hey guys, After getting a lot of traffic (according to google analytics) on the pandaboard kernel topic i recently decided to add another post about that. As I&#8217;m currently stuck in my project with some strange USB driver problem, I had time to checkout all the new cool kernel stuff in the 3.X branch. After [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys,</p>
<p>After getting a lot of traffic (according to google analytics) on the pandaboard kernel topic i recently decided to add another post about that. </p>
<p>As I&#8217;m currently stuck in my project with some strange USB driver problem, I had time to checkout all the new cool kernel stuff in the 3.X branch.<br />
After drooling around in the web I found a link to <a href="https://github.com/RobertCNelson">Robert C. Nelsons stuff over at github</a>.<br />
It looks like he is really into kernel developing and also a fan of the OMAP branch which is great news for us noob or semi-noob guys. He is supplying a lot of scripts and patches that fix bugs in the original mainline stable kernel sources automagically (that&#8217;s the point!) for us. </p>
<p>In this post I&#8217;ll try to write a step-by-step guide in using his stuff.</p>
<p>So first, the kernel. </p>
<p>Go to your home directory</p>

<div class="wp-terminal">gr3yh0und@builder:$ cd ~<br/></div>

<p>Get Roberts latest release from github</p>

<div class="wp-terminal">gr3yh0und@builder:$ git clone https://github.com/RobertCNelson/stable-kernel.git<br/></div>

<p>Now change into the new folder and get the latest torvalds mainline kernel source from kernel.org</p>

<div class="wp-terminal">gr3yh0und@builder:$ cd stable-kernel<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git<br/></div>

<p>This can take some time&#8230; So time for coffee!</p>
<p>To compile anything you need you have to setup a cross compiling toolchain or do it natively on the board (no good idea though)&#8230; I&#8217;m assuming that here.</p>
<p>Next is to rename the config file</p>

<div class="wp-terminal">gr3yh0und@builder:$ mv system.sh.sample system.sh<br/></div>

<p>and edit it</p>

<div class="wp-terminal">gr3yh0und@builder:$ vim system.sh<br/></div>

<p>Though we are cross-compiling at that point, you have to uncomment the lines (around line 25 and 42)<br />
<code>#CC=arm-none-linux-gnueabi-</code><br />
and<br />
<code>#LINUX_GIT=/path/to/source</code><br />
As you can see, you have to edit the last uncommented line and add the path to the kernel mainline sources. If you are using your home folder this would be something like<br />
 <code>LINUX_GIT=/home/user/stable-kernel/linux-stable</code></p>
<p>There are two possible ways in the stable-kernel folder:<br />
<code>* build_kernel.sh<br />
 * build_deb.sh</code><br />
As the filename is implicating, one builds only the kernel and the other one makes a debian installer (.deb). As I&#8217;m currently using Ubuntu Oneiric on my pandaboard a deb file comes in very handy&#8230;<br />
But the basic script only creates a zImage of the kernel, which I&#8217;m not using in uboot &#8211; so I added two lines to the build bash scripts:</p>

<div class="wp-terminal">gr3yh0und@builder:$ diff build_deb.sh build_deb.sh.old <br/>146d145<br/><   time fakeroot make -j${CORES} ARCH=arm KBUILD_DEBARCH=${DEBARCH} LOCALVERSION=-${BUILD} CROSS_COMPILE="${CCACHE} ${CC}" KDEB_PKGVERSION=${BUILDREV}${DISTRO} uImage<br/>160c159<br/><   make_menuconfig<br/>---<br/>>   #make_menuconfig<br/><br/></div>

<p>This will always execute the menuconfig option where you can edit the kernel settings and later also make the uImage required by uboot.</p>
<p>Last step is to get another cup of coffee or maybe a rig with more potential cpu power&#8230;</p>

<div class="wp-terminal">gr3yh0und@builder:$ ./build_deb.sh<br/></div>

<p>Currently, Robert has already ported version 3.1.1! Really great job!</p>
<p>After the script has finished you can use the new uImage and .deb file.<br />
i.e. the uImage can be found in KERNEL/arch/arm/boot/ and the .tar.gz and .debs for kernel/header can be found in &#8220;deploy&#8221;.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/11/13/up-to-date-kernel-for-pandaboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minecraft Server Installation on Ubuntu</title>
		<link>http://morschi.com/2011/08/28/minecraft-server-installation-on-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=minecraft-server-installation-on-ubuntu</link>
		<comments>http://morschi.com/2011/08/28/minecraft-server-installation-on-ubuntu/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 12:29:43 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[minecraft]]></category>
		<category><![CDATA[minecraft server]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://morschi.com/?p=225</guid>
		<description><![CDATA[A friend of mine introduced me into minecraft and it&#8217;s really cool. Though from a developer perspective, a java based game and server let me get pickles all over the butt&#8230; Well, because of the whole JAVA background, minecraft is not very ressource saving, so plan to get a &#8220;good&#8221; enough server. If you are [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine introduced me into minecraft and it&#8217;s really cool. Though from a developer perspective, a java based game and server let me get pickles all over the butt&#8230;</p>
<p>Well, because of the whole JAVA background, minecraft is not very ressource saving, so plan to get a &#8220;good&#8221; enough server. If you are hosting it at home, don&#8217;t even think about ATOM or stuff, just go for a small AMD Dual Core or Intel Sandy Bridge system. It consumes some more power, but it&#8217;s worth it. If you are using a old system and want to host some more players, take a dualcore with minimum of 2 GHZ and 2-4GB of Ram to get it quite fluently. HDD is between 20-80GB, depending on the size and players of your world.</p>
<p>Well, I setup a new Ubuntu 10.04 server from scratch and updated the basics to their latest packages. So that it&#8217;s ready to get to the minecraft part.<br />
As a quick start get those packages:</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ sudo apt-get update<br/></div>


<div class="wp-terminal">gr3yh0und@minecraftserver:$ sudo apt-get upgrade<br/></div>


<div class="wp-terminal">gr3yh0und@minecraftserver:$ sudo apt-get install openssh-server vim<br/></div>

<p>To get the needed Java binaries/packages, you will need to add a repository to your apt. Do this by</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ vim /etc/apt/sources.list<br/></div>

<p>and add the following two lines to it:<br />
<code> deb http://archive.canonical.com/ubuntu lucid partner<br />
deb-src http://archive.canonical.com/ubuntu lucid partner</code><br />
If you are running any other version of ubuntu than 10.04 than take a look at the different pathes</p>
<p>Now you need to update your package lists again and download the packages:</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ sudo apt-get update<br/></div>


<div class="wp-terminal">gr3yh0und@minecraftserver:$ apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre<br/></div>

<p>The packages are around ~70MB huge, so dependent of your internet connection you may take a coffee break&#8230;</p>
<p>Check that java is correctly install with</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ gr3yh0und@ubuntu:~# java -version<br/></div>

<p>and should see something like this:<br />
<code>java version "1.6.0_26"<br />
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)<br />
J ava HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)</code></p>
<p>Now download the minecraft server with</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ wget http://www.minecraft.net/download/minecraft_server.jar?v=1314533852047 <br/></div>

<p>and start the server with</p>

<div class="wp-terminal">gr3yh0und@minecraftserver:$ java -Xmx1024m -Xms1024m -jar minecraft_server.jar nogui <br/></div>

<p>Now all the config files, scripts and the start world will be generated. Now your basic server should be available. Just open your Minecraft client, connect to the server ip and after joining the world, enter &#8220;op&#8221; into the server console, so that you are allowed to build.</p>
<p>That&#8217;s it. Maybe more tutorials about configs are coming soon.</p>
<p>Thanks to firestorm for his older <a href="http://www.yourwarrantyisvoid.com/2011/01/09/installing-minecraft-server-in-ubuntu-server/" target="_blank">blog post</a>, which I mostly adopted to my case.</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/28/minecraft-server-installation-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openembedded and Ubuntu</title>
		<link>http://morschi.com/2011/08/26/openembedded-and-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=openembedded-and-ubuntu</link>
		<comments>http://morschi.com/2011/08/26/openembedded-and-ubuntu/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 14:17:07 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[openembedded]]></category>
		<category><![CDATA[recipe]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://morschi.com/?p=185</guid>
		<description><![CDATA[Though Buildroot doesn&#8217;t give me the satisfaction I like for my embedded project (at the moment) I am looking further into openembedded. The first things here are quite simple, so lets get started: I&#8217;m using a Ubuntu 10.04.03 x86 server OS for those development purposes because I&#8217;ve best experiences with Long Term Supported Ubuntu distris. [...]]]></description>
			<content:encoded><![CDATA[<p>Though <a href="http://buildroot.uclibc.org/" target="_blank">Buildroot</a> doesn&#8217;t give me the satisfaction I like for my embedded project (at the moment) I am looking further into <a href="http://www.openembedded.org/wiki/Main_Page" target="_blank">openembedded</a>. The first things here are quite simple, so lets get started:</p>
<p>I&#8217;m using a Ubuntu 10.04.03 x86 server OS for those development purposes because I&#8217;ve best experiences with Long Term Supported Ubuntu distris.</p>
<p><strong>Attention:</strong> If you are setting up the system right now, make sure you have enough disk space. I didn&#8217;t do &#8220;much&#8221; things and reached the 50GB limit of my VHDD easily&#8230;</p>
<p>&nbsp;</p>
<p>I&#8217;m assuming that your system (or at least mine here) is fresh installed and blank. So first get all available updates for everything installed at the moment:</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get update<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get upgrade<br/></div>

<p>Now get the building essential things:</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get install sed wget cvs subversion git-core coreutils unzip texi2html texinfo docbook-utils gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ desktop-file-utils chrpath python-ply python-progressbar libxml2-utils xmlto python-psyco policykit-gnome-doc gnome-doc-utils<br/></div>

<p>Maybe you want to add some useful stuff as well:</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get install build-essential autoconf make patch vim nfs-kernel-server<br/></div>

<p>Now go to the directory where you want to have everything (and remember the needed disk space!) and get the obenembedded basic things via git:</p>

<div class="wp-terminal">gr3yh0und@builder:$ git clone git://git.openembedded.org/openembedded &lt;/<br/></div>

<p>&nbsp;</p>
<p><strong>Note:</strong> A good reference for the whole part ist located on the <a href="http://www.openembedded.org/index.php/Getting_started" target="_blank">openembedded Website</a>, check it out if you&#8217;re having problems!</p>
<p>&nbsp;</p>
<p>Second step is to create your config. Create the directory build on the same level as openembedded. Create then the directory conf under build. A easy start is to use the sample config already provided by openembedded under &#8220;openembedded/conf/local.conf.sample&#8221; and copy it to your build directory. Rename it to match &#8220;local.conf&#8221; and edit the following things in it to match them to your wanted config.</p>
<p>In my case I want support for the pandaboard, so we have to change the following Variables:<br />
<code> DL_DIR = "/build/OE/sources"<br />
BBFILES := "/build/OE/openembedded/recipes/*/*.bb"<br />
MACHINE = "omap4430-panda"<br />
DISTRO = "angstrom-2010.x"<br />
IMAGE_FSTYPES = "tar"<br />
BB_NUMBER_THREADS = "4"<br />
BBINCLUDELOGS = "yes" </code></p>
<p>I&#8217;m using the pandaboard, a Angstrom base root fs and the main directory &#8220;build&#8221; for all stuff. Set the threads variable according to the number of CPU cores you have available, so that compiling doesn&#8217;t take ages&#8230;</p>
<p>&nbsp;</p>
<p>Next step is to get &#8220;bitbake&#8221; which is a kind of &#8220;apt&#8221; on the debian side. Openembedded serves you &#8220;recipes&#8221; for both &#8220;packages&#8221; and &#8220;images&#8221;. So images are some kind of a summary of what packages are needed for a purpose (i.e. x11-image makes you a small Xorg root fs). Bitbake is the program, that reads the recipes, &#8220;cooks&#8221; them and packages them into a .tar for you.</p>
<p>There is a ubuntu package available, but I will use the newest version here. So just get it from <a href="http://developer.berlios.de/project/showfiles.php?group_id=2701&amp;release_id=18314" target="_blank">&lt;HERE&gt;</a>, in my case 1.12:</p>

<div class="wp-terminal">gr3yh0und@builder:$ wget http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz <br/></div>

<p>and untar it into your openembedded directory.</p>
<p>&nbsp;</p>
<p>The last step is now to get bitbake into your environmental settings, so just execute those two things every time you want to use it or put them into your unix profile settings:</p>

<div class="wp-terminal">gr3yh0und@builder:$ export BBPATH=/build/OE/build:/build/OE/openembedded<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ export PATH=/build/OE/openembedded/bitbake/bin:$PATH<br/></div>

<p>&nbsp;</p>
<p>Now you can do your first cooking or baking or what the hell you may ever call it:</p>

<div class="wp-terminal">gr3yh0und@builder:$ bitbake vim <br/></div>

<p>&nbsp;</p>
<p>Just fyi: It took me an hour on my 2600K CPU&#8230; And afterwards the hdd looked like</p>
<p><code>gr3yh0und@ubuntu:/build/OE$ df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/sda1             9.4G  1.9G  7.1G  21% /<br />
none                 1003M  188K 1003M   1% /dev<br />
none                 1007M     0 1007M   0% /dev/shm<br />
none                 1007M   56K 1007M   1% /var/run<br />
none                 1007M     0 1007M   0% /var/lock<br />
none                 1007M     0 1007M   0% /lib/init/rw<br />
/dev/sdb1              99G   24G   71G  25% /build</code></p>
<p>&nbsp;</p>
<p>If you are running into the <strong>error</strong><br />
<code>ERROR: Openembedded's config sanity checker detected a potential misconfiguration.<br />
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).<br />
Following is the list of potential problems / advisories:<br />
Using dash as /bin/sh causes various subtle build problems, please use bash instead.<br />
ERROR: Command execution failed: Exited with 1</code></p>
<p>then you will need to reconfigure your dash with:</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo dpkg-reconfigure dash<br/></div>

<p>and select <strong>&lt;NO&gt; !</strong></p>
<p>The first time it will take like ages because bitbake will need to download all sources, build the corresponding toolchains etc&#8230; So maybe get SOME cups of coffee this time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/26/openembedded-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pandaboard and Ubuntu 11.04 headless</title>
		<link>http://morschi.com/2011/08/23/pandaboard-and-ubuntu-11-04-headless/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pandaboard-and-ubuntu-11-04-headless</link>
		<comments>http://morschi.com/2011/08/23/pandaboard-and-ubuntu-11-04-headless/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 10:17:51 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[bootloaders]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[omap]]></category>
		<category><![CDATA[pandaboard]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=169</guid>
		<description><![CDATA[I&#8217;m a great fan of ubuntu as a desktop operation system so I tried to install it on my pandaboard. I don&#8217;t think that ubuntu as base OS is sufficient for my goals because it is already very, well, bloated. I will try to develop my applications and give them a shot later on both [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a great fan of ubuntu as a desktop operation system so I tried to install it on my pandaboard. I don&#8217;t think that ubuntu as base OS is sufficient for my goals because it is already very, well, bloated. I will try to develop my applications and give them a shot later on both boats: Ubuntu and a selfmade rootfs with (hopefully) well chosen packages&#8230;</p>
<p>But now for the installation part: It&#8217;s already very well documented on the Ubuntu site and also on <strong>OMAPPedia</strong>, but I think i could give it a small Post.</p>
<h3><strong>Preparation</strong></h3>
<p>First step is to download the wanted image from the Ubuntu website (<a href="https://wiki.ubuntu.com/ARM/OMAP" target="_blank">over here</a>). The newest atm is 11.04 and I chose the headless version because I don&#8217;t want to connect one of my 3 monitors here to the DVI port of the pandaboard &#8211; But use my 7&#8243; USB Touchscreen instead! So the headless version gives me the ability to go through the normal Ubuntu installation process via a textbash and a serial cable. Great!</p>
<p>Download the image:</p>

<div class="wp-terminal">gr3yh0und@builder:$ wget http://cdimage.ubuntu.com/releases/11.04/release/ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz<br/></div>

<p>Be sure to get the &#8220;omap4&#8243; version, not the &#8220;omap&#8221; version which is used for OMAP generations 1-3. (pandaboard has 4430!)</p>
<p>Next step is to insert a SD Card in your card reader (equal/greater than 4GB). I&#8217;m using a Sandisk Ultra III 4GB here for maximum speed. Check if it is getting mounted with</p>

<div class="wp-terminal">gr3yh0und@builder:$ dmesg<br/></div>

<p>If it got mounted, unmount it with</p>

<div class="wp-terminal">gr3yh0und@builder:$ umount /dev/sdX<br/></div>

<p>where X is the letter of your drive.<br />
Now copy the complete installation with the command:</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo sh -c 'zcat ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz &gt; /dev/sdX'<br/></div>

<p>This can take some time, so lay back or get another cup of coffee.<br />
<code>root@ubuntu:/panda# time sh -c 'zcat ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz &gt; /dev/sdc'<br />
real 1m53.957s<br />
user 1m1.932s<br />
sys 0m1.732s</code></p>
<p>Great thing about that image is, that things like X-Loader, U-Boot (Both bootloaders), kernel and filesystem are all included. So it&#8217;s simply downloaded, cloning to SD and having fun&#8230; Pretty straight forward!</p>
<h3><strong>BootUp</strong></h3>
<p>Plug in your SD Card and power up the Board. The first output will look like this:<br />
<code>Texas Instruments X-Loader 1.5.0 (Apr 11 2011 - 09:48:22)<br />
Reading boot sector<br />
Loading u-boot.bin from mmc</code></p>
<p>&nbsp;</p>
<p><code>U-Boot 2011.03 (Apr 20 2011 - 07:37:43)<br />
CPU : OMAP4430<br />
Board: OMAP4 Panda<br />
I2C: ready<br />
DRAM: 1 GiB<br />
MMC: OMAP SD/MMC: 0<br />
Using default environment<br />
In: serial<br />
Out: serial<br />
Err: serial<br />
Hit any key to stop autoboot: 0<br />
reading boot.scr<br />
350 bytes read<br />
Running bootscript from mmc0 ...<br />
3467529 bytes read<br />
## Booting kernel from Legacy Image at 80000000 ...</code></p>
<p>&nbsp;</p>
<p><code>Image Name: Ubuntu Kernel<br />
Image Type: ARM Linux Kernel Image (uncompressed)<br />
Data Size: 4174676 Bytes = 4 MiB<br />
Load Address: 80008000<br />
Entry Point: 80008000<br />
Verifying Checksum ... OK<br />
## Loading init Ramdisk from Legacy Image at 81600000 ...<br />
Image Name: Ubuntu Initrd<br />
Image Type: ARM Linux RAMDisk Image (gzip compressed)<br />
Data Size: 3467465 Bytes = 3.3 MiB<br />
Load Address: 00000000<br />
Entry Point: 00000000<br />
Verifying Checksum ... OK<br />
Loading Kernel Image ... OK<br />
OK</code></p>
<p>&nbsp;</p>
<p><code>Starting kernel ...<br />
Uncompressing Linux... done, booting the kernel.<br />
Caching vfat content in /dev/.initramfs/jasper-vfat ...<br />
Resizing root partition ...<br />
Re-writing vfat partition ...<br />
Resizing root filesystem. Please wait, this will take a moment ...<br />
Resizing root filesystem ...<br />
Checking filesystem before resizing...<br />
Resizing, please wait...<br />
Resizing, pass: 1 [100/100]Enabling serial console login<br />
Setting up fstab<br />
Setting up swap<br />
Enabling oem-config<br />
Writing flash-kernel configuration<br />
Creating bootloader configuration<br />
Rebooting into configuration session<br />
[ 55.207000] Restarting system.</code></p>
<p>&nbsp;</p>
<p><code>fsck from util-linux-ng 2.17.2<br />
/dev/mmcblk0p2: clean, 45081/481440 files, 299174/975948 blocks<br />
[ 6.315979] (stk) :line disc installation timed out<br />
[ 7.487854] (stk) :line disc installation timed out<br />
[ 8.597198] (stk) :line disc installation timed out<br />
[ 9.714385] (stk) :line disc installation timed out<br />
[ 10.823760] (stk) :line disc installation timed out<br />
[ 11.933135] (stk) :line disc installation timed out<br />
[ 13.042510] (stk) :line disc installation timed out<br />
* Starting AppArmor profiles [ OK ]<br />
[ 14.151885] (stk) :line disc installation timed out<br />
[ 15.253448] (stk) :line disc installation timed out<br />
[ 16.362823] (stk) :line disc installation timed out<br />
[ 17.472229] (stk) :line disc installation timed out<br />
[ 17.477447] fmdrv: Failed to get ST write func pointer<br />
[ 17.483489] (stc): chnl_id 8 not registered<br />
[ 17.487823] fmdrv: Unable to prepare FM CORE</code></p>
<p style="text-align: center;">After a reboot the installation itself will take place and a funny windows will load (here on putty):<br />
<a href="http://morschi.com/wp-content/uploads/2011/08/panda_ubuntu_install.png"><img class="aligncenter size-full wp-image-173" title="panda_ubuntu_install" src="http://morschi.com/wp-content/uploads/2011/08/panda_ubuntu_install.png" alt="" width="645" height="391" /></a><a href="http://morschi.com/wp-content/uploads/2011/08/panda_ubuntu_install.png"><br />
</a></p>
<p>Continue with your normal installation and select the appropriate packages you want to install (i.e. openssh server etc)</p>
<p>For further info about headless installation and the beagleboard, visit the <a href="https://wiki.ubuntu.com/ARM/OMAPHeadlessInstall" target="_blank">Ubuntu WIKI</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/23/pandaboard-and-ubuntu-11-04-headless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pandaboard 6 easy steps boot tutorial</title>
		<link>http://morschi.com/2011/08/20/pandaboard-6-easy-steps-boot-tutorial/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pandaboard-6-easy-steps-boot-tutorial</link>
		<comments>http://morschi.com/2011/08/20/pandaboard-6-easy-steps-boot-tutorial/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 16:16:03 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[bootloader]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pandaboard]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[u-boot]]></category>
		<category><![CDATA[x-loader]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=147</guid>
		<description><![CDATA[As I have recently left out the first main part &#8211; compiling and installing the bootloaders of the pandaboard &#8211; I will add it in here. So after unpacking the pandaboard, my first intention was to update all available bootloaders. Though I recently also ordered a Beagleboard, i knew already what to do. OMAP platforms [...]]]></description>
			<content:encoded><![CDATA[<p>As I have recently left out the first main part &#8211; compiling and installing the bootloaders of the pandaboard &#8211; I will add it in here.</p>
<p>So after unpacking the pandaboard, my first intention was to update all available bootloaders. Though I recently also ordered a Beagleboard, i knew already what to do. OMAP platforms are nearly equivalent in this case because all are produced (or are still I should say if Broadcom really wants to buy TI) by Texas Instruments.</p>
<p><strong>Long story short</strong>: There is plenty of information about bootloaders for OMAP platforms spread across the web but I strangled because I had different sources, some patched, some not and a lot of work with the SD card format. Well there are several tutorials for that part, but that doesn&#8217;t mean that it&#8217;s easy&#8230;</p>
<p>So the main mechanism for booting up the Pandaboard are simply 4 Steps:<br />
<strong>X-Loader </strong>(first bootloader)<strong> -&gt; U-Boot </strong>(second bootloader)<strong> -&gt; Kernel -&gt; Root Filesystem</strong></p>
<p>Because the pandaboard doesn&#8217;t have any NAND memory chips onboard, you will need to use a separate SD Card for bootloaders. You can also locate the rootfs on that SD card, but look out that you get at least a 8 der 16GB large which is at minimum specified as class 10 &#8211; Or your system will run very sluggish! (which made me depressive at one point, so I switched to sandisk extreme III)</p>
<p><strong>Notice</strong>: Though the pandaboard is a ARM based device, you will have to set up a cross compiling toolchain for this. There is another entry on how to do this . I&#8217;m assuming for the following commands, that you have added the toolchain directory to your PATH environment variable with i.e.:</p>

<div class="wp-terminal">gr3yh0und@builder:$ export PATH=$PATH:/usr/local/arm-2008q3/bin<br/></div>

<h3><strong>Step 1: SD Card Format</strong></h3>
<p>To make it as fast and easy as possible, some clever guy wrote the <a href="http://git.openembedded.org/cgit.cgi/openembedded/tree/contrib/angstrom/omap3-mkcard.sh" target="_blank">omap3-mkcard.sh script</a>. This makes it pretty simple: Get it, insert your SD Card, make sure to check using &#8220;dmesg&#8221; that it is loaded/available and check the path (i.e. sdb/sdc/sdd&#8230;)</p>
<p>Maybe you check</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get install kpartx bc<br/></div>

<p>to make sure you have all needed commando tools.</p>
<p>Then simply execute it with (I&#8217;m using sdb as path here)</p>

<div class="wp-terminal">gr3yh0und@builder:$ sh omap3-mkcard.sh /dev/sdb<br/></div>

<p>and it will do everything for you. If you get some errors about unknown commandos, check the web and install the needed packages that give you those commands/programs. </p>
<p>It can also be possible that you will get some errors. In my case it was because of a missing dd command or whatever and the partition table on the SD Card got corrupted. To reset the partition table simply do a<br />
<code>fdisk /dev/sdb<br />
o<br />
w</code><br />
The command &#8220;o&#8221; will create a new DOS like partition table. After that, everything worked fine for me.</p>
<p>If you are having trouble with preparing the SD Card, have a glance at the SD Configuration over at <a href="http://www.omappedia.org/wiki/SD_Configuration" target="_blank">OMAPPedia</a>.</p>
<h3><strong>Step 2: Compile X-Loader</strong></h3>
<p>X-Loader is the small bootloader from TI which just initializes basic features of the board itself. X-Loader is kind of limited and so it simply prepares the hardware and loads U-Boot for further commands. How the complete process works is pretty well explained by the guys over at <a href="http://omappedia.org/wiki/Bootloader_Project" target="_blank">OMAPPEDIA</a>.</p>
<p>To get the X-Loader sources simple get it via git</p>

<div class="wp-terminal">gr3yh0und@builder:$ git clone git://gitorious.org/pandaboard/x-loader-mainline.git<br/></div>

<p>enter the directory and load the default pandaboard config with</p>

<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- omap4430panda_config<br/></div>

<p>Now create the binary with</p>

<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- ift<br/></div>

<p>It should now lie in the same directory as the sources, named &#8220;MLO&#8221;. At the moment, the newest version is 1.5.1.</p>
<h3><strong>Step 3: Compile U-Boot</strong></h3>
<p>Now you have to compile U-Boot from its sources. Either you choose the official U-Boot release tgzs/git or you use the git tree from the same gitorious account:</p>

<div class="wp-terminal">gr3yh0und@builder:$ git clone git://gitorious.org/pandaboard/u-boot-mainline.git<br/></div>

<p>Then create the config from the default config</p>

<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- omap4_panda_config<br/></div>

<p>and in the last step build the binary again with</p>

<div class="wp-terminal">gr3yh0und@builder:$ make USE_PRIVATE_LIBGG=yes CROSS_COMPILE=arm-none-linux-gnueabi-<br/></div>

<p>If you are using the latest U-Boot git from denx, then you will get an error atm (20.08.2011) about a too huge cluster size of the SRAM part. There is already a patch available <a href="http://lists.denx.de/pipermail/u-boot/2011-August/098125.html" target="_blank">here</a> which will hopefully will be soon upstream. To use it, copy everything to a textfile (i.e. using vim and name it SRAM.patch) and execute it via</p>

<div class="wp-terminal">gr3yh0und@builder:$ patch -p1 &lt; SRAM.patch<br/></div>

<p>There should now be a file called u-boot.bin flying around in the same directory&#8230;</p>
<p>A really good reference about U-Boot and X-Loader is the guy over at <a href="http://www.elinux.org/Panda_How_to_MLO_%26_u-boot" target="_blank">elinux.org</a>, check it out!</p>
<p>U-Boot is a relly nice tool and THE bootloader available. Fun fact is, that it&#8217;s creator lives in the town next to mine and I&#8217;m hopefully looking forward to drink a cup of coffee with him one day. </p>
<h3><strong>Step 4: Kernel</strong></h3>
<p>To boot up you also need a kernel. You can build your own or use a precompiled one, whatever you like. For my project i needed some adjustments and stuff, so I chose to build it by myself. I chose the latest version (3.0.2 to that point) due to a few OMAP bugfixes in there. You can read about the progress and my config in the other blog entry <a href="http://gr3yh0und.wordpress.com/2011/08/17/pandaboard-kernel/" target="_blank">here</a>. You can also download the precompiled binary there for a quickstart&#8230;</p>
<h3><strong>Step 5: Root Filesystem</strong></h3>
<p>To do anything useful with your device, you&#8217;ll also need a root filesystem. There are various options on the web on how to get one&#8230; i.e. you can use the angstrom one or, what I did, create your own with the great buildroot suite. This is really a very well designed and up to date suite to build and deploy filesystems of any kind. I will write another article about that later&#8230;</p>
<h3><strong>Step 6: Finalize SD Card</strong></h3>
<p>The final part is to copy everything over to your in step 1 already prepared SD card. Now comes the important part: The order is the key! The script created you 2 partitions, one for the bootloaders/kernel and one for the filesystem. You can also boot the kernel from the second partition or load the filesystem over the network via NFS as explained <a href="http://gr3yh0und.wordpress.com/2011/08/17/booting-the-pandaboard-over-nfs/" target="_blank">here</a>.</p>
<ul>
<li>The first file you need to copy is the &#8220;MLO&#8221; from X-Loader. This HAS TO BE the first file as it is the primary bootloader and the system just looks on the first few cluster on the SD Card to find it!</li>
<li>The second file is the &#8220;u-boot.bin&#8221; and the third file is the kernel, &#8220;uImage&#8221;.</li>
<li>The root system has now to be untared to the second partition or the NFS server needs to be configured</li>
</ul>
<p>This should be it for the start. Put your SD Card in the slot of your pandaboard, connect a serial cable/USB-Serial adapter to the pandaboard and power it up. You should now see the loading screens of X-Loader, U-Boot and the kernel! After 30 seconds, the rootfs should be loaded und you should be able to login. Have fun!</p>
<p>If theres something wrong/trouble or there is a way how I can do anything smarter, just drop me a comment. I&#8217;m open for every single advice!</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/20/pandaboard-6-easy-steps-boot-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pandaboard Kernel 3.0.2</title>
		<link>http://morschi.com/2011/08/17/pandaboard-kernel/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pandaboard-kernel</link>
		<comments>http://morschi.com/2011/08/17/pandaboard-kernel/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:20:15 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[3.0.2]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[default config]]></category>
		<category><![CDATA[defconfig]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[pandaboard]]></category>
		<category><![CDATA[precompiled]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=138</guid>
		<description><![CDATA[Edit: There is a newer version available HERE! In the development of my project i also need to get a fast and working kernel for the pandaboard. As I searched the web, there were several old and new infos about how &#8211; but I couldn&#8217;t find a defconfig for it. My first goal after unpacking [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Edit: There is a newer version available <a href="http://morschi.com/2011/11/13/up-to-date-kernel-for-pandaboard/">HERE</a>!</strong></p>
<p>In the development of my project i also need to get a fast and working kernel for the pandaboard. As I searched the web, there were several old and new infos about how &#8211; but I couldn&#8217;t find a defconfig for it. My first goal after unpacking was simply: Get it working instantly!!111</p>
<p>At this point, a advice would be to visit the <a href="http://www.elinux.org/PandaBoard#How_To.27s">HowTo List at elinux</a>, where the newest (and also old) kernels and their How To&#8217;s are listed. The list is pretty decent at that point and includes a lot of patches which are still not merged into mainline kernel! </p>
<p>I&#8217;m currently working with 3.0.2, the latest final build available atm. For a start, I will post the default config I use atm. But beware &#8211; I&#8217;m far from testing all functions and drivers, i just checked the parts I thought would be useful. Download it to your kernel dir and rename it to .config</p>
<h3><b><a href="http://morscher-home.de/embedded/pandaboard/kernel.config">Download kernel config</a></b></h3>
<h3><b><a href="http://morscher-home.de/embedded/pandaboard/uImage">Download kernel uImage precompiled</a></b></h3>
<h3><b><a href="http://morscher-home.de/embedded/pandaboard/u-boot.bin">Download U-Boot 2011-06 precompiled</a></b></h3>
<h3><b><a href="http://morscher-home.de/embedded/pandaboard/MLO">Download X-Loader 1.51 precompiled</a></b></h3>
<p>Checked working:</p>
<ul>
<li>LAN Network</li>
<li>serial console</li>
<li>USB Displaylink</li>
<li>Webcams</li>
</ul>
<p>Last update: 29/8/2011</p>
<p>Next step is getting 3.0.4 and then, when available, 3.1 to work.</p>
<p>I will keep that file up to date as far as possible and as far as my projects develops&#8230;</p>
<p>Thanks to the guys over at <a href="http://pandaboard.org/">pandaboard.org</a> for linking!</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/17/pandaboard-kernel/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Booting the pandaboard over NFS</title>
		<link>http://morschi.com/2011/08/17/booting-the-pandaboard-over-nfs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=booting-the-pandaboard-over-nfs</link>
		<comments>http://morschi.com/2011/08/17/booting-the-pandaboard-over-nfs/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 11:07:25 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[linux kernel]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[NFS Server]]></category>
		<category><![CDATA[pandaboard]]></category>
		<category><![CDATA[smsc]]></category>
		<category><![CDATA[u-boot]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=90</guid>
		<description><![CDATA[I strangled some days to get this working: I want to boot the filesystem of my embedded pandaboard over NFS, so that I can make quicker changes to it from my development machine. As always with this stuff, it sounds simple and &#8211; in the end &#8211; it is simple. But the timespan between is [...]]]></description>
			<content:encoded><![CDATA[<p>I strangled some days to get this working: I want to boot the filesystem of my embedded pandaboard over NFS, so that I can make quicker changes to it from my development machine. As always with this stuff, it sounds simple and &#8211; in the end &#8211; it is simple. But the timespan between is really annoying while you are googeling and trying this until four o&#8217;clock in the morning&#8230;</p>
<p>So to make things hopefully shorter for you, here a quick tutorial how to do all that stuff.</p>
<h3><strong>Kernel</strong></h3>
<p>First step is our kernel. I&#8217;m using the 3.0.2 final which is atm the newest stable release. The guys commited a lot for the omap branch there, especially OMAP4 which is used on Pandaboard. But I&#8217;m really not sure, why the kernelguys are not making more defconfigs for starters. Sure they must not be perfect, but simple things like networking should work out of the box&#8230;</p>
<p>So go to your development machine and get the 3.0.2 sources from kernel.org and untar them:</p>

<div class="wp-terminal">gr3yh0und@builder:$ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.2.tar.bz2<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ tar xzf linux-3.0.2.tar.bz2<br/></div>

<p>Now make a OMAP-generic default config (defconfig) and edit it (I&#8217;m assuming, that you have downloaded/untared/exported the path of i.e. the CodeSourcery Cross Compiler Toolchain):</p>

<div class="wp-terminal">gr3yh0und@builder:$ cd linux-3.0.2<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap2plus_defconfig<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm menuconfig<br/></div>

<p>Because of the generic type of this defconfig, you have to do some manual changes to get everything working. This can easily done by selecting via the ncurse-based &#8220;menuconfig&#8221; command.<br />
Make sure that the following point are selected ([*] in front of it):</p>
<p><code>Networking support<br />
--&gt; [*] TCP/IP networking<br />
--&gt; --&gt; [*] IP: kernel level autoconfiguration<br />
--&gt; --&gt; --&gt; [*] IP: DHCP support<br />
--&gt; --&gt; --&gt; [*] IP: BOOTP support<br />
--&gt; --&gt; --&gt; [*] IP: RARP support</code></p>
<p><code>Device Drivers<br />
--&gt; [*] Network device support<br />
--&gt; --&gt; USB Network Adapters<br />
--&gt; --&gt; --&gt; [*] SMSC LAN95XX based USB 2.0 10/100 ethernet devices<br />
--&gt; [*] USB support<br />
--&gt; --&gt; [*] EHCI HCD (USB 2.0) support</code></p>
<p><code>File systems<br />
--&gt; [*] Network File Systems<br />
--&gt; --&gt; NFS client support<br />
--&gt; --&gt; --&gt; [*] NFS client support for NFS version 3 --&gt; [*] Root file system on NFS</code></p>
<p>Or do it via bash by checking the .config in the same dir for those variables enabled ( XXX=y ):<br />
<code>CONFIG_IP_PNP=y<br />
CONFIG_IP_PNP_DHCP=y<br />
CONFIG_IP_PNP_BOOTP=y<br />
CONFIG_IP_PNP_RARP=y<br />
CONFIG_USB_USBNET=y<br />
CONFIG_USB_NET_SMSC95XX=y<br />
CONFIG_USB=y<br />
CONFIG_USB_SUPPORT=y<br />
CONFIG_USB_ARCH_HAS_EHCI=y<br />
CONFIG_NETWORK_FILESYSTEMS=y<br />
CONFIG_NFS_FS=y<br />
CONFIG_NFS_V3=y<br />
CONFIG_NFS_V3_ACL=y<br />
CONFIG_ROOT_NFS=y</code></p>
<p>Now build your kernel and (according to the number of CPU Cores in your system) change the number behind &#8220;j&#8221;:</p>

<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm -j4 all<br/></div>


<div class="wp-terminal">gr3yh0und@builder:$ make CROSS_COMPILE=arm-none-linux-gnueabi- uImage<br/></div>

<p>Now your kernel is ready to be used!<br />
I&#8217;m assuming here, that you already have a clue how to setup the SD Card right and have U-boot and X-Loader correctly in place. I will make further tutorials on that, too &#8211; later!</p>
<h3><strong>NFS Server</strong></h3>
<p>To use NFS, your development system also needs the NFS server to be installed. On debian systems you can install it simply with</p>

<div class="wp-terminal">gr3yh0und@builder:$ sudo apt-get install nfs-common nfs-kernel-server<br/></div>

<p>The next step is to create the folder (here /panda/fs) for the filesystem and make it ready for &#8220;export&#8221;.<br />
Edit the /etc/exports to match your config:<br />
<code>/panda/fs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)</code><br />
I allow all adresses in this IP Range to access the NFS, due to multiple systems on the network. If you are changing the config and want to reload it, restart the nfs server with</p>

<div class="wp-terminal">gr3yh0und@builder:$ /etc/init.d/nfs-kernel-server restart<br/></div>

<p>My development System/NFS-Server is using 192.168.1.1 and pandaboard uses the 192.168.1.2 .</p>
<h3><strong>U-Boot</strong></h3>
<p>Now copy the kernel from arch/arm/boot/uImage over to your SD Card partition 1 and connect your board to a serial cable. Get into U-Boot and enter the following commands to make a network boot:<br />
<code>mmc rescan<br />
fatload mmc 0:1 0x80000000 uImage<br />
setenv bootargs vram=32M console=ttyO2,115200 mem=456M@0x80000000 mem=512M@0xA0000000 smsc95xx.macaddr=76:2F:97:85:4F:56 root=/dev/nfs rw nfsroot=192.168.1.1:/panda/fs,nolock,wsize=1024,rsize=1024 ip=192.168.1.2 rootdelay=2 init=/linuxrc<br />
bootm 0x80000000</code></p>
<p>Change here the arguments to fit it to your system, i.e. change the MAC Address of your NIC, the IP Address of your server if necessary (nfsroot=X.X.X.X) and the folder (here /panda/fs).<br />
The second IP beginning with &#8220;ip=&#8221; is the IP address your board will choose after kernel has started up. You can also assign DHCP as choice here (ip=DHCP) &#8211; No subnetmask is needed.</p>
<p>To make this executed every boot, you have to create a new textfile on your development system called &#8220;boot.script&#8221;. Copy your boot commands into it and save it. Then convert it to a file namend &#8220;boot.scr&#8221; with the command:</p>

<div class="wp-terminal">gr3yh0und@builder:$ mkimage -A arm -T script -C none -n "Pandaboard boot script" -d boot.script boot.scr<br/></div>

<p>and copy it over to your SD Cards first partition. It will then be executed as first action first by U-Boot on every boot.</p>
<p><strong>Note:</strong> If mkimage is not found, install it with &#8220;sudo apt-get install uboot-mkimage&#8221;!</p>
<p>Et voila! Thanks to the guys over at <a title="Googleboard" href="http://groups.google.com/group/pandaboard/browse_thread/thread/742d9a25743a0352">Googleboard</a> for the startup.</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/17/booting-the-pandaboard-over-nfs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Revival</title>
		<link>http://morschi.com/2011/08/03/auferstehung/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=auferstehung</link>
		<comments>http://morschi.com/2011/08/03/auferstehung/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 13:45:09 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Allgemeines]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=44</guid>
		<description><![CDATA[After one year of nothing, there will be more updates on many topics soon!]]></description>
			<content:encoded><![CDATA[<p>After one year of nothing, there will be more updates on many topics soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2011/08/03/auferstehung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mainboardwechsel?</title>
		<link>http://morschi.com/2010/08/01/mainboardwechsel/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mainboardwechsel</link>
		<comments>http://morschi.com/2010/08/01/mainboardwechsel/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 12:03:34 +0000</pubDate>
		<dc:creator>Gr3yh0und</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://gr3yh0und.wordpress.com/?p=39</guid>
		<description><![CDATA[Mit dem Gigabyte X58 Extreme an sich war ich nie 100% zufrieden. Komische Aktionen gab es leider immer mal wieder&#8230; mal ein paar Beispiele: Bei manchen Kaltstarts hat er das Bios zerschossen (F10) und das vom Rettungsbios (F8d) neu geflasht. Darum hatte ich immer einen USB Stick dran, um gleich wieder das F10 + Einstellungen [...]]]></description>
			<content:encoded><![CDATA[<p>Mit dem Gigabyte X58 Extreme an sich war ich nie 100% zufrieden. Komische Aktionen gab es leider immer mal wieder&#8230;</p>
<p>mal ein paar Beispiele:</p>
<ul>
<li>Bei manchen Kaltstarts hat er das Bios zerschossen (F10) und das vom Rettungsbios (F8d) neu geflasht. Darum hatte ich immer einen USB Stick dran, um gleich wieder das F10 + Einstellungen zu laden.</li>
<li>Ramprobleme: Manchmal werden 4GB, manchmal 6GB erkannt. Logik ist dabei keine. Scheinen wohl einige Gigabyte Boards zu haben&#8230; Eine gewisse Abhängigkeit von der &#8220;Wärme/Laufzeit&#8221; des Systems bilde ich mir ein trotzdem zu erkennen. Nach mehrstündigem Betrieb und einem darauf folgenden Neustart passiert nämlich manchmal das Wunder 4 -&gt; 6 GB&#8230;</li>
<li>Die Festmachung der Schläuche der Wasserkühlung mit Kabelbinder &#8211; Gewinde hätten mir hier besser gefallen.</li>
<li>Inzwischen hat JZ ja leider auch den guten BIOS Support eingestellt. Aktuell ist das F12 von der GB Homepage drauf, Gottseidank gibt es hier noch die DVID Einstellung, so dass ich wenigstens Strom sparen kann</li>
<li>Die Software des &#8220;ET6&#8243; ist leider mal ziemlicher Müll&#8230; Taugt in kaum einer Weise für irgendwas</li>
</ul>
<p>Nun stellt sich die Frage: Für wieviel das EX58-Extreme loswerden und was kommt rein? Der wassergekühlte Chipsatz gefällt mir ansich ja schon sehr gut&#8230; Anstehen würden hier gerade einige EVGA X58 Classifieds im Forum (E760er/E759er) mit teils vorinstalliertem EK Complete Kühler&#8230; Aber ob sich der Aufpreis lohnt?</p>
]]></content:encoded>
			<wfw:commentRss>http://morschi.com/2010/08/01/mainboardwechsel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

