<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=RaspberryPi%3A_Compile_Kernel_Linux</id>
	<title>RaspberryPi: Compile Kernel Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=RaspberryPi%3A_Compile_Kernel_Linux"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=RaspberryPi:_Compile_Kernel_Linux&amp;action=history"/>
	<updated>2026-04-12T16:17:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=RaspberryPi:_Compile_Kernel_Linux&amp;diff=35845&amp;oldid=prev</id>
		<title>Onnowpurbo: /* Referensi */</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=RaspberryPi:_Compile_Kernel_Linux&amp;diff=35845&amp;oldid=prev"/>
		<updated>2013-03-14T03:49:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Referensi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:49, 14 March 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l170&quot; &gt;Line 170:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 170:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; 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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://elinux.org/RPi_Kernel_Compilation&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://elinux.org/RPi_Kernel_Compilation&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;==Pranala Menarik==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[Raspberrypi]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: OpenELEC]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: OpenELEC Instalasi]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: XBian]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Download Image]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Burn SD Card]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Download Raspbmc dan Burn SD Card]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Compile Kernel Linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Compile Android]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* [[RaspberryPi: Burn SD Card untuk Puppy RaspberryPi]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=RaspberryPi:_Compile_Kernel_Linux&amp;diff=34375&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: Sumber: http://elinux.org/RPi_Kernel_Compilation  = Overview = First, you are going to get and build the linux kernel and its modules using a suitable compiler (a &quot;cross-compiler&quot; if you a...</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=RaspberryPi:_Compile_Kernel_Linux&amp;diff=34375&amp;oldid=prev"/>
		<updated>2012-08-25T01:05:27Z</updated>

		<summary type="html">&lt;p&gt;New page: Sumber: http://elinux.org/RPi_Kernel_Compilation  = Overview = First, you are going to get and build the linux kernel and its modules using a suitable compiler (a &amp;quot;cross-compiler&amp;quot; if you a...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sumber: http://elinux.org/RPi_Kernel_Compilation&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
