maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] kernel-power stable v52 in Extras (https://talk.maemo.org/showthread.php?t=89823)

pali 2013-04-18 11:58

[Announce] kernel-power stable v52 in Extras
 
Finally kernel-power version v52 is now in Extras!

Update (from old version):
Use Hildon Application Manager or via apt-get. If you have Multiboot installed look bellow.

Installation:
From Hildon Application Manager install package: Linux kernel for power user
Or via apt-get package: kernel-power-flasher

Multiboot support (dropped):
Multiboot support for kernel-power was dropped because Multiboot damaging internal nand memory. If you are going to upgrade from kernel-power v51 to v52, first uninstall Multiboot and (optionally) switch to U-Boot. Then upgrade to kernel-power v52. Otherwise you can have problems and full reflash will be needed (due to Multiboot which damaging Maemo system).

Overclock support (optional):
From Hildon Application Manager install package: Linux kernel for power user (settings and overclock)
Or via apt-get package: kernel-power-settings

U-Boot support (optional):
From Hildon Application Manager install packages: U-Boot with kernel 2.6.28-omap1 and Linux kernel for power user (boot image for U-Boot)
Or via apt-get packages: u-boot-flasher and kernel-power-bootimg
Make sure you accept flashing U-Boot!

Packet injection wifi driver:
Kernel modules are already included and installed in /opt/packet-injection-modules/2.6.28.10-power52/
To load/unload it use shell script: http://atrey.karlin.mff.cuni.cz/~pal...t-injection.sh

BME replacement support:
This kernel has support for BME replacement (open source battery management). Will be announced...

New USB host mode:
This kernel has support for new usb host mode package USB Mode version 1.0-4. More info in this thread.

Uninstallation:
Overclock support or Bootimg package can be uninstalled via Hildon Application Manager or via apt-get. Uninstalling kernel itself is possible only via menu entry "Nokia Kernel". NEVER UNINSTALL KERNEL POWER PACKAGES!!! IT CAN MAKE YOUR DEVICE UNBOOTABLE.

===

Changelog:

kernel-power (1:2.6.28-10power52) fremantle; urgency=low

* Backport upstream patch: udf-use-hw-sector-size.diff (This fix UDF FS support on SD cards and USB disks)
* Update bq2415x_charger patch: (use kstrtol, use dev_dbg, call sysfs_notify, rename N900 charger to bq24150a, fix reporting bad values, disable charging when charger disconnected, report errors)
* Added patch kstrtol.diff which define macro kstrtol as strict_strtol
* Update into about kernel-power-bootimg package
* Package kernel-power-bootimg does not provide any features
* Enable more netfilter and ipv6 modules
* Added driver rx51_battery which export battery temperature, design capacity and voltage to sysfs, provides: kernel-feature-rx51-battery
* Added patch tif_restore_sigmask-syscalls-arm.patch which fix pselect bug, added provides: kernel-feature-sigmask
* Enable bridge module, provides kernel-feature-bridge
* bq27x00_battery: Do not report nominal available capaciy if battery is not calibrated
* Add sysfs entry hostdevice2 which show host device speed detected by musb_virthub.c
* Optify bootimg package
* Enable vlan (8021q) module
* Fix reporting temperature in rx51_battery driver (driver should export temperature in 1/10 °C)
* Add support for offline mode in bq2415x_charger driver

-- Pali Rohár <hidden> Thu, 14 Feb 2013 17:34:58 +0100

===

For questions about development, bugs, etc... write to thread
[Development] kernel-power on http://talk.maemo.org/showthread.php?t=78371
Here is also information how to compile kernel, send patches, ...

marmistrz 2013-04-18 12:25

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
So, kernel power should conflict with multiboot

crail 2013-04-18 13:26

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
what are the exact steps to completly uninstall multiboot? im using it for android.

nisheet 2013-04-18 13:48

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
how to uninstall multiboot and add uboot without my current nitdroid and maemo duel boot???????

please explain.....any1

reinob 2013-04-18 14:06

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by marmistrz (Post 1336983)
So, kernel power should conflict with multiboot

I think that's more of a "soft" conflict. Nothing prevents you from using multiboot with kernel-power. Kernel-power is just a kernel, and obviosuly multiboot's task is to flash kernels, so they are inherently compatible.

(Multiboot only requires an initial kernel [LABEL HERE] able to run /sbin/preinit and the capability to flash a kernel like [GOTO HERE]).

Another issue is that Pali, and other people, don't like the fact that multiboot flashes a kernel every time you boot (or everytime you select a new kernel), because the number of writes to the raw NAND partition containing the kernel is limited.

Plus U-boot is much better and more elegant. But that's besides the point. In short: I would be strongly against adding dependencies or conflicts unless there's a real technical need for it.

nokiabot 2013-04-18 14:43

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
usb host and charging cheers:)

