Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on May 2012
#1
Hi all i'm trying to compile own kernel for n9


steps:
1./scratchbox/login (now i'm into sdk)
2.apt-get source kernel
3.cd kernel-2.6.32/
4.make rm581_defconfig
5.make -j4

in out i get zImage kernel file


i flash it

/flasher -a DFL61_HARMATTAN_30.2012.07-1_PR_LEGACY_001-OEM1-958_ARM.bin -k zImage --flash-only=kernel -f -R


But kernel still not bootable.
After reboot i see only "Warning message" boot process stopped
and after 3-5 minutes of stuck phone reboot again.

Please help me.
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#2
you did not not upload the matching modules to phone, so it doesn't bootup. You need to patch the kernel not to check kernel modules during boot if you want to be able to bootup without uploading the matching modules.
 
Posts: 3 | Thanked: 0 times | Joined on May 2012
#3
I use default kernel that already installed in my n9
in other linuxes if kernel is same and version not changed
not to do anything with modules
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#4
Originally Posted by fedyame View Post
I use default kernel that already installed in my n9
in other linuxes if kernel is same and version not changed
not to do anything with modules
Sorry to disapoint you, but it has everything to do with kmod_check. Check the openmode patch for the change in kmod. Other linuxes dont have timestamp/kmod checking enabled.
 
Posts: 3 | Thanked: 0 times | Joined on May 2012
#5
Actually i trying to compile official sources

in SDK
  • apt-get source kernel
  • cd kernel-2.6.32
  • dpkg-buildpackage -b -uc -rfakeroot

in out i get zImage and lots of kernel deb files
seems i needed only zImage
i flashed it again and phone stucks in bootloop after scary screen.


openmode patch applied into debian/rules
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#6
apt-get does not give you matching kernel sources, you needs to compile the kernel sources from dvd which matches your PR release.

PS. If you want to boot into apt-get kernel, then you also need to copy/install all the matching kernel modules to /lib/modules/current before booting to your kernel. Flashing zImage only is only possible when you compile kernel that matches your PR release with patch applied. In all other combinations (like apt-get version, vanilla without patch or changed kernel config) you need also install all the kernel modules (to /lib/modules/current/) before you boot to your new kernel.
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.

Last edited by rainisto; 2012-05-21 at 04:38.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#7
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:29.