View Single Post
Posts: 52 | Thanked: 55 times | Joined on Dec 2009
#1
Hi all!
I have completed a first attempt at applying the BFS scheduler patch to both the power and the stock 2.6.28-omap1 kernel.

The debian files here:
http://coreyoconnor.com/downloads/
Will install the equivalent of the latest kernel-power + BFS patches. This can be installed over kernel-power just fine; The package manager will consider it an update.

The patch for the stock kernel is located at:
http://coreyoconnor.com/downloads/ke...6.28-bfs.patch

I will be packaging up the patch for kernel-power shortly.

For me kernel-power + BFS works great. Still, since I just got this working only apply if you are OK reflashing your device if something goes wrong. This will uninstall in the same way as kernel-power.

The basic procedure for patching the stock kernel is similar to what is listed here:
http://natisbad.org/N900/n900-custom-kernel.html

suppose your stock kernel source is in the directory kernel-2.6.28-stock and the patch file is copied to the same directory then the procedure is
Code:
host# cd kernel-2.6.28-stock
host# patch -p1 < kernel-2.6.28-bfs.patch
At this point all patches should be applied OK. If not, well, something went wrong and you should let me know.

Now switch to the kernel-2.6.28-stock within the scratchbox environment
Code:
[sbox-FREMANTLE_ARMEL: ~/kernel-2.6.28-stock] > make rx51_defconfig
[sbox-FREMANTLE_ARMEL: ~/kernel-2.6.28-stock] > make oldconfig
[sbox-FREMANTLE_ARMEL: ~/kernel-2.6.28-stock] > make
This should build the kernel and all required modules just fine.

I'm going to leave the instructions incomplete. If you've flashed a kernel and updated the kernel modules on your device you should be fine. Otherwise.. try it with the stock kernel first!

How to package this up into a deb? Any pointers?

UPDATE
I have uploaded deb packages that are equivalent to the latest kernel-power packages plus the bfs patches.

Last edited by coreyoconnor; 2010-07-21 at 19:58.
 

The Following 29 Users Say Thank You to coreyoconnor For This Useful Post: