Editing User:Jebba/Kernel

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 12: Line 12:
==Installing my custom kernel==
==Installing my custom kernel==
-
 
+
  Linux Nokia-N900-42-11 2.6.28-omap1-jebba5 #1 PREEMPT Mon Dec 14 00:54:55 MST 2009 armv7l unknown
-
 
+
-
  Linux Nokia-N900-42-11 2.6.28-omap1-jebba9-g649dffc #1 PREEMPT Mon Jan 11 16:25:16 MST 2010 armv7l unknown
+
I have built custom kernel packages closely based on the standard kernel that ships with the N900. Differences:
I have built custom kernel packages closely based on the standard kernel that ships with the N900. Differences:
-
 
-
* NOTE: this kernel now has NAT and a bunch of filesystems and other misc. See [http://www.freemoe.org/users/jebba/dists/unstable/main/source/kernel_2.6.28-20094102.6+0m14/kernel_2.6.28-20094102.6+0m14_armel.changes the latest changes]
 
* FRAMEBUFFER_CONSOLE=y - This fantastic option means you can see console when the kernel boots up, so you see all the text you usually see when booting up a Linux kernel.
* FRAMEBUFFER_CONSOLE=y - This fantastic option means you can see console when the kernel boots up, so you see all the text you usually see when booting up a Linux kernel.
Line 28: Line 24:
* CONFIG_LOGO=y, CONFIG_LOGO_LINUX_CLUT224=y - Tux, the Linux penguin, at boot! :)
* CONFIG_LOGO=y, CONFIG_LOGO_LINUX_CLUT224=y - Tux, the Linux penguin, at boot! :)
-
* The kernel name is 2.6.28-omap1-jebba9 so as to not confuse it with the stock kernel.
+
* The kernel name is 2.6.28-omap1-jebba5 so as to not confuse it with the stock kernel.
You can install this kernel via my repo with apt-get (untested), or manually, which is recommended for now. Procedure (assuming you are running the kernel that ships with the device):
You can install this kernel via my repo with apt-get (untested), or manually, which is recommended for now. Procedure (assuming you are running the kernel that ships with the device):
Line 37: Line 33:
* Grab my kernels with wget or whatever (check the dir for more recent versions too).
* Grab my kernels with wget or whatever (check the dir for more recent versions too).
  wget \
  wget \
-
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel_2.6.28-20094102.6+0m14_armel.deb \
+
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel_2.6.28-20094102.3+0m10_armel.deb \
-
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel-modules_2.6.28-20094102.6+0m14_armel.deb \
+
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel-modules_2.6.28-20094102.3+0m10_armel.deb \
-
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel-flasher_2.6.28-20094102.6+0m14_armel.deb
+
  http://www.freemoe.org/users/jebba/dists/unstable/main/binary-armel/kernel-flasher_2.6.28-20094102.3+0m10_armel.deb
* Install the .debs with dpkg. Note the flasher has to be installed last. If you install them with dpkg all at once, dpkg will prioritize the flasher first, so it won't move the kernel into place. Point of no return:
* Install the .debs with dpkg. Note the flasher has to be installed last. If you install them with dpkg all at once, dpkg will prioritize the flasher first, so it won't move the kernel into place. Point of no return:
  dpkg -i \
  dpkg -i \
-
  kernel_2.6.28-20094102.6+0m14_armel.deb \
+
  kernel_2.6.28-20094102.3+0m10_armel.deb \
-
  kernel-modules_2.6.28-20094102.6+0m14_armel.deb
+
  kernel-modules_2.6.28-20094102.3+0m10_armel.deb
* Now install the flasher, which will automatically flash when installed:
* Now install the flasher, which will automatically flash when installed:
-
  dpkg -i kernel-flasher_2.6.28-20094102.6+0m14_armel.deb  
+
  dpkg -i kernel-flasher_2.6.28-20094102.3+0m10_armel.deb  
* Ok, so the kernel is there, but lets move the original stock modules back into place so you can flash the zImage via flasher-3.5 and USB cable should it be necessary. First we need to remove the mostly empty old dir, then copy the backup:
* Ok, so the kernel is there, but lets move the original stock modules back into place so you can flash the zImage via flasher-3.5 and USB cable should it be necessary. First we need to remove the mostly empty old dir, then copy the backup:
Line 66: Line 62:
* The kernel debs that are installed are: kernel, kernel-flasher ("Linux kernel updater"), kernel-modules.
* The kernel debs that are installed are: kernel, kernel-flasher ("Linux kernel updater"), kernel-modules.
 +
 +
===See Also===
 +
* [[Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide|Maemo Kernel Guide]]
 +
 +
* [[Compiling the kernel]] - "This is an article from the old midgard wiki that hasn't yet been fully updated for this wiki, please update it."
Line 81: Line 82:
  sb-conf rs MaemoKernel \
  sb-conf rs MaemoKernel \
  /home/jebba/maemo-sdk-rootstrap_5.0_armel.tgz
  /home/jebba/maemo-sdk-rootstrap_5.0_armel.tgz
-
 
-
sb-conf in MaemoKernel -edFL
 
   
   
  # disable other stuff in apt sources.list
  # disable other stuff in apt sources.list
Line 104: Line 103:
-
* To unbrick if something goes wrong, unpack the main N900 .bin flash image and flash with the kernel from there. See [[User:Jebba#Unpacking_flash_image|unpacking flash image]] section.
+
To unbrick if something goes wrong, unpack the main N900 .bin flash image and flash with the kernel from there. See [[User:Jebba#Unpacking_flash_image|unpacking flash image]] section.
-
 
+
-
* The MaemoKernel sandbox has apt [https://bugs.maemo.org/show_bug.cgi?id=7598 broken out-of-the-box]
+
-
 
+
-
* stskeeps, the Mer developer, says he builds his kernels fine in FREMANTLE_ARMEL, so perhaps you don't even need to switch to MaemoKernel sandbox. In other words, just build in here:
+
-
sb-conf select FREMANTLE_ARMEL
+
-
 
+
-
==My build scripts and .configs==
+
-
I set up a little git repo of the lame scripts I use to build kernel .debs and the configs. You can clone it thusly:
+
-
 
+
-
git clone http://www.freemoe.org/users/jebba/scratchbox/kernel/.git/
+
-
 
+
==Random kernel notes==
==Random kernel notes==
Line 128: Line 116:
* [http://news.gmane.org/gmane.linux.ports.arm.omap linux-omap mailing list archives]
* [http://news.gmane.org/gmane.linux.ports.arm.omap linux-omap mailing list archives]
-
 
-
===See Also===
 
-
* [[Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide|Maemo Kernel Guide]]
 
-
 
-
* [[Compiling the kernel]] - "This is an article from the old midgard wiki that hasn't yet been fully updated for this wiki, please update it."
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)