Meego Wiki
Views

N900 kernel compilation

From MeeGo wiki
Revision as of 10:04, 19 May 2011 by Kjokinie (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1. Download Meego kernel for N900

# git clone http://git.gitorious.org/meego-device-adaptation/n900_kernel.git n900_kernel

or use http://meego.gitorious.org/meego-device-adaptation/n900_kernel/archive-tarball/master to download manually

2. Compiling Meego Kernel

Execute following commands in command prompt

# export ARCH=arm
# export CROSS_COMPILE=arm-none-linux-gnueabi-

Note: You should have arm tool chain in your host machine

Enabling CAIF Protocol support for ST Ericsson Modems (or do whatever changes you need for the kernel)

# make omap2plus_defconfig
# make menuconfig  ( Note: select caif protocol support in Networking and driver sections)

Do kernel modifications here!

# make zImage
# make modules
# make modules_install INSTALL_MOD_PATH=$path to install modules


Finally kernel images available @ $Meego_kernel_source/arch/arm/boot/zImage


3. Copy modules to N900 device ( Note: Already device should have meego os)

  1. scp -r $meego_compiled_modules_installed_path root@192.168.2.15:/

Note: connect device with host via usb cable before executing this command


4. Loading Compiled Meego kernel


Download flasher from http://tablets-dev.nokia.com/maemo-dev-env-downloads.php?f=maemo_flasher-3.5_2.5.2.2.tar.gz

Load Kernel using

# sudo ./flasher-3.5  -l -k  $Meego_kernel_source/arch/arm/boot/zImage	 -b

Note: Before executing this command,please power off the device.

Now connect USB cable with device. You will see Meego home screen after 2 or 3 minutes

Personal tools