<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ishani</id>
	<title>Pandora Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ishani"/>
	<link rel="alternate" type="text/html" href="https://pandorawiki.org/Special:Contributions/Ishani"/>
	<updated>2026-04-19T20:35:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0-alpha</generator>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1160</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1160"/>
		<updated>2009-03-22T22:13:32Z</updated>

		<summary type="html">&lt;p&gt;Ishani: grouping&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building (when the build system uses -print-file-name=include). Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar. As mentioned [https://support.codesourcery.com/GNUToolchain/kbentry46 here], create an environment variable called CYGPATH with the value 'cygpath' (minus the quotes). Patching your install using the [https://support.codesourcery.com/GNUToolchain/kbentry21 SourceryG++ guide to kernel building] as a reference is necessary to get your cygwin/windows builds off the ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1159</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1159"/>
		<updated>2009-03-22T22:11:24Z</updated>

		<summary type="html">&lt;p&gt;Ishani: spacing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building (when the build system uses -print-file-name=include). Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
As mentioned [https://support.codesourcery.com/GNUToolchain/kbentry46 here], create an environment variable called CYGPATH with the value 'cygpath' (minus the quotes).&lt;br /&gt;
&lt;br /&gt;
Patching your install using the [https://support.codesourcery.com/GNUToolchain/kbentry21 SourceryG++ guide to kernel building] as a reference is necessary to get your cygwin/windows builds off the ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1158</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1158"/>
		<updated>2009-03-22T22:10:55Z</updated>

		<summary type="html">&lt;p&gt;Ishani: link other G++ guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building (when the build system uses -print-file-name=include). Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
As mentioned [https://support.codesourcery.com/GNUToolchain/kbentry46 here], create an environment variable called CYGPATH with the value 'cygpath' (minus the quotes).&lt;br /&gt;
&lt;br /&gt;
Patching your install using the [https://support.codesourcery.com/GNUToolchain/kbentry21 SourceryG++ guide to kernel building] as a reference is necessary to get your cygwin/windows builds off the ground.&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1157</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1157"/>
		<updated>2009-03-22T22:09:10Z</updated>

		<summary type="html">&lt;p&gt;Ishani: -print-file-name=include doc&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building (when the build system uses -print-file-name=include). Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
As mentioned [https://support.codesourcery.com/GNUToolchain/kbentry46 here], create an environment variable called CYGPATH with the value 'cygpath' (minus the quotes).&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1156</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1156"/>
		<updated>2009-03-22T20:46:30Z</updated>

		<summary type="html">&lt;p&gt;Ishani: /* CodeSourcery G++ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building. Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
As mentioned [https://support.codesourcery.com/GNUToolchain/kbentry46 here], create an environment variable called CYGPATH with the value 'cygpath' (minus the quotes).&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1155</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1155"/>
		<updated>2009-03-20T11:32:41Z</updated>

		<summary type="html">&lt;p&gt;Ishani: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building. Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
Some tips on cross-compiling in cygwin using SourceryG++ under Windows [https://support.codesourcery.com/GNUToolchain/kbentry21 here] and [https://support.codesourcery.com/GNUToolchain/kbentry46 here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1154</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1154"/>
		<updated>2009-03-20T11:31:54Z</updated>

		<summary type="html">&lt;p&gt;Ishani: more notes for windows users&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===Cygwin (Windows Users)===&lt;br /&gt;
Cygwin is a Linux-like environment for Windows; download and install [http://www.cygwin.com/ here]. You will need additional packages installed to build the kernel:&lt;br /&gt;
&lt;br /&gt;
* diffutils&lt;br /&gt;
* gcc4&lt;br /&gt;
* make&lt;br /&gt;
* ncurses&lt;br /&gt;
* libncurses-devel&lt;br /&gt;
* git (see below)&lt;br /&gt;
&lt;br /&gt;
===CodeSourcery G++===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
'''Windows Users:'''&lt;br /&gt;
When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building. Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
Some tips on cross-compiling in cygwin using SourceryG++ under Windows [https://support.codesourcery.com/GNUToolchain/kbentry21 here] and [https://support.codesourcery.com/GNUToolchain/kbentry46 here].&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
* [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
* [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1150</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1150"/>
		<updated>2009-03-20T02:02:25Z</updated>

		<summary type="html">&lt;p&gt;Ishani: /* Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===CodeSourcery===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
Note: When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building. Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
A guide for [http://linux.yyz.us/git-howto.html basic git usage].&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
 * [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
 * [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1149</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1149"/>
		<updated>2009-03-20T01:57:54Z</updated>

		<summary type="html">&lt;p&gt;Ishani: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, notes are being added for those building in Windows using cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. &lt;br /&gt;
&lt;br /&gt;
===CodeSourcery===&lt;br /&gt;
Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information. &lt;br /&gt;
&lt;br /&gt;
Note: When installing on Windows, '''do not use the default install path''', as it contains spaces and will cause problems when building. Install to &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\SourceryG++\&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or similar.&lt;br /&gt;
&lt;br /&gt;
===Git===&lt;br /&gt;
For source control access, you need to have [http://git.or.cz/ git] installed. Use your packet manager or build it from source. On Windows, install via cygwin.&lt;br /&gt;
&lt;br /&gt;
===mkimage===&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
 * [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
 * [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1147</id>
		<title>Kernel build instructions</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Kernel_build_instructions&amp;diff=1147"/>
		<updated>2009-03-19T23:45:21Z</updated>

		<summary type="html">&lt;p&gt;Ishani: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: these instructions are written for Linux users, but may work under windows with cygwin.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
First you need a toolchain and several other tools. Usually [http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite CodeSourcery's ARM GNU/Linux tool chain] is used to build OMAP3 kernels, but other variations can be used as well. For CodeSourcery, 2007q3 version is recommended (click &amp;quot;all versions&amp;quot; in above page, as 2008q1 and 2008q3 produce bad code in some situations. See [http://elinux.org/BeagleBoard#Compiler BeagleBoard page] for more information.&lt;br /&gt;
Next you need to have [http://git.or.cz/ git] installed, so use your packet manager or build it from source. &lt;br /&gt;
&lt;br /&gt;
Finally you need to have 'mkimage' tool in PATH, which can be built as part of u-boot build process, or download below:&lt;br /&gt;
 * [http://notaz.gp2x.de/misc/pnd/mkimage mkimage - linux version]&lt;br /&gt;
 * [http://www.psyent.com/download/u-boot-mkimage-bin.zip mkimage - windows version]&lt;br /&gt;
&lt;br /&gt;
== Cloning and switching branches ==&lt;br /&gt;
Now you need to 'clone' kernel source using git tools from previous step. Make a directory you want to keep source in and cd into it. Then run:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will now download the source from openpandora.org. Note that it will take a while, so be patient.&lt;br /&gt;
When done, you will have default 'master' branch checked out, but it doesn't have the latest files, so you need to checkout the current 'pandora-27-omap1' branch:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
git checkout --track -b pandora-27-omap1 origin/pandora-27-omap1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
To build you need to have several environment variables set. If you don't have your toolchain in PATH, you need to add it there:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export PATH=$PATH:/path/to/arm-2007q3/bin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You also need to have CROSS_COMPILE set:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
export CROSS_COMPILE=arm-none-linux-gnueabi-&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now set up the default .config file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make omap3_pandora_defconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want to customize kernel features, run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
When finished, just run&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and it should build you uImage and place it in arch/arm/boot/ . You can now use it to boot from SD (recommended) or replace the one in your flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Ishani</name></author>
		
	</entry>
</feed>