![]() |
Re: kernel-power patches/updates
Quote:
If you want to replace kernel-power, you should also consider creating a package that replaces package "multiboot-kernel-power" with contents: /boot/multiboot/vmlinuz-2.6.28.10pali1 - your zImage file, but it has to have the same name as folder in /lib/modules /etc/multiboot.d/01-Maemo-kernel-power46.item - multiboot menu entry, same as in my post here on page 8 of this thread /usr/share/doc/multiboot-kernel-power/copyright (see this file in multiboot-kernel-power_0.3-1_armel.deb for reference) /usr/share/doc/multiboot-kernel-power/changelog.Debian.gz (see this file in multiboot-kernel-power_0.3-1_armel.deb for reference) And basically that's all to have a package for your kernel working with multiboot. Than, if one wants to install your kernel and use it with multiboot - just install kernel package, modules package, flasher package and than yours multiboot-kernel-power package ;) |
Re: kernel-power patches/updates
Quote:
|
Re: kernel-power patches/updates
I thought the only thing needed from power kernel was that it be compiled with the cfg80211 (or whatever it's called) module, to be compatible with Lxp's stuff? The rest of the bleeding edge fanciness is just manually loading the right modules, no? Or is there something to do with compat or whatever that the injection driver requires?
I.E. See this post: http://talk.maemo.org/showpost.php?p...3&postcount=41 Other than that, keep up the great work. If I could, I'd help with integrating the bleeding edge wifi patches into your kernel version, but it's way outside my skills. The moment you do though, I'm jumping on to this kernel. Not willing to give up injection just yet, but framebuffer is always better than no framebuffer. For those who have gotten to a framebuffer console mid-boot, does the keyboard actually provide you with right buttons. |
Re: kernel-power patches/updates
I installed this, following Erazor's post, around page 7. Looks good.
Sometimes my LCD lights up red, lower left side of phone -- never saw that before. The savecpu program says actual temperature is 0, obviously wrong. All seems fine, in general. |
Re: kernel-power patches/updates
@ Pali, so basically it is Power-kernelv46 with a few bug fixes. very well done. any future plans (patches etc) on this project?
|
Re: kernel-power patches/updates
Quote:
You only have like 15 posts and already you have contributed more than most of the 500+ post spam/whinge/noobs. This makes you a good person in need of 'thanks!' buttoning. |
Re: kernel-power patches/updates
Quote:
Quote:
Quote:
Next is needed to automatize building patched wifi driver (running with dpkg-buildpackage) for creating deb package (or include it in power-kernel deb package). I contacted author of wl1251 patches. Now we are deciding how to distribute wifi module... Quote:
Quote:
|
Re: kernel-power patches/updates
Quote:
Quote:
Quote:
|
Re: kernel-power patches/updates
Quote:
|
Re: kernel-power patches/updates
misiak, I was trying the same method earlier, the same way u mentioned in the noob guide but to no avail. I cannot get 2.6.68.10pali1 to boot. I can boot only to Maemo PR1.3 and NIITDroid Vostok.
When selecting option to power kernel, the N900 does not seems to flash the kernel area with the power kernel and it just gets stuck in a black blank screen.. I really needs power kernel for hostmode and many other features.. The /lib/modules, /boot/multiboot and /etc/multiboot.d seems fine with same reference to kernel. I do not know where i am doing wrong :-( |
Re: kernel-power patches/updates
Quote:
I digged sources a bit ( http://maemo.org/packages/source/vie...boot/0.2.10-1/ , downloaded source package, MohammadAG is maintainer, but if you want to ask questions, ask Jay-C, he is original author of code - see readme file at the very bottom). There is line (lines 20-21) in scripts/multiboot: Quote:
Confirmed: kernel renamed to /boot/zImage-2.6.28.10pali1 /etc/multiboot.d/01-Maemo-kernel-power46.item contents: Quote:
and it still boots :) Thank you pali for mobilizing me to read the sources of multiboot :) There is also file README, which part of reads: Quote:
Thanks for your great work again :) Also: updated my previous post with instructions how to manually make it work with multiboot to better fulfill standards (zImage instead of vmlinuz). I was aware of the difference between these two files, but thought it was just a naming convention. |
Re: kernel-power patches/updates
Quote:
Quote:
Quote:
Thanks for help :) Change contents of this file: Code:
sudo gainroot EDIT: pali!, maybe you could (in your packages) rename kernel zImage file name from /boot/zImage-2.6.28-pali1 to /boot/zImage-2.6.28.10pali1 ? If so, the package "multiboot-kernel-power" shall only containt /etc/multiboot.d/01-Maemo-kernel-power46.item file and depend on kernel-power? Because if you keep your current naming convention, after install of kernel-power and kernel-power-modules etc. we have kernel "zImage-2.6.28-pali1" and modules in /lib/modules in subdir "2.6.28.10pali1". And for multiboot it does not work:( Don't want to be rude here or anything negative, just asking for a consistent naming convention, because it would simplify lots of work ;) Also, instructions in post http://talk.maemo.org/showpost.php?p...8&postcount=75 updated again. I hope I won't need to change them anymore. |
Re: kernel-power patches/updates
Thanks pali and misiak.. I was able to finally get the kernel-power-pali1 installed.
The additional part to be checked is as follows: 1. After installing pali kernel, make sure the owner of the /lib/modules/2.6.28.10pali1 is root. This can be done using chown root:root command 2. Make sure the zImage file is in the /boot folder as well and it is owned by root Now, I am satisfied with the first step.. cannot wait for more enhancement such as moving to kernel 2.6.37 with libraries :) |
Re: kernel-power patches/updates
Hi Pali.
I really appreciate your work here. Is there anything that we, regular users, can do to help You become official kernel-power maintainer? I think this would clear mess that we have now with kernel-power versions (no offense to anyone): - v46 official without usb cd modules = problems with hostmode - v46 with bleeding edge wifi - same problems with hostmode - v42 official - last known to work with usb CD in hostmode (correct me, if i'm wrong). I'm also waiting for bleeding edge wifi to be included in Your kernel, but anyway, big thanks for all Your work already done :) Ps. I did a quick search on kernel-power page (where You are on pending list to become maintainer), but wasn't able to find any "vote" option. Sorry, if it is stupid question - I'm little new to this. |
Re: kernel-power patches/updates
Quote:
Someone (maybe even pali, but I'm not sure and don't want to put words into his mouth) wrote that moving to kernel 2.6.37 will not be possible in Maemo 5, as some closed-source binaries rely on kernel interfaces present in 2.6.28 and deprecated or not available in 2.6.37 :( Also, pali! I want to try few things by myself, so: how to compile your kernel please step-by-step instruction (can be not noob-friendly, just steps)? ^ ^ Would it work when I: 1. download kernel-power 46 sources, 2. go to http://atrey.karlin.mff.cuni.cz/~pali/ , get kernel-power_2.6.28-pali1_source.diff.tar.gz, 3. apply diff, 4. compile kernel 5. compile modules? :P |
Re: kernel-power patches/updates
I went to the garage and I did a positive review of the "pali" user (search for pali in the "people"). maybe if we are more users doing this, pali will get promoted as a trusted user?
|
Re: kernel-power patches/updates
what about QCPUFreqapp ,when i run it CPU temp shows me 346C ! hehe
any fix for this..... |
Re: kernel-power patches/updates
pali, can you tell me whats wrong here :
Code:
/home/user # cd /home/user/MyDocs/kernel/ |
Re: kernel-power patches/updates
@Agogdata
The last line speaks for itself No space left on device as you can see kernel modules doesn't get replaced when you install another one so it just piles up at /var/lib/modules till you get out of space left for your n900's NAND |
Re: kernel-power patches/updates
Quote:
No wonder no-body wants to develop for n900, they post their work then get swamped by noobspam. |
Re: kernel-power patches/updates
Quote:
Edit: If you know how to compile software yourself, you can download source of version 0.4.1-1 and in file "mainwindow.cpp" change line 204 from: Quote:
Quote:
It's an ugly hack (just reads temperature characters without last one, puts dot and reads last character), but it works. Don't contact developer with this, because from what i can tell looking at the sources, it already is hard to be maintaned (in almost every function there are different flows for power kernel and normal kernel). Once pali will become maintainer of power-kernel package, he (or we all) will contact QCPUFreqapp dev and other devs of software reading temperature and inform them about needed changes :P |
Re: kernel-power patches/updates
i've freed up some space but still get errors :
Code:
/home/user/MyDocs/kernel # dpkg -i *.deb |
Re: kernel-power patches/updates
@Agogdata
don't dpkg -i *.deb kernel power(Ever) do this steps 1 by 1 dpkg -i kernel-power_* dpkg -i kernel-power-mod* dpkg -i kernel-power-fla* dpkg -i kernel-power-set* Do not install kernel-power-bootimg unless you are using nitdroid Do not install kernel-power-headers unless you plan on compiling your own kernel So do this first... apt-get remove kernel-power* before doing the steps above to free up the messed up install files Sorry I'm not really good at tutorials :( |
Re: kernel-power patches/updates
Quote:
|
Re: kernel-power patches/updates
Could anybody please give me some instructions on how to install this properly and the multiboot stuff as well as the possibility of using it with uboot for MeeGo?
I will take the instructions, noobify them a bit and create a wiki page to make things a bit easier and also reduce the clutter on your thread :) |
Re: kernel-power patches/updates
Quote:
Quote:
Quote:
2. Unpack _source.diff.tar.gz to kernel directory (or use debian tree from my git repo) 3.a Compilation under scratchbox: 1. Run in scratchbox enviromental in kernel tree: $ dpkg-buildpackage -b -rfakeroot 3.b Compilation using madde: 1. In kernel tree apply madde.patch $ patch -p0 -i madde.patch 2. Run this in kernel tree: $ mad dpkg-buildpackage -b 4. You will have builded deb packages in ../ |
Re: kernel-power patches/updates
Quote:
Quote:
Thank you very much for your instrucions on compiling this patched kernel :) I will also look at the code of bleeding edge wifi drivers and code with your patch-of-cumulative-patches and try to play a little. I don't have much experience in kernel compiling, but I've compiled few custom kernels for my custom linux livecd distribution in the last 4 years, so I'm not totally noobish at it. If you are working on something more than bleeding edge wifi drivers with pocket injection, could you drop me a private message, so we won't waste time trying to do the same thing? ;) |
Re: kernel-power patches/updates
just wanted to say thanks for this the i/o patch really seems to work theres no slow down when copying the 2gig easy debian image to a back up folder and installing apps in ed seems to be vastly improved i havent done much testing yet
also the guide for multiboot was very simple to follow cheers for that a few copy and pastes later and everything worked spot on i have just removed all kernel power packages and reinstalled just pali's because fapman and xterm aptget wouldnt work becasue of dependency problems every thing works fine now and i cleared away some root space the only problem now is i cant install kernel-power-settings i was hopeing some one could make a compatible deb running the phone at 600hz is very depresing |
Re: kernel-power patches/updates
Quote:
Quote:
|
Re: kernel-power patches/updates
1 Attachment(s)
Quote:
Quote:
|
Re: kernel-power patches/updates
You know, pali, you can just package your kernel with the same package name as the power kernel - that's what lxp did when packaging power 46wl1, and so dpkg and apt-get see it as just another higher version of the power-kernel package, so there's none of this fiddling with either installing power kernel than your over it kernel, to get the dependencies right, or repackaging kernel power settings to not depend on kernel power.
|
Re: kernel-power patches/updates
Quote:
|
Re: kernel-power patches/updates
Quote:
On the other hand, humans tend to get possessive of their projects, and titan certainly put a lot of time and effort into the power kernel originally. Anyway, by the same logic though, lxp's power kernel package wasn't exactly an official power kernel either. It was effectively almost the same, just with cfg80211 compiled as module instead of statically linked or whatever - yet I can install lxp's power kernel debs, and then power kernel settings installs just fine. Just because it's not an official package doesn't mean it can't be packaged so that it accurately represents itself as a sufficient dependency for the power kernel settings package - seeing as how that's what those fields are for and that is exactly true - it is a sufficient dependency for power kernel settings. One thing I kinda want to see though, semi-off-topic as this is, is a kernel compiled in such a way that the lxp modules are the default wifi modules - or even only wifi modules. Combined with the osso-wlan fix (except using an identical version number field, so that it doesn't break the update process... actually, can't that osso-wlan fix be placed inside the CSSU? Seems like a good place for it. I'll bug someone about that later), there's really not a good reason to stay with the "stock" wifi driver... we've got a bunch of people on the same driver, and as far as I know, the majority do not have any actual bugs from the thing. I remember people complaining early on about it using up battery quickly, but I had no such thing (unless I left the card in monitor mode for hours... but that's a bit self explanatory). I mean, it was lxp's original monitor mode patches that went into the default wifi driver in the power kernel - so the power kernel already did something along these lines in the first place. It's just that lxp's release of the injection mode patches went through such a circumstancially different path, first as a contract for neopwn then through a donation scheme, and only then completely free-to-download, and by then Titan wasn't actually that active anymore. I mean, right now I have done this by replacing the scripts that Advanced Interface Switcher uses to load/unload the wifi drivers with modified versions (to give full instead of relative paths) of the load.sh/unload.sh scripts. This means I only deal with the stock wifi driver if I manually modprobe it, or right after a reboot (which I usually just unload the wifi driver at that point until I need to use wifi, so mostly I'm already on always-lxp-driver use... It does more when needed than the stock one, and does the same stuff the stock one does without no new problems that I've ever seen... *Shrug* |
Re: kernel-power patches/updates
@miiak
thank you very much you kernel power settings works a charm with no conflicts in package's this whole kernel set seems complete now and thank god for overclocking lol |
Re: kernel-power patches/updates
i have the same problem when i choose kernel 46
i was tired this post 75* many times and it's now working with my mobile when i type uname -r it's told me 2.6.28-omp1 but it's on the Original Kernal please help me thank you |
Re: kernel-power patches/updates
Quote:
Code:
ls /boot/ >> /home/user/MyDocs/helpmelog.txt |
Re: kernel-power patches/updates
1 Attachment(s)
hi,
the file is attached thank you for help me |
Re: kernel-power patches/updates
Quote:
I suggest you do it this way: 1. Open application manager, find and install app called "Leafpad" (if you have'nt installed it already on your phone). It's a text editor. 2. Open terminal and type: Code:
sudo gainroot Code:
leafpad /etc/multiboot.d/01-Maemo-kernel-power46.item Quote:
Quote:
|
Re: kernel-power patches/updates
Firstly, thank you very much for pushing forward kernel development for our orphaned little kernel.
Do you think you could add the upstream patch that fixes this bug? https://bugs.maemo.org/show_bug.cgi?id=7165 Lastly, what do you need to get this kernel into the repositories? Who can the council prod for you? |
Re: kernel-power patches/updates
Quote:
|
All times are GMT. The time now is 16:09. |
vBulletin® Version 3.8.8