<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://arm.mini-box.com/index.php?action=history&amp;feed=atom&amp;title=Kernel_Building</id>
	<title>Kernel Building - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://arm.mini-box.com/index.php?action=history&amp;feed=atom&amp;title=Kernel_Building"/>
	<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Kernel_Building&amp;action=history"/>
	<updated>2026-08-20T16:48:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://arm.mini-box.com/index.php?title=Kernel_Building&amp;diff=51&amp;oldid=prev</id>
		<title>Admin: Protected &quot;Kernel Building&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Kernel_Building&amp;diff=51&amp;oldid=prev"/>
		<updated>2020-10-19T18:51:27Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Kernel_Building&quot; title=&quot;Kernel Building&quot;&gt;Kernel Building&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 19 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://arm.mini-box.com/index.php?title=Kernel_Building&amp;diff=50&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;==How to compile a new kernel for [http://www.mini-box.com/pico-SAM9G45-X pico-SAM9G45]==  * Obtain and install a toolchain for ARM. A simple toolchain can be installed follow...&quot;</title>
		<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Kernel_Building&amp;diff=50&amp;oldid=prev"/>
		<updated>2020-10-19T18:51:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==How to compile a new kernel for [http://www.mini-box.com/pico-SAM9G45-X pico-SAM9G45]==  * Obtain and install a toolchain for ARM. A simple toolchain can be installed follow...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==How to compile a new kernel for [http://www.mini-box.com/pico-SAM9G45-X pico-SAM9G45]==&lt;br /&gt;
&lt;br /&gt;
* Obtain and install a toolchain for ARM. A simple toolchain can be installed following instruction on this [http://arm.mini-box.com/index.php?title=Installing_Toolchain page].&amp;lt;br&amp;gt;Other toolchains like [https://sourcery.mentor.com/sgpp/lite/arm/portal/release858 Codesourcery] can be used.&lt;br /&gt;
* Obtain the kernel sources for pico-SAM9G45 by using:&lt;br /&gt;
    git clone git://gitorious.org/picopc-kernel/kernel.git&lt;br /&gt;
and checkout the  branch that you with to use with:&lt;br /&gt;
    git checkout  remotes/origin/''&amp;lt;branchname&amp;gt;'' -b localbranchname&lt;br /&gt;
&lt;br /&gt;
*Replace ''&amp;lt;branchname&amp;gt;'' with (a list of branches can be obtained by running git branch -a ):&lt;br /&gt;
** minibox-picopc-3.1  - kernel version 3.1 no Android patches&lt;br /&gt;
** minibox-picopc-2.6.32 - kernel version 2.6.32 no Android patches&lt;br /&gt;
** minibox-picopc-android-3.1 - kernel version 3.1 with Android patches&lt;br /&gt;
** minibox-picopc-2.6.32-gingerbread - kernel version 2.6.32 with Android patches&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
* You will need a basic configuration for pico-SAM9G45 kernel. For this copy the ''picosam9g45_defconfig'' from arch/arm/configs to ''.config'' in the root of kernel source (same location with the compile.sh script). For 2.6.x kernels copy ''picopc_defconfig''.&lt;br /&gt;
&lt;br /&gt;
* (Optional) Edit the ''compile.sh'' script from the source tree and modify ''CROSS_COMPILE= ''variable to point to the location where you have your custom toolchain installed. If you are using our toolchain, there is no need to change ''compile.sh'' since it points to correct location.&lt;br /&gt;
&lt;br /&gt;
* Now you can run ''./compile.sh menuconfig '' from the source directory to get the configure menu or ''./compile.sh uImage'' to get a kernel image usable for pico-SAM9G45. The image will be generated in ''arch/arm/boot/uImage'' and it will be booted by the bootstrap (BOOT.BIN)'''&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
    If you are using the 2.6.x kernel branch make sure you checkout the picopc-bootstrap-2.6 branch from [http://arm.mini-box.com/index.php?title=Bootstrap picopc-bootstrap]&lt;br /&gt;
&lt;br /&gt;
== Commands to produce a kernel image for Android: ==&lt;br /&gt;
&lt;br /&gt;
  mkdir ~/picosam9&lt;br /&gt;
  cd ~/picosam9&lt;br /&gt;
  git clone git://gitorious.org/picopc-kernel/toolchain.git&lt;br /&gt;
  git clone git://gitorious.org/picopc-kernel/kernel.git&lt;br /&gt;
  cd kernel&lt;br /&gt;
  cp arch/arm/configs/picosam9g45-android_defconfig .config&lt;br /&gt;
  ./compile.sh oldconfig &amp;amp;&amp;amp; ./compile.sh uImage&lt;br /&gt;
  ls -l arch/arm/boot/uImage&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
'''NOTE''' If you aren't using our toolchain, make sure you have mkimage from u-boot sources installed in your path. Although pico-SAM9G45 bootstrap doesn't use u-boot it expects a kernel in the uImage format. mkimage tool can be compiled from u-boot sources from the tools directory [http://www.denx.de/wiki/U-Boot/SourceCode]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>