<?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>plugcomputer &#8211; Farlock.org</title>
	<atom:link href="https://www.farlock.org/tag/plugcomputer/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.farlock.org</link>
	<description>What you want to hack today?</description>
	<lastBuildDate>Wed, 02 Apr 2014 06:08:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.3</generator>
	<item>
		<title>Recompile Kernel for SheevaPlug</title>
		<link>https://www.farlock.org/sheevaplug/recompile-kernel-for-sheevaplug/</link>
					<comments>https://www.farlock.org/sheevaplug/recompile-kernel-for-sheevaplug/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 28 May 2010 08:10:56 +0000</pubDate>
				<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[custom kernel]]></category>
		<category><![CDATA[kernel sheevaplug]]></category>
		<category><![CDATA[marvell]]></category>
		<category><![CDATA[plugcomputer]]></category>
		<guid isPermaLink="false">http://www.farlock.org/?p=133</guid>

					<description><![CDATA[<p>Howto recompile a custom kernel for our SheevaPlug:</p> <p>In this example we suppose that our pc has ip 192.168.1.220, and the network has dhcp. First of all install packages needed:</p> <p>apt-get install git-core build-essential</p> <p>Then download the latest kernel from Marvell:</p> <p>cd /usr/src git clone git://git.marvell.com/orion.git</p> <p>Then set default config for SheevaPlug:</p> <p>cd orion make [...]]]></description>
										<content:encoded><![CDATA[<p>Howto recompile a custom kernel for our SheevaPlug:</p>
<p>In this example we suppose that our pc has ip 192.168.1.220, and the network has dhcp.<br />
First of all install packages needed:</p>
<blockquote><p>apt-get install git-core build-essential</p></blockquote>
<p>Then download the latest kernel from Marvell:</p>
<blockquote><p>cd /usr/src<br />
git clone git://git.marvell.com/orion.git</p></blockquote>
<p>Then set default config for SheevaPlug:</p>
<blockquote><p>cd orion<br />
make ARCH=arm kirkwood_defconfig</p></blockquote>
<p>And then run menuconfig for set our personalized features:</p>
<blockquote><p>make ARCH=arm menuconfig</p></blockquote>
<p>When done, save the config and compile it:</p>
<blockquote><p>make -j4 ARCH=arm CROSS_COMPILE=../arm-2009q3/bin/arm-none-eabi- uImage</p>
<p>make -j4 ARCH=arm CROSS_COMPILE=../arm-2009q3/bin/arm-none-eabi- modules</p>
<p>make -j4 ARCH=arm CROSS_COMPILE=../arm-2009q3/bin/arm-none-eabi- INSTALL_MOD_PATH=.. modules_install</p></blockquote>
<p>The last command copy our modules in ../lib, we make a tar of them and copy into sheevaplug:</p>
<blockquote><p>cd ..<br />
tar cvf lib_snapshot.tar lib</p></blockquote>
<p>The new kernel is built in orion/arch/arm/boot/, we copy it in our tftp directory</p>
<blockquote><p>cp orion/arch/arm/boot/uImage /var/lib/tftpboot</p></blockquote>
<p>log in as root in sheevaplug, and copy the tar of modules:</p>
<blockquote><p>scp 192.168.1.220:/usr/src/sheeva/compile/lib_snapshot.tar .<br />
tar xvf lib_snapshot.tar<br />
mv lib/modules/2.6.KERNEL_VERSION /lib/modules</p></blockquote>
<p>now we need to connect the sheeva&#8217;s console cable to our pc and connect with a terminal emulator like minicom (for information on how to do this look at plugcomputer.org), stop the boot process and go to bootloader prompt. On our machine we need to setup a tftp server (information at http://plugcomputer.org), in this example 192.168.1.220 is the tftpserver ip.</p>
<p>Write this on bootloader prompt:</p>
<blockquote><p>bootp<br />
setenv serverip 192.168.1.220<br />
tftpboot 0x2000000 uImage<br />
setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root)<br />
bootm 0x2000000</p></blockquote>
<p>Now our sheevaplug is booting with new kernel&#8230;.<br />
If it start <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> run <em>uname -a</em> and look the kernel version!<br />
Enjoy <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Test your sheevaplug with your new kernel, it is running well we can write the new kernel in flash, copy the uImage in any directory of sheevplug and flash it!</p>
<blockquote><p>scp 192.168.1.220:/var/lib/tftpboot/uImage /tmp<br />
flash_eraseall /dev/mtd0<br />
nandwrite -p /dev/mtd0 /tmp/uImage</p></blockquote>
<p>reboot and sheevaplug automatically start with new kernel <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.farlock.org/sheevaplug/recompile-kernel-for-sheevaplug/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