First, you are going to get and build the linux kernel and its modules using a suitable compiler (a &amp;quot;cross-compiler&amp;quot; if you aren't building it on the same hardware you will be running it on) and then you are going to create a kernel image from the uncompressed kernel (Image) to place on the sd, along with the modules you build alongside it.&lt;br /&gt;
&lt;br /&gt;
= From the Raspberry pi =&lt;br /&gt;
== Firmware ==&lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone --depth 1 git://github.com/raspberrypi/firmware.git&lt;br /&gt;
 cd firmware/boot&lt;br /&gt;
 cp arm128_start.elf arm192_start.elf arm224_start.elf bootcode.bin loader.bin start.elf /boot/&lt;br /&gt;
 cd /opt&lt;br /&gt;
 rm -r firmware&lt;br /&gt;
== Kernel compilation ==&lt;br /&gt;
=== Debian pre-build===&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get -y dist-upgrade&lt;br /&gt;
 apt-get -y install git gcc make tmux&lt;br /&gt;
=== Arch Linux pre-build===&lt;br /&gt;
 pacman -Syu&lt;br /&gt;
 pacman -S git gcc make tmux&lt;br /&gt;
=== Common ===&lt;br /&gt;
 cd /opt&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi&lt;br /&gt;
 git clone --depth 1 git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 zcat /proc/config.gz &amp;gt; .config&lt;br /&gt;
 #optional#make menuconfig&lt;br /&gt;
 tmux new -s make&lt;br /&gt;
 nice make; nice make modules&lt;br /&gt;
 [Ctrl]+[B],[D]&lt;br /&gt;
 ############## … 5 hours later ...&lt;br /&gt;
 tmux a -t m&lt;br /&gt;
 [Ctrl]+[D]&lt;br /&gt;
 cp arch/arm/boot/Image /boot/kernel.img&lt;br /&gt;
 make ARCH=arm modules_install INSTALL_MOD_PATH=/&lt;br /&gt;
 cd /opt&lt;br /&gt;
 rm -r raspberrypi&lt;br /&gt;
 shutdown -r now;&lt;br /&gt;
= From a foreign machine =&lt;br /&gt;
== Firmware ==&lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone git://github.com/raspberrypi/firmware.git&lt;br /&gt;
 cd firmware/boot&lt;br /&gt;
 scp arm128_start.elf arm192_start.elf arm224_start.elf bootcode.bin loader.bin start.elf &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;:/boot/&lt;br /&gt;
After the first time:&lt;br /&gt;
 cd /opt/firmware&lt;br /&gt;
 git pull&lt;br /&gt;
 cd boot&lt;br /&gt;
 scp arm128_start.elf arm192_start.elf arm224_start.elf bootcode.bin loader.bin start.elf &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;:/boot/&lt;br /&gt;
== Kernel compilation ==&lt;br /&gt;
You can use the &amp;quot;-j&amp;quot; flag to improve compilation time. If you have a dual core machine you can use &amp;quot;-j 3&amp;quot;, for a quad core machine you can use &amp;quot;-j 6&amp;quot;, and so on.&lt;br /&gt;
=== Ubunt ===&lt;br /&gt;
 apt-get install git gcc-arm-linux-gnueabi make ncurses-dev&lt;br /&gt;
 cd /opt&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi &lt;br /&gt;
 git clone git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 cp arch/arm/configs/bcmrpi_cutdown_defconfig .config&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- oldconfig&lt;br /&gt;
 #optional#make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k&lt;br /&gt;
=== Gentoo Linux ===&lt;br /&gt;
 crossdev -S -v -t arm-unknown-linux-gnueabi&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi &lt;br /&gt;
 git clone git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 cp arch/arm/configs/bcmrpi_cutdown_defconfig .config&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- oldconfig&lt;br /&gt;
 #optional#make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k&lt;br /&gt;
&lt;br /&gt;
crossdev should create a cross-toolchain using the latest stable versions of the required packages.  If it fails, you can specify exact versions by removing the &amp;quot;-S&amp;quot; flag and adding the &amp;quot;--b&amp;quot;, &amp;quot;--g&amp;quot;, &amp;quot;--k&amp;quot; and &amp;quot;--l&amp;quot; flags.&lt;br /&gt;
&lt;br /&gt;
On 2012-05-06, cross -S -v -A gnueabi arm works just fine&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux ===&lt;br /&gt;
 pacman -S git&lt;br /&gt;
 yaourt -S arm-linux-gnueabi-gcc&lt;br /&gt;
 cd /opt&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi &lt;br /&gt;
 git clone git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 cp arch/arm/configs/bcmrpi_cutdown_defconfig .config&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- oldconfig&lt;br /&gt;
 #optional#make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k&lt;br /&gt;
&lt;br /&gt;
=== OS X ===&lt;br /&gt;
The Kernel source requires a case-sensitive filesystem. If you do not have a HFS+ Case-sensitive partition that can be used, create a disk image with the appropriate format.&lt;br /&gt;
Ensure latest Xcode and command line tools are installed from [http://developer.apple.com/downloads Apple Developer Connection]&lt;br /&gt;
==== Macports ====&lt;br /&gt;
Install [http://guide.macports.org/#installing macports]&lt;br /&gt;
 port install arm-none-eabi-gcc&lt;br /&gt;
 port install arm-none-eabi-binutils&lt;br /&gt;
 cd /opt&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi &lt;br /&gt;
 git clone git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 cp arch/arm/configs/bcmrpi_cutdown_defconfig .config&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/opt/local/bin/arm-none-eabi- oldconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/opt/local/bin/arm-none-eabi- -k&lt;br /&gt;
'''If you get an error message that elf.h is missing'''&lt;br /&gt;
 sudo port install libelf &amp;amp;&amp;amp; sudo ln -s /opt/local/include/libelf /usr/include/libelf&lt;br /&gt;
From opensource.apple.com, download and copy [http://opensource.apple.com/source/dtrace/dtrace-48/sys/elf.h?txt elf.h] and [http://opensource.apple.com/source/dtrace/dtrace-48/sys/elftypes.h?txt elftypes.h] to /usr/include&lt;br /&gt;
&lt;br /&gt;
Edit elf.h and add&lt;br /&gt;
 #define R_386_NONE        0&lt;br /&gt;
 #define R_386_32          1&lt;br /&gt;
 #define R_386_PC32        2&lt;br /&gt;
 #define R_ARM_NONE        0&lt;br /&gt;
 #define R_ARM_PC24        1&lt;br /&gt;
 #define R_ARM_ABS32       2&lt;br /&gt;
 #define R_MIPS_NONE       0&lt;br /&gt;
 #define R_MIPS_16         1&lt;br /&gt;
 #define R_MIPS_32         2&lt;br /&gt;
 #define R_MIPS_REL32      3&lt;br /&gt;
 #define R_MIPS_26         4&lt;br /&gt;
 #define R_MIPS_HI16       5&lt;br /&gt;
 #define R_MIPS_LO16       6&lt;br /&gt;
'''If you get a &amp;quot;SEGMENT_SIZE is undeclared&amp;quot; error'''&lt;br /&gt;
open the Makefile and change the line:&lt;br /&gt;
 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)&lt;br /&gt;
to&lt;br /&gt;
 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) -Dlinux&lt;br /&gt;
&lt;br /&gt;
==== Yagarto ====&lt;br /&gt;
Downoad and install an GNU ARM toolchain such as [http://www.yagarto.de/#downloadmac yagarto].&lt;br /&gt;
 cd /opt&lt;br /&gt;
 mkdir raspberrypi&lt;br /&gt;
 cd raspberrypi &lt;br /&gt;
 git clone git://github.com/raspberrypi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 cp arch/arm/configs/bcmrpi_cutdown_defconfig .config&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/path/to/yagarto/bin/arm-none-eabi- oldconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=/path/to/yagarto/bin/arm-none-eabi- -k&lt;br /&gt;
&lt;br /&gt;
== Transferring The Build ==&lt;br /&gt;
Then you have to transfer this img file to the /boot directory and install the compiled modules. Unfortunately the compiled modules are not in a single place, there are two options of installing them.&lt;br /&gt;
&lt;br /&gt;
Boot your RaspberryPi and mount the &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt; directory over the network using sshfs:&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 mkdir linux&lt;br /&gt;
 sshfs &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;:&amp;lt;path/to/linux&amp;gt; linux&lt;br /&gt;
 cd linux&lt;br /&gt;
 make install&lt;br /&gt;
 make modules_install&lt;br /&gt;
If you got &amp;quot;Permission denied&amp;quot; when doing &amp;lt;code&amp;gt;cd linux&amp;lt;/code&amp;gt;, try:&lt;br /&gt;
 sudo sh -c &amp;quot;cd linux ; make modules_install&amp;quot;&lt;br /&gt;
If that is not an option, you can also install the modules into a temporary folder:&lt;br /&gt;
 mkdir /tmp/modules&lt;br /&gt;
 make ARCH=arm modules_install INSTALL_MOD_PATH=/tmp/modules&lt;br /&gt;
Now you have to copy the contents of that directory to /lib/modules on the SD card.&lt;br /&gt;
 scp linux/arch/arm/boot/Image &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;:/boot/kernel.img&lt;br /&gt;
 scp -r /tmp/modules/* &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;://lib/modules/&lt;br /&gt;
Once you've done those two steps, you are ready to put the SD card in and try booting your new system!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://elinux.org/RPi_Kernel_Compilation&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>