maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] kernel-plus for Harmattan (https://talk.maemo.org/showthread.php?t=86543)

Hurrian 2012-09-02 00:15

[Announce] kernel-plus for Harmattan
 
kernel-plus for Harmattan
Contains PR1.3 MeeGo-Harmattan kernel source and incremental patches from kernel.org

Download 2.6.32.61-plus r6

FEATURES
Updated to 2.6.32.61 LTS
Includes bugfixes and optimizations over Nokia's 2.6.32.54 kernel
Includes Opptimizer
Overclocking!
Supports GPT GUID partitions
128 partitions on a 16GB N9? Why not!
Includes ExFAT
Supported: Read/Write
Enables NTFS
Supported: Read/Write
Enables NFS server
NFS Protocol Versions: 3 & 4
Enables btrfs
Transparent compression and snapshots and -ENOSPC! Yay!
Includes 802.11 injection
Surprise your neighbors who still use WEP!
Patched Aegis security (a.k.a. Open Mode)
Wouldn't be too useful without it, right?
Enables NAT routing
INSTALLATION
Code:

# tar xvzf linux_2.6.32.61-plus-20131128.tar.gz -C /
# depmod -a 2.6.32.61-plus

Use this kernel with ubiboot
Gone are the days of flashing kernels!


Be sure to depmod the new kernel, and add the kernel filename to ubiboot.conf

Instructions for installation without Ubiboot can be found here.
NON-UBIBOOT USERS: PLEASE READ THE FOLLOWING
There are apparently very valid reasons to not use it.
However, please do not spam the thread with help requests - you have chosen an unsupported installation method, a provisionary but complete one has been made.
CHANGELOG

2.6.32.56-plus r6
Enabled btrfs support
Warning: Experimental disk format. Beware of dragons!
Enabled Netfilter REDIRECT target support
Misc:
btrfs bugfixes and subvolume boot support
driver core: Constify struct sysfs_ops in struct kobj_type (patch)

2.6.32.56-plus r5
Introduce /sys/fs/cgroup
Enables systemd to run on Harmattan. Service scripts will need to be ported.
Enabled /proc/atags export
Misc: various minor tweaks
2.6.32.61-plus r4
This is a major release.
Introduced and enabled Tiny RCU
Similar performance to HRCU, with lower memory footprint
Unified EXT2/3/4 fs driver
Introduced and enabled Interactive CPU governor
Jumps straight to the maximum enabled OPP, on the basis of 'race-to-idle'
ARM: generic early_parameter() support
Moves the ARM-specific __early_parameter() to early_parameter(). No functional change.
Additional packet injection fixes (nieldk)
Misc: various minor bugfixes.
2.6.32.61-plus r3
Enabled CONFIG_WL12XX_SDIO_TEST=m (nieldk)
Fixed building Opptimizer kernel modules after a 'make mrproper'
2.6.32.61-plus r2
Enabled support for NFS server, versions 3 and 4
Enabled NTFS filesystem driver
Introduced ExFAT-nofuse filesystem driver (sourenaraya)
SPECIAL NOTE: While the ExFAT kernel driver is open source, it is still patent-encumbered. Please ensure you have a license to utilize it in countries that observe software patents.
Introduced Opptimizer kernel modules, integrated with the kernel build tree
2.6.32.61-plus r1
Updated to kernel.org 2.6.32.61 incremental patch (.60, .61)
Fixed task selection priority bug (juiceme)
Enabled NAT routing (jackburton)
2.6.32.59-plus
Initial release
Updated to kernel.org 2.6.32.59 incremental patch (.55, .56, .57, .58, .59)
Aegis neutered Open Mode patch
L2EN on kexec patch (juiceme)
2.6.32-ck2 patchset
ramzswap kernel notifications
Enabled GPT GUID support
SOURCE
r6: kernel-plus-61.patch.gz
note: the format for patches has changed - apply onto mainline 2.6.32.61 from kernel.org.

previously: kernel-plus-harmattan@github
the git repo will be updated when I have time - I can't seem to match some commits!

BUILDING
Code:

$ patch -p1 < kernel-plus-61.patch
$ make rm581_defconfig
$ make


ibrakalifa 2012-09-02 00:18

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
injection driver? :)

m4r0v3r 2012-09-02 00:20

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
am so tempted but my N9 is my main phone and i really need it to survive.

Hurrian 2012-09-02 00:23

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
No, it does not include injection components.

I'll look Gnedt's upstreamed patches for anything I can find.
Once a few people report this as working, I'll start working on support for injection and AP mode (IIRC the Joikuspot app only uses Ad-hoc mode on the N9)

