Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Compiling custom kernels for P1.1 (with fiasco-gen)

    Reply
    Page 1 of 34 | 1   2     3   11 | Next | Last
    titan | # 1 | 2010-02-04, 21:38 | Report

    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
    Originally Posted by
    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"

    Edit | Forward | Quote | Quick Reply | Thanks

    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:
    afaq, ahmadamaj, AlMehdi, AloxeCorton, Apoc, arifsaha, b-man, Bernard, bigears5000, BrettQ, Bundyo, bzhnjm, casper27, chaoyi, cheve, Chrome, clasificado, cproc, craftyguy, cwiener, daperl, davall, dwaradzyn, epitaph, evilJazz, ezcola, Faz, frostbyte, gabby131, ghzroy, gryedouge, Helmuth, Heman1310, iKneaDough, jebba, kevloral, kwotski, LippiVan, logicalsid, lorul2, MaDless, mannakiosk, Marshall Banana, mdengler, mece, meep, mikec, mikhmv, mivoligo, musculus, mveplus, nashith, Netweaver, nightfire, OVK, pelago, phedders, PhonoN900, pillar, qole, sachin007, Skaven2k2, smoku, soeiro, spanner, stayloa, tekojo, tiivonen, tuminoid, twoboxen, vkv.raju, Wanker, zerojay, zimon

     
    arkanoid | # 2 | 2010-02-04, 21:48 | Report

    BFS? (don't know if it works good on ARM, though)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    spanner | # 3 | 2010-02-04, 21:59 | Report

    * framebuffer console for boot messages

    Edit | Forward | Quote | Quick Reply | Thanks

     
    smoku | # 4 | 2010-02-04, 22:08 | Report

    I already have built mine for the PS3 controller connectivity.
    The only change is joystick and mouse modules support.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to smoku For This Useful Post:
    choubbi, OVK

     
    mdengler | # 5 | 2010-02-04, 22:12 | Report

    NAT would be nice.

    aufs has been said near "kernel" a lot, but I don't know much more than that.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mankir | # 6 | 2010-02-04, 22:13 | Report

    I am not sure if it's technically possible, but mounting squashfs for wikipedia dumps & realtime support for music producing would be very nice!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bernard | # 7 | 2010-02-04, 22:22 | Report

    The USB IP support would be very interesting to experiment with.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    titan | # 8 | 2010-02-04, 23:28 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    meep | # 9 | 2010-02-05, 00:11 | Report

    +1 for usbip!

    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jebba | # 10 | 2010-02-05, 00:24 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 12 Users Say Thank You to jebba For This Useful Post:
    b-man, Chrome, Corwin, cproc, craftyguy, dwaradzyn, mannakiosk, Olle, OVK, qole, titan, Wanker

     
    Page 1 of 34 | 1   2     3   11 | Next | Last
vBulletin® Version 3.8.8
Normal Logout