<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pandorawiki.org/index.php?action=history&amp;feed=atom&amp;title=Software_projects%2FOS%2FSlackware%2FAdvanced_usage%2FKernel-13.37</id>
	<title>Software projects/OS/Slackware/Advanced usage/Kernel-13.37 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pandorawiki.org/index.php?action=history&amp;feed=atom&amp;title=Software_projects%2FOS%2FSlackware%2FAdvanced_usage%2FKernel-13.37"/>
	<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Software_projects/OS/Slackware/Advanced_usage/Kernel-13.37&amp;action=history"/>
	<updated>2026-05-02T21:56:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0-alpha</generator>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Software_projects/OS/Slackware/Advanced_usage/Kernel-13.37&amp;diff=26349&amp;oldid=prev</id>
		<title>Linux-SWAT: Created page with &quot;= Kernel: to recompile or not to recompile ? = * You don't have to if you don't need to add a new feature. * You don't have to if there's no urgent security kernel update. * I...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Software_projects/OS/Slackware/Advanced_usage/Kernel-13.37&amp;diff=26349&amp;oldid=prev"/>
		<updated>2012-11-28T01:38:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Kernel: to recompile or not to recompile ? = * You don&amp;#039;t have to if you don&amp;#039;t need to add a new feature. * You don&amp;#039;t have to if there&amp;#039;s no urgent security kernel update. * I...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Kernel: to recompile or not to recompile ? =&lt;br /&gt;
* You don't have to if you don't need to add a new feature.&lt;br /&gt;
* You don't have to if there's no urgent security kernel update.&lt;br /&gt;
* If you want to acquire a lot of global Linux knowledge, or if you are just curious, then yes, just go for it.&lt;br /&gt;
&lt;br /&gt;
= Is it simple or complicated to recompile ? =&lt;br /&gt;
* Both.&lt;br /&gt;
* But as there's a default kernel configuration file for Open Pandora, it's pretty easy.&lt;br /&gt;
&lt;br /&gt;
= Downloading and pre-configuring the latest kernel sources =&lt;br /&gt;
* Plug the net, be root, then:&lt;br /&gt;
 mkdir -p /usr/src/&lt;br /&gt;
 cd /usr/src/&lt;br /&gt;
 git clone git://openpandora.org/pandora-kernel.git&lt;br /&gt;
 ln -s pandora-kernel linux&lt;br /&gt;
 cd pandora-kernel&lt;br /&gt;
 git checkout --track -b pandora-3.2 origin/pandora-3.2&lt;br /&gt;
 make omap3_pandora_defconfig&lt;br /&gt;
