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 v49 in Extras-Testing (https://talk.maemo.org/showthread.php?t=71879)

mmarks 2011-08-23 08:27

Re: [Announce] kernel-power v48
 
I installed v48 and the power kernel settings. Can't find the settings application anywhere.
When I use the uname -a
the response I get is

Linux Nokia-N900-2.6.28-omap1 #1 PREEMPT Sun Aug 8 09:50:47 BST 2010 armv71 unknown

Is this the correct response or did something go wrong?

petur 2011-08-23 08:29

Re: [Announce] kernel-power v48
 
that is stock (Nokia) kernel, not kp48

Did you reboot?

mmarks 2011-08-23 08:47

Re: [Announce] kernel-power v48
 
I did reboot.

petur 2011-08-23 08:50

Re: [Announce] kernel-power v48
 
Then you missed something on the way... Check the instructions and try it again.

mmarks 2011-08-23 08:51

Re: [Announce] kernel-power v48
 
I have multiboot installed, just noticed (booting with keyboard open) that another item (power kernel) appeared - my fault!

Selected it and now get

Linux Nokia-N900-2.6.28.10-power48 #1 PREEMPT Mon Aug 22 15:09:51 EEST 2011 armv71 unknown

That looks better but I still don't see the kernel settings (to o/c etc) - should that be on my hildon desktop?

petur 2011-08-23 08:58

Re: [Announce] kernel-power v48
 
I'm pretty sure those are commanline-only tools

don_falcone 2011-08-23 09:01

Re: [Announce] kernel-power v48
 
You don't "see" them, at least if you don't have visions. The 'kernel-power-settings' consist of kernel voltage and frequency profiles (explained in simple form), and tools to load & set them. You'll have to use xterm for this.

http://wiki.maemo.org/Overclocking
http://wiki.maemo.org/Kernel_Power#B...2Foverclocking

Hurrian 2011-08-23 09:30

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by freemangordon (Post 1074584)
Here you are, compiled against kp48 with CONFIG_SWAP_FREE_NOTIFY defined. Not tested though ;)

Thanks freemangordon. Maemo 5 started flying after making a 64MB disk. Time to try 128MB and no swap!

freemangordon 2011-08-23 09:41

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by Hurrian (Post 1075155)
Thanks freemangordon. Maemo 5 started flying after making a 64MB disk. Time to try 128MB and no swap!

Do not do it, maemo reports OOM with only 384 MB memory. Also see here http://talk.maemo.org/showpost.php?p...postcount=1229

EDIT: also are you sure you have correct swap priorities? Because adding swap with busybox's swapon leaves newly added swap on the tail, i.e. it will be use when flash swap is full.

vi_ 2011-08-23 10:34

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by Hurrian (Post 1075155)
Thanks freemangordon. Maemo 5 started flying after making a 64MB disk. Time to try 128MB and no swap!

I am watching this with great interest.

csaba93 2011-08-23 10:44

Re: [Announce] kernel-power v48
 
hey guys, I just updated the kernel 47 and after update phone doesnt boot. error message is this: cant flash kernel, required files not found Guru meditation
#00000025.62017712

please help if possible or else i have to reflash

prankster 2011-08-23 11:24

Re: [Announce] kernel-power v48
 
i had nitdroid installed,just uninstalled ,though i have manually installed multiboot but still i cant be sure if i have kp48.
uname -a gives me this ..Linux Nokia-N900-2.6.28-omap1 #1 PREEMPT Sun Aug 8 09:50:47 BST 2010 armv71 unknown

i tried with keyboard ,didnt get any power kernel option ,any one could tell me what possibly i can do to know if i have kp-48 installed perfectly ?

eefo 2011-08-23 11:30

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by prankster (Post 1075204)
i had nitdroid installed,just uninstalled ,though i have manually installed multiboot but still i cant be sure if i have kp48.
uname -a gives me this ..Linux Nokia-N900-2.6.28-omap1 #1 PREEMPT Sun Aug 8 09:50:47 BST 2010 armv71 unknown