ibrakalifa 2012-09-02 00:25

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
i miss yamas on my n9, ;)

Arie 2012-09-02 00:33

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
Thank you so much for this, I look forward to testing this out and filling out bug reports.

Sazpaimon 2012-09-02 02:08

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
Could you also perhaps include e-yes's Android patches as well to make this kernel compatible with NitDroid or is that beyond the scope of this project?

Also +1 on AP mode

Hurrian 2012-09-02 02:21

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
New build changelog:

Enabled GUID partitions in the kernel config, if you feel like having a lot of partitions
Enabled PPP, PPTP and L2TP-related options in the kernel config.
Included an install script. No clue how to do Debian packaging, so this'll have to do.

http://mediafire.com/?3z1r1da1v3mmkw9

Quote:

Originally Posted by Sazpaimon (Post 1259486)
Could you also perhaps include e-yes's Android patches as well to make this kernel compatible with NitDroid or is that beyond the scope of this project?

While interesting, I think this'll be left as a side/alternative project, as I intend to only support Harmattan. If someone can diff the patches for the NITDroid kernel though, I can probably leave it as an optional component.

farfary 2012-09-02 02:47

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
so you check this
http://talk.maemo.org/showthread.php?t=83017&page=2
http://forum.meego.com/showthread.ph...light=openmode

farfary 2012-09-02 02:58

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
i have a problem when i want to flash it
RM696-21-3_PR_001:~# cd /home/kernel-plus_2.6.32.59/
RM696-21-3_PR_001:/home/kernel-plus_2.6.32.59# sh install.sh
Installing kernel-plus 2.6.32.59 for Harmattan.
This software is provided with NO WARRANTY.
Additionally, installing this software may void your warranty.
fiasco-flasher 0.18.2

Read HWID revision '1601'
ERROR: bb5_rdc_cert_read failed
BB5 bb5_rdc_cert_read return value. LIB: 0x00000019 (Inappropriate ioctl for device)
BB5 bb5_rdc_cert_read return value. ROM: 0xFFFFFFFF (UNKNOWN)
BB5 bb5_rdc_cert_read return value. PA: 0xFFFFFFFF (UNKNOWN)
BB5 sec_get_locks return value. LIB: 0xFFFFFFFF (Unknown error 4294967295)
BB5 sec_get_locks return value. ROM: 0x0000000A (SEC_ROM_RET_FAIL)
BB5 sec_get_locks return value. PA: 0xFFFFFFFF (UNKNOWN)
ERROR: Could not read devicelock
Simlock certificate check: 473 SUCCESS ret val: 0
Image lock is open
Image does not contain SW certificate for this HW
Using SW crypto module
ERROR: MEMERASE (blocks 0..31): Input/output error
ERROR: MEMERASE (block 0): Input/output error
ERROR: MEMSETBADBLOCK: Input/output error
ERROR: Could not mark bad block 0
ERROR: Failed to erase 63 blocks
ERROR:
Failed to begin
ERROR: Flashing kernel failed
ERROR: Flashing failed (-1)
Flashing kernel: 4096 / 5041920Finished installing kernel-plus 2.6.32.59
Please reboot your system to use the new kernel.
RM696-21-3_PR_001:/home/kernel-plus_2.6.32.59#

Hurrian 2012-09-02 03:32

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
Weird. Grab the zImage inside the "boot" folder in the tar.xz and try to flash it using
Code:

flasher -f -k zImage
In the meantime, can anyone else try running the flashing script?

EDIT: Just got tipped by MFaroTusino to try disabling your lock code, if any.


See the first post for real installation instructions.

fignew 2012-09-02 03:41

Can you include/enable swap free notify? This would help lower swap+ram usage and be a huge performance boost.

nieldk 2012-09-02 05:23

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
@Hurrian

Re kernel patch, it does different stuff.
Mostly it replaces return calls with 'return 0;' to return an OK answer to calling functions.
In a few places lines are added, or deleted, to further immobilize Aegis.
I think, if you read the patch file '+ and -' the changes will be easy to recognize (compare the two file versions at + and - and you will see what is being changed at those lines in the files)

Hurrian 2012-09-02 05:55

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
@nieldk, the patch I got used the traditional format. Do you have a link to the patch you used?

nieldk 2012-09-02 06:13

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1259527)
@nieldk, the patch I got used the traditional format. Do you have a link to the patch you used?

