Active Topics

 


Reply
Thread Tools
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:
Posts: 251 | Thanked: 70 times | Joined on Nov 2009
#2
BFS? (don't know if it works good on ARM, though)
 
spanner's Avatar
Posts: 253 | Thanked: 184 times | Joined on Nov 2009 @ Bristol, UK
#3
* framebuffer console for boot messages
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#4
I already have built mine for the PS3 controller connectivity.
The only change is joystick and mouse modules support.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following 2 Users Say Thank You to smoku For This Useful Post:
Posts: 74 | Thanked: 25 times | Joined on Jan 2010 @ Hong Kong, CHINA
#5
NAT would be nice.

aufs has been said near "kernel" a lot, but I don't know much more than that.
 
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#6
I am not sure if it's technically possible, but mounting squashfs for wikipedia dumps & realtime support for music producing would be very nice!
 
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#7
The USB IP support would be very interesting to experiment with.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#8
Some of your suggestions require additional patches.
If you can send me patches for 2.6.28 I'd happy to add them to my build.

@spanner: fb console is already enabled
 
Posts: 94 | Thanked: 10 times | Joined on Jan 2010
#9
+1 for usbip!

Cheers
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#10
I have my PR1.1 kernel now built with the new fiasco-gen.

Some info:
http://wiki.maemo.org/User:Jebba/Kernel

Install file for my repo:
http://www.freemoe.org/users/jebba/jebba.install

Directory containing the actual kernel:
http://www.freemoe.org/users/jebba/d.../binary-armel/

My live kernel scratchbox:
http://www.freemoe.org/users/jebba/scratchbox/kernel/

Changelog:
http://www.freemoe.org/users/jebba/s...6.28/changelog
 

The Following 12 Users Say Thank You to jebba For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:56.