Reply
Thread Tools
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#1
There are at least 3 kernels in use on the N900: the stock pr1.3 kernel, kp49 and kp50. Often I boot into one, only to realize I needed something from another (such as the bleeding-edge wifi drivers). So I reboot.
There is a program called kexec, which allows for the loading of one linux kernel from another. And it is in the Maemo repositories as well. If I understand correctly, this would allow for a uboot-like system to be implemented in userspace - so we could have an app to select what to reboot to with a nice touchscreen interface, and no need for risky kernel flashing. (If a kernel loaded by kexec is broken, a full reset [taking the battery out and putting it back in] will load the original kernel from the flash memory.)

Does this sound feasible? Also, would anyone be interested in such an app?
 
Posts: 69 | Thanked: 55 times | Joined on Nov 2009
#2
This would be feasible only if all kernels support kexec but i doubt that
the original Nokia kernel has kexec enabled.
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#3
Has anyone even had kexec even work on device?
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#4
Originally Posted by taixzo View Post
There are at least 3 kernels in use on the N900: the stock pr1.3 kernel, kp49 and kp50. Often I boot into one, only to realize I needed something from another (such as the bleeding-edge wifi drivers).
Isn't it easier and more convenient to update bleeding-edge drivers instead?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#5
Originally Posted by farmatito View Post
This would be feasible only if all kernels support kexec but i doubt that
the original Nokia kernel has kexec enabled.
Nokia's Kernel PR1.3 has kexec support.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:57.