Ubuntu 10.04 was the distribution.
The patching I did all manually (based on the original 1.1 patch, and added a few of my own), my patch is also for 1.2 mind you, I am not sure how it applies to 1.3.
Probably better to manually compare the 5 files and do it manually.

Wouldnt mind doing this for you, takes 10 minutes, but I will be out all next week for a job in nice Italy :)

Hurrian 2012-09-02 07:46

Re: [ANNOUNCE] [DEV] kernel-plus 2.6.32.59 for Harmattan
 
Well, crap. It seems that on-device flashes simply don't work. I've updated the first post with flashing information.

For those already with open mode kernels, flashing this one is exactly the same (although, you do need to copy in the new modules)

nbedford 2012-09-02 08:27

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
Looks interesting, I would actually enter open-mode and flash this if we can get AP mode working

farfary 2012-09-02 10:11

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
why there is not modules ?
i flashed it , but phone not booted
and i again flashed the openmode kernel pr 1.3 from the nitdroid forum and phone booted :(
Code:

RM696-21-3_PR_001:~# ls -l /lib/modules/current/
total 8
lrwxrwxrwx    1 root    root            27 Sep  2 14:32 build -> /home/hurrian/kernel-2.6.32
drwxrwxr-x    7 1000    1000          4096 Sep  2 14:31 kernel
-rw-rw-r--    1 1000    1000          3808 Sep  2 09:50 modules.order
lrwxrwxrwx    1 root    root            27 Sep  2 14:32 source -> /home/hurrian/kernel-2.6.32
RM696-21-3_PR_001:~#


Hurrian 2012-09-02 10:39

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
You're supposed to copy the modules from lib/modules inside the tar.bz2 into /lib/modules/2.6.32.59-plus, then recreate the symlink to /lib/modules/current.

farfary 2012-09-02 11:15

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
what ? i copy all .ko file from the tar.bz2 into /lib/modules/2.6.32.59-plus ?

this ?
Code:

RM696-21-3_PR_001:~# ls -a /lib/modules/2.6.32.59-plus/
.                        cmt.ko                  hsi_char.ko              mtd_subpagetest.ko      ppp_mppe.ko              sunrpc.ko
..                      cmt_speech.ko            ip6_tables.ko            mtd_torturetest.ko      pppol2tp.ko              twl4030-pwrbutton.ko
JoikuSpot_Bouncer.ko    cryptodev.ko            ip6table_filter.ko      mtdconcat.ko            pppox.ko                twl4030_keypad.ko
ad5807.ko                cryptoloop.ko            ipv6.ko                  mtdswap.ko              pvrsrvkm.ko              twl5031-aci.ko
ad58xx.ko                dm-crypt.ko              leds-lp5521.ko          n_fbus.ko                radio-wl1273.ko          vibra_spi.ko
ads7846.ko              dm-mod.ko                leds-lp5523.ko          nfnetlink.ko            ramzswap.ko              wl12xx.ko
ak8974.ko                g_ether.ko              lis3lv02d.ko            omap-aes.ko              rng-core.ko              wl12xx_sdio.ko
ak8975.ko                g_file_storage.ko        lis3lv02d_i2c.ko        omap3-isp.ko            rpcsec_gss_krb5.ko      wl12xx_spi.ko
apds990x.ko              g_ncm.ko                mmc_test.ko              omap34xx_temp.ko        scsi_mod.ko              xfrm6_mode_beet.ko
as3645a.ko              g_nokia.ko              modules.order            omap_ssi.ko              scsi_wait_scan.ko        xfrm6_mode_transport.ko
auth_rpcgss.ko          g_softupd.ko            mtd_oobtest.ko          omaplfb.ko              sd_mod.ko                xfrm6_mode_tunnel.ko
bcm4751-gps.ko          g_zero.ko                mtd_pagetest.ko          pn544.ko                slhc.ko                  xt_NFLOG.ko
bhsfh.ko                hci_h4p.ko              mtd_readtest.ko          ppp_async.ko            smiapp-power.ko          xt_condition.ko
bnep.ko                  hid-twl4030-vibra.ko    mtd_speedtest.ko        ppp_deflate.ko          smiapp.ko                xt_rateest.ko
bridgedriver.ko          hidp.ko                  mtd_stresstest.ko        ppp_generic.ko          ssi_protocol.ko
RM696-21-3_PR_001:~#

but i try this , and phone not booted

Hurrian 2012-09-02 11:23

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
No, no, no and no.
The .ko files go into /lib/modules/2.6.32.59-plus/kernel
modules.order must also be copied into /lib/modules/2.6.32.59-plus/

mdbxh 2012-09-03 14:16

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
hi
i need PPP, PPTP and L2TP support,
if it just run in inception?
don't need flash kernel?

Hurrian 2012-09-04 09:06

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
No, you must flash the kernel to run its modules.

mdbxh 2012-09-05 05:02

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1260761)
No, you must flash the kernel to run its modules.