&lt;br /&gt;
= The fun part: tweaking =&lt;br /&gt;
* The configuration is stored in a hidden file named /usr/src/linux/.config&lt;br /&gt;
* You can use many tools to edit the configuration.&lt;br /&gt;
* The kamikaze way: edit manually the .config . Don't do that.&lt;br /&gt;
* The lazy way: install KDE and use:&lt;br /&gt;
make xconfig&lt;br /&gt;
* The common way, which i recommend:&lt;br /&gt;
make menuconfig&lt;br /&gt;
&lt;br /&gt;
= Menuconfig =&lt;br /&gt;
* Kernel options are stored in a tree.&lt;br /&gt;
* Options can be marked as [*] built-in, or &amp;lt;M&amp;gt; module.&lt;br /&gt;
* The vast majority of those options refers to a driver or a functionality.&lt;br /&gt;
* Built-in means inside the kernel, so once the kernel boots, you can't remove or change parameters.&lt;br /&gt;
* Module means you can either add or remove them after the boot. Ever typed &amp;quot;modprobe ehci-hcd&amp;quot; ?&lt;br /&gt;
* The exemple below is copied from my PC, will copy the real OP one later.&lt;br /&gt;
 Arrow keys navigate the menu.  &amp;lt;Enter&amp;gt; selects submenus ---&amp;gt;.  Highlighted letters are hotkeys.  Pressing &amp;lt;Y&amp;gt; includes, &amp;lt;N&amp;gt;&lt;br /&gt;
 excludes, &amp;lt;M&amp;gt; modularizes features.  Press &amp;lt;Esc&amp;gt;&amp;lt;Esc&amp;gt; to exit, &amp;lt;?&amp;gt; for Help, &amp;lt;/&amp;gt; for Search.  Legend: [*] built-in  [ ]&lt;br /&gt;
 excluded  &amp;lt;M&amp;gt; module  &amp;lt; &amp;gt; module capable &lt;br /&gt;
 [*] DMA memory allocation support&lt;br /&gt;
 General setup  ---&amp;gt;&lt;br /&gt;
 [*] Enable loadable module support  ---&amp;gt;&lt;br /&gt;
 [*] Enable the block layer  ---&amp;gt;&lt;br /&gt;
 Processor type and features  ---&amp;gt;&lt;br /&gt;
 Power management and ACPI options  ---&amp;gt;&lt;br /&gt;
 Bus options (PCI etc.)  ---&amp;gt;&lt;br /&gt;
 Executable file formats / Emulations  ---&amp;gt;&lt;br /&gt;
 [*] Networking support  ---&amp;gt;&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
 Firmware Drivers  ---&amp;gt;&lt;br /&gt;
 File systems  ---&amp;gt;&lt;br /&gt;
 hacking  ---&amp;gt;&lt;br /&gt;
 options  ---&amp;gt;&lt;br /&gt;
 Cryptographic API  ---&amp;gt;&lt;br /&gt;
 Virtualization  ---&amp;gt;&lt;br /&gt;
 Library routines  ---&amp;gt;&lt;br /&gt;
 &amp;lt;Select&amp;gt;    &amp;lt; Exit &amp;gt;    &amp;lt; Help &amp;gt;&lt;br /&gt;
&lt;br /&gt;
= A simple tweak =&lt;br /&gt;
* Highlight  Cryptographic API  ---&amp;gt;&lt;br /&gt;
* Push [enter]. You're now in the Cryptographic API section.&lt;br /&gt;
* With [space], select all cryptographic algorithms you can. Ensure they are marked as &amp;lt;M&amp;gt;, not &amp;lt;*&amp;gt;.&lt;br /&gt;
* With [right], select &amp;lt; Exit &amp;gt;, then push [enter].&lt;br /&gt;
* Again, with [right], select &amp;lt; Exit &amp;gt;, then push [enter].&lt;br /&gt;
* Now push [enter], saying &amp;lt;Yes&amp;gt; to &amp;quot;Do you wish to save your new configuration ?&amp;quot;.&lt;br /&gt;
* You're now ready to compile a kernel which will drive James Bond angrily jealous.&lt;br /&gt;
&lt;br /&gt;
= Kernel compilation =&lt;br /&gt;
* Be sure you've overclocked your OP to the maximum MHz.&lt;br /&gt;
* At 800MHz, it's a 3+ hours job.&lt;br /&gt;
* Now you can compile it with:&lt;br /&gt;
 cd /usr/src/linux/&lt;br /&gt;
 make clean&lt;br /&gt;
 make uImage&lt;br /&gt;
 make modules&lt;br /&gt;
 make modules_install&lt;br /&gt;
 rm /boot/uImage&lt;br /&gt;
 cp arch/arm/boot/uImage /boot/uImage&lt;br /&gt;
* Reboot.&lt;br /&gt;
&lt;br /&gt;
= Speed up the compilation time using two or more Pandoras =&lt;br /&gt;
* Read [http://pandorawiki.org/Software_projects/OS/Slackware/Advanced_usage/Distributed_compilation this], and set up your Pandoras.&lt;br /&gt;
* Then compile, replacing previous related commands with:&lt;br /&gt;
 make -j4 CC=distcc uImage&lt;br /&gt;
 make -j4 CC=distcc modules&lt;br /&gt;
In the -j(n), n represents the (number of CPU used X 2), so if you compile with 10 OP, it will be -j20 . &lt;br /&gt;
&lt;br /&gt;
= 3D driver =&lt;br /&gt;
* As it's not open source, you have to grab it on the Texas Instruments website.&lt;br /&gt;
* More on this later.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Slackware]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:System]]&lt;/div&gt;</summary>
		<author><name>Linux-SWAT</name></author>
		
	</entry>
</feed>