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


Adaptation/Touchpad

From Mer Wiki
< Adaptation(Difference between revisions)
Jump to: navigation, search
(New page: = HP Touchpad Device Adaptation for Mer =)
 
(HP Touchpad Device Adaptation for Mer)
Line 1: Line 1:
 
= HP Touchpad Device Adaptation for Mer =
 
= HP Touchpad Device Adaptation for Mer =
 +
 +
== Booting ==
 +
 +
In order to boot Mer on the HP touchpad we create a new LVM under webos named /dev/store/meego and unpack one of armv7hl images in it.
 +
 +
=== Kernel ===
 +
 +
The WebOS kernel is a 2.6.35 with some patches. It's all available from palm [http://opensource.palm.com/3.0.4/index.html here].
 +
 +
The default kernel configuration will boot Meego but won't get you very far as it's lacking some essential elements for systemd :
 +
 +
* cgroupfs support
 +
* accept4 support
 +
* 'active' sysfs attribute for tty0 and console device
 +
 +
A kernel with all the patches applied is available [https://gitorious.org/mertp/kernel here]
 +
 +
To compile the kernel for the touchpad you should have an arm cross compiler environnement set up and use the following comamnds :
 +
  make tenderloing_meego_defconfig
 +
  make CONFIG_NO_ERROR_ON_MISMATCH=y uImage
 +
 +
=== Initramfs ===
 +
 +
In order to boot from an LVM volume we need an initramfs. I created a very basic one that just mounts the partition and then switches to it.
 +
 +
You can find the initramfs source [https://gitorious.org/mertp/initramfs here]

Revision as of 20:38, 15 November 2011

Contents

HP Touchpad Device Adaptation for Mer

Booting

In order to boot Mer on the HP touchpad we create a new LVM under webos named /dev/store/meego and unpack one of armv7hl images in it.

Kernel

The WebOS kernel is a 2.6.35 with some patches. It's all available from palm here.

The default kernel configuration will boot Meego but won't get you very far as it's lacking some essential elements for systemd :

  • cgroupfs support
  • accept4 support
  • 'active' sysfs attribute for tty0 and console device

A kernel with all the patches applied is available here

To compile the kernel for the touchpad you should have an arm cross compiler environnement set up and use the following comamnds :

 make tenderloing_meego_defconfig
 make CONFIG_NO_ERROR_ON_MISMATCH=y uImage

Initramfs

In order to boot from an LVM volume we need an initramfs. I created a very basic one that just mounts the partition and then switches to it.

You can find the initramfs source here

Personal tools