i tried with keyboard ,didnt get any power kernel option ,any one could tell me what possibly i can do to know if i have kp-48 installed perfectly ?

see the post 1241-1245 on the previous page , i think this will help as it has the same issue as yours

prankster 2011-08-23 11:46

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by eefo (Post 1075209)
see the post 1241-1245 on the previous page , i think this will help as it has the same issue as yours

already done with that reference,couldnt get any help .
any other command or solution? even conky is showing up with the omap1 value of kernel .

eefo 2011-08-23 11:54

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by prankster (Post 1075218)
already done with that reference,couldnt get any help .
any other command or solution? even conky is showing up with the omap1 value of kernel .

omap1 is the stock value for sure .
means you are running the stock kernel at the moment .
have you tried reinstalling ?

prankster 2011-08-23 11:56

Re: [Announce] kernel-power v48
 
nope,you mean i should uninstall kp48 which is showing in the Fapman and then again i should try to re-install that ? is that it what you tryna say ?

eefo 2011-08-23 12:03

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by prankster (Post 1075222)
nope,you mean i should uninstall kp48 which is showing in the Fapman and then again i should try to re-install that ? is that it what you tryna say ?

i'm not sure it will help , but seeing at what you have provided gave me the solution i have mentioned .
and as you have posted that you have multiboot installed , not sure may be multiboot creating a problem ?

p.s i am not a dev or any coder , so please feel free to ignore my post(s) :P

stef 2011-08-23 12:04

Re: [Announce] kernel-power v48
 
@Pali,
good job guy , i,m impressed with your talent.
cheers

Hurrian 2011-08-23 12:10

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by freemangordon (Post 1075162)
Do not do it, maemo reports OOM with only 384 MB memory. Also see here http://talk.maemo.org/showpost.php?p...postcount=1229

EDIT: also are you sure you have correct swap priorities? Because adding swap with busybox's swapon leaves newly added swap on the tail, i.e. it will be use when flash swap is full.

fresh boot, insmod, swapon ramzswap0, swapoff&swapon mmcblk1p3.

Oh, and which part of Maemo starts complaining and throwing Application Errors when memory reachers 384MB?

prankster 2011-08-23 12:10

Re: [Announce] kernel-power v48
 
