View Single Post
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#1
Hi
since PR1.1 it has been impossible to build a self-flashing custom kernel
as the tool fiasco-gen was missing (https://bugs.maemo.org/show_bug.cgi?id=7972).
Marcell Lengyel was kind enough to prerelease the binary which is supposed to be part of SDK1.1.1: https://bugs.maemo.org/attachment.cgi?id=2214

Now we can start building our own kernels again (also see http://wiki.maemo.org/User:Jebba/Kernel).

I think it could be a good idea to build a common community kernel
which contains all the modules we need and which the Nokia kernel misses.
Maybe we can convince Nokia to enable those modules in one of the next PRs.

Below you find a list of what I have enabled in my kernel.
What else would you like to see in the kernel?

UPDATED:
For the latest information check the page http://wiki.maemo.org/Kernel_Power

You can download my latest build which contains lots of extra modules and features
and which works fine on my N900 from extras-testing.

INSTALLATION:
0. make the extras-testing catalogue is enabled
1. install the package "kernel-power-flasher" from App manager (section System) or using apt-get
2. reboot and enjoy.

CHANGELOG:
* patched to 2.6.28.10, Nokia PR1.2 (!) and other bugfixes
* enabled additional modules for iptables (NAT,connection tracking, packet filtering), Wifi mesh,
IPv6 (incl. Mobile IPv6 , privacy, and ip6tables), QoS, hotspot fixes, IP tunneling,
device mapper+dmloop, crytoloop, builtin ext3 for booting from other media,
ext4, XFS, reiserfs, NTFS reading, ISO9660, UDF, CIFS, automounter, EFI partitions,
UTF8 codepages, mouse+joystick input, kernel config, cryptd, SHA256+512,blowfish,
USB 1.1+2.0+generic drivers,USB hubs,USB video+serial, USB/IP, kexec
and more...
(Note: The boot logo is disabled as framebuffer console seems to be broken)
The stock Nokia kernel already contains: FUSE, Bluetooth HID, NFSv4

If you want to revert to the original kernel, execute
Code:
apt-get install --reinstall kernel kernel-flasher
If the device is bricked for some reason you can simply reflash the kernel alone (assuming you have the current firmware)
Code:
flasher-3.5 -u -F RX-51_2009SE_3.2010.02-8_PR_COMBINED_MR0_ARM.bin
sudo flasher-3.5 -f -k zImage -R
For USB/IP install the usbip package from the extras-devel repository.
execute
modprobe vhci-hcd
before using usbip.
For iptables install the iptables package, for kexec the kexec-tools.

If you want to try USB/IP with the stock PR1.1 kernel (untested), download
http://n900.tannerlab.com/kernel/vhci-hcd.ko
http://n900.tannerlab.com/kernel/usbip.ko
http://n900.tannerlab.com/kernel/usbip_common_mod.ko
to the kernel modules directory and run "depmod -a"

Last edited by titan; 2010-06-22 at 05:39. Reason: kernel package; 10th update, more details, unbrick, PR1.2
 

The Following 75 Users Say Thank You to titan For This Useful Post: