The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


N9 Kernel update project

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "== Summary == The N9 kernel currently used with various Mer images is based on old 2.6.32 maemo kernel. This page collects needed info to help in updating that kernel to latest …")
 
Line 1: Line 1:
 
== Summary ==
 
== Summary ==
  
The N9 kernel currently used with various Mer images is based on old 2.6.32 maemo kernel. This page collects needed info to help in updating that kernel to latest linux-stable version.
+
The N9 kernel currently used with various Mer images is based on old 2.6.32 maemo kernel. This page collects needed info for any developers who might want to help in updating that kernel to latest linux-stable version.
  
 
== Developement ==
 
== Developement ==

Revision as of 11:33, 6 September 2012

Contents

Summary

The N9 kernel currently used with various Mer images is based on old 2.6.32 maemo kernel. This page collects needed info for any developers who might want to help in updating that kernel to latest linux-stable version.

Developement

Development git: https://gitorious.org/mer-n9-kernel

git clone git@gitorious.org:mer-n9-kernel/mer-n9-kernel.git
git checkout -b mer-latest origin/mer-latest
  • mer-latest branch is the latest development branch
  • The git tree is public, if you want to contribute patches, contact kjokinie in #mer IRC
  • If you make patches it is recommended to send those also to relevant upstream kernel list (most likely linux-omap, as N9 uses omap SoC), this way we don't grow the upstream delta too big.
  • Build instructions from git:
    • Use Mer SDK and SB2 to build.
    • Building (inside Mer-SDK chroot):
sb2 make n9_mer_defconfig
sb2 make -j4 zImage
sb2 make -j4 modules
sb2 make modules_install INSTALL_MOD_PATH=./mods
    • Deploying to device (kind of "flashing")
      • We use helper scripts that prepare the modules etc
./prepare_kernel.sh
    • Then use copy script (NOTE: do this outside Mer-SDK chroot)
      • Plug N9 to USB and let it boot so the filesystem gets mounted
      • Then "flash" the kernel (it's just a simple cp actually...)
./copy_kernel.sh /<path>/<to>/<mounted>/<N9 filesystem>

Packaging

Packaging development project:

TODO: fix OBS pack to use git-pkg and add info how to do it here...

TO DO list for kernel update

Personal tools