Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
trafalger888
Old
#1  
trafalger888's Avatar
Recognized Contributor - OP
Thanks Meter 224
Posts: 974
Join Date: Aug 2010
Default Is Kexec a possibility to load alternate kernel?

So I'm curious if it would be possible to build a kexec module to load another kernel of our choosing? What is everyones thoughts on this? I'm sure that someone has thought about this before...bit I find myself thinking about this and just wanted to know others thoughts...

Sent from my DROID X2 using Tapatalk 2 Beta-4


Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur adipisci velit
If I have helped you please hit the thanks button
The Following 2 Users Say Thank You to trafalger888 For This Useful Post: [ Click to Expand ]
 
skwoodwiva
Old
#2  
Senior Member
Thanks Meter 176
Posts: 1,156
Join Date: Apr 2011
As far as I know () it's just VERY hard to accomplish.
 
thelowend
Old
#3  
Account currently disabled
Thanks Meter 414
Posts: 2,150
Join Date: Jan 2012
Location: The cold part of Ohio
Quote:
Originally Posted by trafalger888 View Post
So I'm curious if it would be possible to build a kexec module to load another kernel of our choosing? What is everyones thoughts on this? I'm sure that someone has thought about this before...bit I find myself thinking about this and just wanted to know others thoughts...

Sent from my DROID X2 using Tapatalk 2 Beta-4
What is a kexec module?

Sent from my MB870 using xda premium
 
trafalger888
Old
#4  
trafalger888's Avatar
Recognized Contributor - OP
Thanks Meter 224
Posts: 974
Join Date: Aug 2010
Quote:
Originally Posted by skwoodwiva View Post
As far as I know () it's just VERY hard to accomplish.
Ok...is that why we have not tried to go this route?

Sent from my DROID X2 using xda premium


Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur adipisci velit
If I have helped you please hit the thanks button
 
trafalger888
Old
#5  
trafalger888's Avatar
Recognized Contributor - OP
Thanks Meter 224
Posts: 974
Join Date: Aug 2010
Quote:
Originally Posted by thelowend View Post
What is a kexec module?

Sent from my MB870 using xda premium
Basically its a module you can build in linux that will let you load an alternate kernel

http://www.solemnwarning.net/kexec-loader/faq

Sent from my DROID X2 using xda premium


Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur adipisci velit
If I have helped you please hit the thanks button
 
thelowend
Old
#6  
Account currently disabled
Thanks Meter 414
Posts: 2,150
Join Date: Jan 2012
Location: The cold part of Ohio
Quote:
Originally Posted by trafalger888 View Post
Basically its a module you can build in linux that will let you load an alternate kernel

http://www.solemnwarning.net/kexec-loader/faq

Sent from my DROID X2 using xda premium
So it is similar dual booting? That would be really cool.

Sent from my MB870 using xda premium
 
ztotherad
Old
(Last edited by ztotherad; 26th March 2012 at 04:12 PM.)
#7  
ztotherad's Avatar
Senior Member
Thanks Meter 339
Posts: 1,822
Join Date: Aug 2011
Location: Illinois
Quote:
Originally Posted by thelowend View Post
So it is similar dual booting? That would be really cool.

Sent from my MB870 using xda premium
i know kholk on the razr forum is working on it for the gsm razr, but idk how close he has gotten as there are no updates directly from him

kholk has an unsigned kernel running on the gsm razr, but has one cpu working instead of two, so it may be possible

http://www.droidrzr.com/index.php/topic/1091-2232012-dev-phone-giveaway-poll/page__st__80__p__20177#entry20177 link to where he (kholk) says this
they see me trollin', they waiting...
 
trafalger888
Old
#8  
trafalger888's Avatar
Recognized Contributor - OP
Thanks Meter 224
Posts: 974
Join Date: Aug 2010
Quote:
Originally Posted by ztotherad View Post
i know kholk on the razr forum is working on it for the gsm razr, but idk how close he has gotten as there are no updates directly from him

kholk has an unsigned kernel running on the gsm razr, but has one cpu working instead of two, so it may be possible

http://www.droidrzr.com/index.php/to...177#entry20177 link to where he (kholk) says this
I would be interested to see what he has and if there ia anything that we could do to incorporate it into what we would like to accomplish

Sent from my DROID X2 using xda premium


Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur adipisci velit
If I have helped you please hit the thanks button
 
Moon Shadow - NM
Old
#9  
Moon Shadow - NM's Avatar
Recognized Contributor
Thanks Meter 454
Posts: 430
Join Date: Jul 2011
Location: Albuquerque

 
DONATE TO ME
Quote:
Originally Posted by ztotherad View Post
i know kholk on the razr forum is working on it for the gsm razr, but idk how close he has gotten as there are no updates directly from him

kholk has an unsigned kernel running on the gsm razr, but has one cpu working instead of two, so it may be possible

http://www.droidrzr.com/index.php/to...177#entry20177 link to where he (kholk) says this
While waiting for DZK to have a decent break from school, I have been talking with a great developer hashcode0f (Hashcode) about this exact thing. kexec _IS_ possible, however, very improbable at the moment. I've been looking into trying to build the 3.0 version of the kernel for the DX2, but things haven't been looking too good... Namely nVidia is VERY SLOW on releasing their sourcecode for both the kernel and the processor... :-/

Anyhow, back to kexec... Yes, it's possible, there is a developer for the RAZR that has kexec working, however it only fires up on one processor. That would not do to well on the DX2. I have been trying several things that "might" work for kernel space drivers, namely modprobe and insmod, but I'm not having much success with that either. (Damn locked boot loader!)

If there is anyone else here that has extensive Linux/Unix/*nix experience and has a DX2 and is willing to work with me on this, please PM me! Thanks!

Ciao!


If I helped you, just hit the THANKS button. It's free, and nice to see. If I REALLY helped you, consider donating, or signing up for Dropbox from here and we both receive an extra 250MB of storage!

Also, check out my Motorola Droid X2 tutorials:
HowTo: Root your Motorola Droid X2
HowTo: Perform a SBF ("factory restore") of your Motorola Droid X2
HowTo: Perform a bootstrap (or nandroid) backup and recovery of your Droid X2
 
ztotherad
Old
#10  
ztotherad's Avatar
Senior Member
Thanks Meter 339
Posts: 1,822
Join Date: Aug 2011
Location: Illinois
Quote:
Originally Posted by Moon Shadow - NM View Post
While waiting for DZK to have a decent break from school, I have been talking with a great developer hashcode0f (Hashcode) about this exact thing. kexec _IS_ possible, however, very improbable at the moment. I've been looking into trying to build the 3.0 version of the kernel for the DX2, but things haven't been looking too good... Namely nVidia is VERY SLOW on releasing their sourcecode for both the kernel and the processor... :-/

Anyhow, back to kexec... Yes, it's possible, there is a developer for the RAZR that has kexec working, however it only fires up on one processor. That would not do to well on the DX2. I have been trying several things that "might" work for kernel space drivers, namely modprobe and insmod, but I'm not having much success with that either. (Damn locked boot loader!)

If there is anyone else here that has extensive Linux/Unix/*nix experience and has a DX2 and is willing to work with me on this, please PM me! Thanks!

Ciao!
how is putting kexec to use improbable at this moment? is it because of the kernel/hw release from nvidia?
they see me trollin', they waiting...

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...