(categorize) |
|||
| (11 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | Native installation is based on kexec. | + | = Meego kexec install on N900 = |
| + | Native installation is based on kexec. The default Maemo kernel, however, doesn't have support for, it so it needs to be replaced first. | ||
| - | + | There is currently a bug related to the DSS2 driver which causes a flood of messages to the screen on a kexec'ed 2.6.33 kernel. Otherwise, things work. | |
| - | + | ||
| - | * | + | == Building and installing your own kernel == |
| + | |||
| + | * [[Media:0001-ARM-5884-1-arm-Fix-DCC-console-for-v7.patch|ARM: 5884/1: arm: Fix DCC console for v7]] | ||
| + | * [[Media:0002-ARM-5885-1-arm-Flush-TLB-entries-in-setup_mm_for_reb.patch|ARM: 5885/1: arm: Flush TLB entries in setup_mm_for_reboot()]] | ||
| + | * [[Media:0003-ARM-5886-1-arm-Fix-cpu_proc_fin-for-proc-v7.S-and-ma.patch|ARM: 5886/1: arm: Fix cpu_proc_fin() for proc-v7.S and make kexec work]] | ||
| + | * [[Media:0004-ARM-5888-1-arm-Update-comments-in-cacheflush.h-and-r.patch|ARM: 5888/1: arm: Update comments in cacheflush.h and remove unnecessary V6 and V7 comments]] | ||
Instructions for compiling Maemo kernel can be found from: | Instructions for compiling Maemo kernel can be found from: | ||
[http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide Maemo kernel guide] | [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide Maemo kernel guide] | ||
| - | Create a symbolic link on N900 so that existing kernel modules will be used with the new kernel. | + | Create a symbolic link on N900, so that existing kernel modules will be used with the new kernel. |
cd /lib/modules | cd /lib/modules | ||
ln -s 2.6.28-omap1 2.6.28-omap1-kexec-patched | ln -s 2.6.28-omap1 2.6.28-omap1-kexec-patched | ||
| Line 16: | Line 21: | ||
flasher -f -k zImage-kexec-patched | flasher -f -k zImage-kexec-patched | ||
| - | Install kexec user space application. | + | == Installing MeeGo and tools == |
| + | |||
| + | Install kexec-tools user space application from the [http://repository.maemo.org/extras-testing/pool/fremantle/free/k/kexec-tools/kexec-tools_2.0.1.git-maemo3_armel.deb Maemo-extras] repository. | ||
Install Meego image on external micro mmc card. | Install Meego image on external micro mmc card. | ||
| - | sudo | + | sudo mic-image-writer <image-file> |
| + | |||
| + | == Running MeeGo == | ||
Connect external micro mmc card. | Connect external micro mmc card. | ||
| Line 27: | Line 36: | ||
sync | sync | ||
kexec -e | kexec -e | ||
| + | |||
| + | [[Category:N900]] | ||
Contents |
Native installation is based on kexec. The default Maemo kernel, however, doesn't have support for, it so it needs to be replaced first.
There is currently a bug related to the DSS2 driver which causes a flood of messages to the screen on a kexec'ed 2.6.33 kernel. Otherwise, things work.
Instructions for compiling Maemo kernel can be found from: Maemo kernel guide
Create a symbolic link on N900, so that existing kernel modules will be used with the new kernel.
cd /lib/modules ln -s 2.6.28-omap1 2.6.28-omap1-kexec-patched
Flash the patched kernel:
flasher -f -k zImage-kexec-patched
Install kexec-tools user space application from the Maemo-extras repository.
Install Meego image on external micro mmc card.
sudo mic-image-writer <image-file>
Connect external micro mmc card.
Run kexec
kexec -l /boot/zImage-2.6.33 --command-line="init=/sbin/init rootwait root=/dev/mmcblk0p1 rw console=ttyS2,115200n8" sync kexec -e