thanks
i have to try

YavkatA 2012-09-05 09:49

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
Thanks for your awesome work! Could you please include

Code:

CONFIG_HID_APPLE=m
In the next version? This is supposed to make fn keys on bluetooth keyboards work! :)

kiiwii 2012-09-05 11:22

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
awesome plus !!!

how about iptables nat module ?

Hurrian 2012-09-05 11:59

Re: [Announce] [r3] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by YavkatA (Post 1261446)
Thanks for your awesome work! Could you please include

Code:

CONFIG_HID_APPLE=m
In the next version? This is supposed to make fn keys on bluetooth keyboards work! :)

...And done. New build is in first post.

The 2012.09.05 builds also include certain patches from 2.6.32.59-ck2. These should have minimal effect on system performance.

mariusmssj 2012-09-05 13:48

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
I am really sorry to sound stupid, i am still quite new to this.

So this a kernel update for the Harmattan devices (N9)?

The 2.6.32.59 was released in 2012-03-17, while the latest stable kernel is 3.5.3 2012-08-26 is it possible to use the 3.5.3?

Sorry for this question i just hope someone could explain this to me. Thank you :)

Hurrian 2012-09-05 23:52

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
It's the latest 2.6.32 patch. Porting Nokia's patches for things not in mainline would take a long, long time.

Arie 2012-09-06 00:20

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1261848)
It's the latest 2.6.32 patch. Porting Nokia's patches for things not in mainline would take a long, long time.

We can be patient :)

mariusmssj 2012-09-06 07:01

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
how much different is the mainstream arm Linux kernel from the kernel used by nokia?

Hurrian 2012-09-06 08:45

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Around 16MB of text uncompressed, which is pretty damn massive.

mariusmssj 2012-09-06 10:42

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1262023)
Around 16MB of text uncompressed, which is pretty damn massive.

oh wow!!! Then it has to be cross compiled or natively complied on the device?

Sorry for asking soma many questions, I do have knowledge of C and C++ programming maybe I could help in some way.

Arie 2012-09-07 03:02

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
How can we get freemangordon and pali involved in this? I know they are the experts of this whole thing.....

Please someone get them to help Hurrian.

sifo 2012-09-07 03:11

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
according to freemangordon's reply ( sorry i cant find it ) in the community awards thread ( were you all got in a a fight :p ) He is not going to do anything for Harmattan..( hope not )

./sifo

Arie 2012-09-07 03:38

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by sifo (Post 1262443)
according to freemangordon's reply ( sorry i cant find it ) in the community awards thread ( were you all got in a a fight :p ) He is not going to do anything for Harmattan..( hope not )

./sifo

I wasn't fighting with him, I want him helping and pali too... I know they are the kernel gods....

sifo 2012-09-07 04:16

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
im not aiming at you Arie, i was talking publicly :)

@Hurrian
excuse me for the off-topic :o

./sifo

mikhail_ramalho 2012-09-07 05:41

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Thank you for that!

One question: Will I be able to dual-boot with this kernel?

Edit 1:

Looks like I got stuck on a reboot loop :/

Maybe nitdroid kernel caused the problem?


Edit 2:

Flashed back nitdroid kernel and the N9 came back to life :)

Flashing the kernel you provided is causing reboot loop, I don't know why....

Hurrian 2012-09-07 10:50

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
You need to also install the modules that come with it. Also, I haven't enabled the Android drivers or pull in the Android patches from e-yes, so that's that.

Also, I'm still missing the Aegis disabler patches, so that may be a cause of bootloops.

farfary 2012-09-07 10:54

Re: [Announce] [12.09.05] kernel-plus 2.6.32.59 for Harmattan
 
Quote:

Originally Posted by mikhail_ramalho (Post 1262459)
Thank you for that!

One question: Will I be able to dual-boot with this kernel?

Edit 1:

Looks like I got stuck on a reboot loop :/

Maybe nitdroid kernel caused the problem?


Edit 2:

Flashed back nitdroid kernel and the N9 came back to life :)

Flashing the kernel you provided is causing reboot loop, I don't know why....

yes i have this problem :( , i use the preinit that eyes created ( nitdroid Sillyboot ), maybe problem from this ??!


All times are GMT. The time now is 18:24.

vBulletin® Version 3.8.8