praveenchand 2013-04-18 18:59

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
i uninstalled multiboot, installed kernel flasher, settings via apt-get (it said already latest version). then i installed uboot flasher and bootimg via apt-get. bootimg was also already latest and uboot successfully flashed. now i cannot boot my phone, its into reboot loop, the attached image zImage-2.6.28-omap1 not booting. what to do next?

reinob 2013-04-18 19:19

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
@praveenchand,

Something tells me that you forgot to install the kernel-modules. Normally the attached kernel should work OK (nobody/nothing deletes the stock modules, AFAIK).

It could be that the multiboot uninstallation removed /sbin/preinit, leaving your system unbootable. But I don't know (never used multiboot).

I guess it's time to reflash.. unless you want to use some "rescue" system off an SD card (thanks U-boot you can still boot from the microSD card :)

praveenchand 2013-04-18 19:27

@reinob how to boot from SD, where to get the kernel image, please...
After that i think i can download module again without reflash right?

pali 2013-04-18 20:41

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
it looks like that uninstallation of multiboot sometimes working and sometimes broke system. But I really cannot do anything with multiboot. This is reason why support by kernel-power was dropped.

@praveenchand:
You can download kernel-modules from deb package:
http://repository.maemo.org/pool/mae...+0m5_armel.deb
Unpack it with:
dpkg -x kernel-modules_2.6.28-20103103+0m5_armel.deb deb
and you will have all modules in dir deb/lib/modules/
Then you can boot RescueOS and via ftp load all those modules to n900 rootfs
If you do not have /sbin/preinit, download it from gitorious https://gitorious.org/community-ssu/...9f0ece/preinit and again use rescueos ftp to save it to n900 rootfs.

praveenchand 2013-04-19 08:20

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
where to unpack these kernel modules? my phone doesn't boot also i have only windows pc.

thedead1440 2013-04-19 09:11

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by praveenchand (Post 1337223)
where to unpack these kernel modules? my phone doesn't boot also i have only windows pc.

Get a Ubuntu LiveCD and try things out then ;)

praveenchand 2013-04-19 09:28

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by thedead1440 (Post 1337224)
Get a Ubuntu LiveCD and try things out then ;)

ya i already started downloading....... :-)

pinochio 2013-04-19 13:31

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by pali (Post 1336973)
[b][COLOR="Red"]
U-Boot support (optional):
From Hildon Application Manager install packages: U-Boot with kernel 2.6.28-omap1 and Linux kernel for power user (boot image for multiboot)
Or via apt-get packages: u-boot-flasher and kernel-power-bootimg
Make sure you accept flashing U-Boot!
...

U-Boot with kernel 2.6.28-omap1 and Linux kernel for power user (boot image for U-Boot):)