okey ,now that i tried to re-install kp 48 after uninstalling it ..now getting cant reflash kernel ,required files not found .guru meditation #00000025.62017712..
help plzzzzzzzzzzzzz ? :(

Hurrian 2011-08-23 12:14

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by prankster (Post 1075235)
okey ,now that i tried to re-install kp 48 after uninstalling it ..now getting cant reflash kernel ,required files not found .guru meditation #00000025.62017712..
help plzzzzzzzzzzzzz ? :(

What is this I don't even. You can install the newer debs straight on top of the older versions. Immediately reboot though.

eefo 2011-08-23 12:16

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by prankster (Post 1075235)
okey ,now that i tried to re-install kp 48 after uninstalling it ..now getting cant reflash kernel ,required files not found .guru meditation #00000025.62017712..
help plzzzzzzzzzzzzz ? :(

same as csaba93 .
and he is now trying this http://wiki.maemo.org/Updating_the_t...rt_topic.21.29

prankster 2011-08-23 12:32

Re: [Announce] kernel-power v48
 
i cant even turn on the phone . It says
required files not found,guru meditation #00000025.62017712



press any key to panic

what do i do ? help please !

don_falcone 2011-08-23 12:35

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by Hurrian (Post 1075234)
fresh boot, insmod, swapon ramzswap0, swapoff&swapon mmcblk1p3.

Oh, and which part of Maemo starts complaining and throwing Application Errors when memory reachers 384MB?

...'insmod ramzswap disksize_kb=32768' results in spontaneous reboot. Even without any custom kernel profile loaded.

trisha02 2011-08-23 17:18

Re: [Announce] kernel-power v48
 
i cnt connect via usb, everytym i try to connect it says cannot connect via usb device storage in use. reboot or shutdown dint fix the problem. i am facing this after installing k48

Jagat4webber 2011-08-23 18:25

Re: [Announce] kernel-power v48
 
thankx pali, u r the great.

n70shan 2011-08-23 21:40

Re: [Announce] kernel-power v48
 
hey i found easiest way for overclocking n900. no xterm needed here is the app
http://maemo.org/packages/package_in...ufreq/0.4.3-1/
first install this v48 kernel. n900 is superb now

erendorn 2011-08-23 22:00

Re: [Announce] kernel-power v48
 
I'm rewriting this post to make it more readable and informative.
My situation was: I had v46 + uboot installed, and wanted to update kernel power. But I wanted to keep uboot. (for meego)

Disclaimer: nothing in this post should kill kittens, but it may brick your phone. It worked for me, but may not work for you.
Also you should not write commands that you do not understand

Commands in this post come from here and there

What I did:
- deinstall uboot
- without rebooting, update kernel power (or force reinstall if you already have the latest version)
- reboot, to be sure (may not be necessary)
- flash the uboot version of the kernel, obtained by one of these two methods:

1) get it on my server

or

2) make it yourself using these commands:
this assumes
- a ubuntu box.
- uboot-mkimage is installed
- flasher-3.5 is in the active folder (and chmod +x)

Code:

#!/bin/bash

# change name for other versions
pkFile="kernel-power_2.6.28-10power48_armel.deb"
imName="Power Kernel v48"

#1. Download power kernel deb file from repository and extract fiasco image from it
wget http://repository.maemo.org/extras-devel/pool/fremantle/free/k/kernel-power/"$pkFile" -O kernel-power.deb
dpkg --fsys-tarfile kernel-power.deb | tar --wildcards -xf - ./boot/*
mv ./boot/zImage* ./zImage-power.fiasco
rm -r boot
rm kernel-power.deb

#2. Download Matan's u-boot from repository (it is named u-boot-for-power-kernel) and extract file image from it
wget http://repository.maemo.org/extras-devel/pool/fremantle/free/u/u-boot-for-power-kernel/u-boot-for-power-kernel_1.0_all.deb -O u-boot-for-power-kernel_1.0_all.deb
dpkg --fsys-tarfile u-boot-for-power-kernel_1.0_all.deb | tar -xf - ./usr/lib/u-boot/u-boot.bin.0x38000/u-boot.bin.0x38000
mv ./usr/lib/u-boot/u-boot.bin.0x38000/u-boot.bin.0x38000 ./vmlinuz-power
rm -r usr
rm u-boot-for-power-kernel_1.0_all.deb

#3. Unpack Fiasco image
./flasher-3.5 -u -F zImage-power.fiasco
rm zImage-power.fiasco

#4. Transform zImage in uImage (necessary because u-boot boots Kernel only in uImage file format)
mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n "$imName" -d zImage uImage

#5. Add power kernel uImage at end of previous file (starting write at offset 0x38000 aka 448 blocks)
dd if=uImage of=vmlinuz-power seek=448

#6. Remove zImage & uImage
rm zImage
rm uImage
chmod a=rw vmlinuz-power


Either way, you end up with a vmlinuz-power file. You can flash it (this flashes the kernel only, it does not removes your programmes or data) like this:
Code:

sudo ./flasher-3.5 -f -k vmlinuz-power -R
(to flash, turn off the phone, unplug it, launch the command, press and hold "u", plug the N900.. see "updating the firmware for details")

Feel free to give feedback or improve the script :)

leojab 2011-08-23 22:40

Re: [Announce] kernel-power v48
 
great kernel.. all smooth..
sadly mobile hotspot still does not work...

don_falcone 2011-08-24 07:01

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by n70shan (Post 1075505)
hey i found easiest way for overclocking n900. no xterm needed here is the app
http://maemo.org/packages/package_in...ufreq/0.4.3-1/
first install this v48 kernel. n900 is superb now

A) You're quite late to the party b) seems qcpufreq has it's own issues, namely enabling VDD1/VDD2 c) guys like xterm but not 'apps'

WhiteWolf 2011-08-24 07:37

Re: [Announce] kernel-power v48
 
I watch less battery life.

alex-12gods 2011-08-24 08:01

Re: [Announce] kernel-power v48
 
same here....less battery life...

Straycat 2011-08-24 08:05

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by erendorn (Post 1075516)
...Edit 3: utter success. As such, the uboot-v48 kernel aforementioned is here if you trust me (and CAcert ..). Use at your own risk and after backup of course.

Many thanks, erendorn.

So I take the vmlinuz-power file and what I have to do with it?

I want uboot to try meego.

Thanks in advance.

petur 2011-08-24 08:31

Re: [Announce] kernel-power v48
 
The graph of my battery-usage looks the same like what kp47 did, needs more days to get the big picture but I don't see any negative effects on battery life when going kp47 -> kp48

erendorn 2011-08-24 08:51

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by Straycat (Post 1075638)
Many thanks, erendorn.

So I take the vmlinuz-power file and what I have to do with it?

I want uboot to try meego.

Thanks in advance.

Edit - usual warning: backup, and be prepared to be forced to reflash (but it should work in most cases)

I'll rewrite the post in a more informative way latter, but all I needed to do with it after having installed power kernel v48 was:
Code:

sudo ./flasher-3.5 -f -k vmlinuz-power -R
(turn off the phone, run the command in linux, press and hold "u" on the device, plug the usb cable - adjust accordingly with your flashing environment - check "updating the firmawre" in the wiki)
it can also be done from inside the N900, see the second post I was reffering to.

praveenchand 2011-08-24 11:08

Re: [Announce] kernel-power v48
 
Joikuspot still not working with v48? Please somebody confirm. Really I would like to have it with v48.
Thanks.

lidow 2011-08-24 11:54

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by praveenchand (Post 1075701)
Joikuspot still not working with v48? Please somebody confirm. Really I would like to have it with v48.
Thanks.

It is on the first page
Quote:

Known problems:
* JoikuSpot not working
* Some bluetooth headsets not working
* BME and bq27x00_battery module cannot live together
As you are alredy using this kernel there are some alternatives to Joiko, that should work.

Asbahl 2011-08-24 12:40

Re: [Announce] kernel-power v48
 
Guys,

A noob question: What's wrong with my environment, I have multiboot installed, when I'm going to install "Linux kernel for power user (boot image for multiboot) I get a conflict error with "Linux kernel for power user (1:2.6.28-10power47) and vice-versa when I'm going to install the Linux kernel for power user 2.6.28-10power48 it conflicts with the Linux kernel for power user(boot image)(1:2.6.28-10power47).

Should I uninstall the Linux kernel for power user (1:2.6.28-10power47)? How can i do that?

towhatend 2011-08-24 13:02

Re: [Announce] kernel-power v48
 
Quote:

Originally Posted by lidow (Post 1075721)
It is on the first page


As you are alredy using this kernel there are some alternatives to Joiko, that should work.

modprobe JoikuSpot_Bouncher fix that problem for me.

guilledoc 2011-08-24 16:12

Re: [Announce] kernel-power v48
 
Hi
I aplied the update for the Kernel via FAPM and now every time I check conky to the freq it doesn't seem to fluctuate like it was before. I meen it's allways in the higher frequency, I don't want to frie my n900. Is this normall or there is something wrong? I also aplied Karam's patches. Thanks in advance for any help


All times are GMT. The time now is 04:10.

vBulletin® Version 3.8.8