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


Adaptation Guide

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Patches)
(When compiling kernel < 3.2)
Line 46: Line 46:
 
==== When compiling kernel < 3.2 ====
 
==== When compiling kernel < 3.2 ====
  
You need http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=620c231c7a7f48745094727bb612f6321cfc8844 patch to make depmod detected properly with the new kmod packaging.
+
If you get complain about module-init-tools, you might want to get http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=620c231c7a7f48745094727bb612f6321cfc8844 patch.
  
  
 
[[Category:kernel]]
 
[[Category:kernel]]

Revision as of 07:53, 10 October 2012

This page contains information what is expected from a Mer Hardware Adaptation.

After checking the requirements, see step-by-step guide how to move on.

Contents

Kernel

Required kernel options are now available in https://github.com/lbt/mer-kernel-check/. This git tree has also been packaged to rpm package that is available in mer core. The package is called mer-kernel-checks, which is also used in the kernel packaging template available at https://github.com/lbt/mer-kernel-adaptation

Patches

When compiling kernel for ARM with Mer 0.20110105.1 or newer

NOTE: Kernels newer than 3.4 seem to have fix for this error already thus, this patchs isn't needed.

You will need to apply this patch to your kernel with this new Mer and toolchain release, if your kernels break on boot (they likely will). It will enable -mno-unaligned-access in your kernel compilation flags.

--- linux-3.1/Makefile  2011-10-24 18:10:05.000000000 +1100
+++ b/Makefile  2011-12-24 16:06:38.848284875 +1100
@@ -640,6 +640,8 @@
        KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO
 endif

+KBUILD_CFLAGS  += -mno-unaligned-access
+
 # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
 # But warn user when we do so
 warn-assign = \

When compiling arm kernels < 2.6.36

This patch needs adding to stop systemd journal taking 100% cpu and also other features

https://build.pub.meego.com/package/view_file?file=wire-up-sys_accept4-on-ARM.patch&package=kernel-adaptation-n950&project=home%3Amarquiz%3An950&rev=a5b2d07e6611a4c92035b24b89f1037d

This small patch needs applying for proper CGROUPS support

https://build.pub.meego.com/package/view_file?file=cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch&package=kernel-adaptation-n950&project=CE%3AAdaptation%3AN950-N9&rev=c78074f995df306bf1e9070bd6c3a822

When compiling kernel < 3.2

If you get complain about module-init-tools, you might want to get http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=620c231c7a7f48745094727bb612f6321cfc8844 patch.

Personal tools