praveenchand 2013-04-19 17:17

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
i should have used HAM instead of apt-get....that was the mistake :-(

samipower 2013-04-20 01:01

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
cleven and faircrack only works with kernel v51 r1 , I think, or not?

nisheet 2013-04-20 04:41

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by samipower (Post 1337460)
cleven and faircrack only works with kernel v51 r1 , I think, or not?

just go to /opt/cleven and edit load.sh file replace wherever kernel power 51 is written to power 52 and save it....now cleven will show uncompatibility message but ignore that coz loading and using wlan drivers will now work...

disappear 2013-04-20 04:45

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by samipower
cleven and faircrack only works with kernel v51 r1 , I think, or not?
No problem with kp52 and cleven,just follow advice from Saturn:
created emty file with leafpad,the name of that file is "skipVersionCheck"
transfer to /home/user/.cleven
in x-terminal:
touch /home/user/.cleven/skipVersionCheck
This is all for cleven(4.1)about faircrack,i think the last kernel which support it was maybe kp50

frafI 2013-04-20 09:39

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by praveenchand (Post 1337104)
i uninstalled multiboot, installed kernel flasher, settings via apt-get (it said already latest version). then i installed uboot flasher and bootimg via apt-get. bootimg was also already latest and uboot successfully flashed. now i cannot boot my phone, its into reboot loop, the attached image zImage-2.6.28-omap1 not booting. what to do next?

When I switched from multiboot to uboot the install script didn't install any uboot scripts, I had to
Code:

apt-get install --reinstall kernel-power-bootimg
afterwards.

crail 2013-04-20 10:16

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by frafI (Post 1337523)
When I switched from multiboot to uboot the install script didn't install any uboot scripts, I had to
Code:

apt-get install --reinstall kernel-power-bootimg
afterwards.

how did you swittch from multiboot to uboot exactly?

i have nitdroid installed (auto installer) and im worried multiboot will damage my phone. really dont want to brick my phone. im pretty clueless.

pali 2013-04-20 10:28

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
@crail: see this post http://talk.maemo.org/showpost.php?p...&postcount=397

btw, can somebody create new TMO post (or wiki page) with list of all possible nitdroid version/installations and how to migrate each version from multiboot to u-boot?

nitdroid is offtopic in this thread.

nisheet 2013-04-20 14:46

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by crail (Post 1337526)
how did you swittch from multiboot to uboot exactly?

i have nitdroid installed (auto installer) and im worried multiboot will damage my phone. really dont want to brick my phone. im pretty clueless.

i had multiboot installed with nitdroid and i am now using using with nitdroid......


What i did was......first i uninstalled multiboot.......than installed u-boot.....and then i updated to latest kernel power52......then created uImage for Nitdroid....then changed the menu items for u-boot....and finally i did a reboot....with all things working 100% sucessfully...

disappear 2013-04-20 17:32

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Nisheet.I think is match better to created own thread about uboot and droid,and there be more detailed,because a lot people here,not understand amazing word of linux(including me)
end of off toplic

samipower 2013-04-21 14:20

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by disappear (Post 1337476)
No problem with kp52 and cleven,just follow advice from Saturn:
created emty file with leafpad,the name of that file is "skipVersionCheck"
transfer to /home/user/.cleven
in x-terminal:
touch /home/user/.cleven/skipVersionCheck
This is all for cleven(4.1)about faircrack,i think the last kernel which support it was maybe kp50


faircrack works well in kernel v51, ok cleven works in k52 and faircrack works v52.

pali 2013-04-21 14:31

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
read first post! there is correct script for loading and unloading packet injection drivers

peterleinchen 2013-04-21 19:40

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
2 Attachment(s)
pali or techstaff

Something weird going on here ?

I just wanted to grab kp52 (bootimg) packages from repo, but I get this (missing dependencies) on this page
http://maemo.org/packages/package_in....28-10power52/ (see first pic)
Attachment 31711
and this (kp52 not listed) on this page
http://maemo.org/packages/view/kernel-power-bootimg/ (see second pic).
Attachment 31712

But apt-get tells me everything is good?
Quote:

~# apt-get install -s kernel-power-bootimg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
kernel-power kernel-power-flasher kernel-power-modules
Recommended packages:
u-boot-flasher usbip
The following packages will be REMOVED:
linux-backports-modules-power
The following packages will be upgraded:
kernel-power kernel-power-bootimg kernel-power-flasher
kernel-power-modules
4 upgraded, 1 to remove and 42 not upgraded.
Remv linux-backports-modules-power [1:2.6.28.10-power50]
Inst kernel-power [1:2.6.28-10power50] (1:2.6.28-10power52 Extras-devel:2.0/fremantle) [kernel-power-flasher on kernel-power] [kernel-power-flasher ]
Inst kernel-power-modules [1:2.6.28-10power50] (1:2.6.28-10power52 Extras-devel:2.0/fremantle) [kernel-power-flasher on kernel-power] [kernel-power-flasher on kernel-power-modules] [kernel-power-bootimg kernel-power-flasher ]
For sure I may fetch them from your repo, but would like to know what is gooing on here?

crail 2013-04-23 11:08

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by pali (Post 1337527)
@crail: see this post http://talk.maemo.org/showpost.php?p...&postcount=397

btw, can somebody create new TMO post (or wiki page) with list of all possible nitdroid version/installations and how to migrate each version from multiboot to u-boot?


nitdroid is offtopic in this thread.


thanks but that goes straight over my head.

i uninstalled nitdroid and now i want rid of multiboot altogether. i checked HAM and it wont let me uninstall nitroid kernel or multiboot. im worried im going to brick my phone.

cant it be removed my terminal? i need a numpty guide here guys.

never mind, sorted it.

pali 2013-04-23 13:48

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
@peterleinchen: maemo package interface is broken and it does not see kernel-power packages correctly...

computerinfo21 2013-04-24 03:27

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
If you want to download the kp52 packages you don't have to use the maemo package interface, they can be found here:
http://repository.maemo.org/extras-d.../kernel-power/

sLumPia 2013-04-25 11:24

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
kernel-power = kernel-cssu, right?
Why can't I found any update for kernel-cssu?

pali 2013-04-25 11:28

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by sLumPia (Post 1338779)
kernel-power = kernel-cssu, right?

Really, no!

misiak 2013-04-25 11:46

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by pali (Post 1338780)
Really, no!

Writing more on the matter (to avoid further questions), kernel available in CSSU-thumb is based on kernel power, but is packaged and distributed separately. So new update of kernel power doesn't mean that kernel from CSSU-thumb will be updated. AFAIK, you shuld ask freemangordon to update that package with fresh and new sources of newer kernel-power.

By the way, pali, I admire your patience when dealing with questions that are stupid on elementary level (no offence to askers, but you should read at list the necessary entry-level stuff before asking making any assumptions), chill out, relax, take it eeeaaasyyyy (I can't get rid of Laid Back's "Bakerman" playing constantly in my head).

pali 2013-04-25 11:51

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
New version of kernel-cssu is being prepared and some day will be part of of CSSU-T (maybe stable too). You can look at wiki: https://wiki.maemo.org/CSSU_kernel_assess
So kernel-power != kernel-cssu

sLumPia 2013-04-25 13:53

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Sorry for asking stupid question, I know something wrong when I type that question
:(
So, kernel cssu = kernel-power for thumb user right?

freemangordon 2013-04-25 14:01

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by sLumPia (Post 1338804)
Sorry for asking stupid question, I know something wrong when I type that question
:(
So, kernel cssu = kernel-power for thumb user right?

no. I'll try to explain, but please, ask your further kernel-cssu related questions(if any) in the relevant thread (CSSU-thumb).

kernel-cssu (v3) is based on kernel-power v51r1, but with different packaging. For example it replaces the stock kernel while kernel-power does not. Also there is no uninstaller.

badazimer 2013-04-25 15:31

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Hi guys. I have a problem with battery applet:
sometimes it displayed 100% & wrong data(see screenshots). Sometimes - normal percent & "no data or battery not calibrated". Qt battery widget & battery icon display normal information.
Use kernel-power52 + CSSU Thumb1
ScreenShots:
http://linuxcenter.kz/sites/default/...reenshot01.png
http://linuxcenter.kz/sites/default/...reenshot05.png
http://linuxcenter.kz/sites/default/...reenshot06.png

Alecsandru 2013-04-25 15:42

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
Quote:

Originally Posted by badazimer (Post 1338844)
Hi guys. I have a problem with battery applet:
sometimes it displayed 100% & wrong data(see screenshots). Sometimes - normal percent & "no data or battery not calibrated". Qt battery widget & battery icon display normal information.
Use kernel-power52 + CSSU Thumb1
ScreenShots:
http://linuxcenter.kz/sites/default/...reenshot01.png
http://linuxcenter.kz/sites/default/...reenshot05.png
http://linuxcenter.kz/sites/default/...reenshot06.png

use pali's
bme replacement :) (it's fast :D)
the downside - usb pop-up disappear(hope it's getting fixed soon)

pali 2013-04-25 15:49

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
I know there is bug in cssu-devel version of status-area-applet-battery, I will try to fix it later.

Alecsandru 2013-04-25 18:50

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
pali why you don't push your bme replacement to kernel -power ? isn't easy to fix the usb pop-up problem? I like your replacement more than nokia's bme , yours updates fast , thank you for the great work

pali 2013-04-25 18:53

Re: [Announce] kernel-power stable v52 in Extras-Devel
 
What to push and where? I do not understand question.


All times are GMT. The time now is 03:48.

vBulletin® Version 3.8.8