Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,029 Members 43,571 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] !!KEXEC Compiled!!

Tip us?
 
Loglud
Old
(Last edited by Loglud; 26th November 2011 at 04:52 AM.)
#1  
Senior Member - OP
Thanks Meter 442
Posts: 199
Join Date: Jul 2011

 
DONATE TO ME
Default [DEV] !!KEXEC Compiled!!

So i have finally done it. After long hours of solving problems and such, i have gotten kexec to compile on the ARMv7 arch.



Quote:
In computing, kexec (kernel execution) is a mechanism of the Linux kernel that allows "live" booting of a new kernel "over" the currently running kernel. kexec skips the bootloader stage (hardware initialization phase by the firmware or BIOS) and directly loads the new kernel into memory, where it starts executing immediately. This avoids the long times associated with a full reboot[1], and can help systems to meet high-availability requirements by minimizing downtime.
-Wiki

THIS IS WHAT MY BINARY DOES. WHILE IT IS NOT IN MODULE FORM, AND THE INJECTION PERAMETERS NEED TO BE DEFINED IT DOES DO THIS.

Kexec (Source):
http://forum.xda-developers.com/atta...1&d=1322194114

Compile with:
Code:
Select Code
LDFLAGS=-static ./configure --host=arm CC=/home/<username>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc CFLAGS=--sysroot=/home/<username>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ CPPFLAGS=-I/home/<username>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ LDFLAGS=--sysroot=/home/<username>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/
Kexec (ARM Binaries):
http://forum.xda-developers.com/atta...1&d=1322194114
Attached Files
File Type: tar kexec.tar - [Click for QR Code] (140.0 KB, 621 views)
File Type: tar kexec-source.tar - [Click for QR Code] (2.46 MB, 929 views)
The Following 71 Users Say Thank You to Loglud For This Useful Post: [ Click to Expand ]
 
Lucifus
Old
#2  
Member
Thanks Meter 6
Posts: 30
Join Date: Nov 2010
You sir win! All of you guys, I love you! I apologize for the spam!
 
lect1984
Old
#3  
Member
Thanks Meter 2
Posts: 47
Join Date: Apr 2011
Thanks for your hard work and effort! Can't wait to see CM7 on this bad boy
 
anlog
Old
#4  
anlog's Avatar
Senior Member
Thanks Meter 122
Posts: 495
Join Date: May 2006
Excellent! This thing needs CM7 badly.
 
strictlyrude27
Old
#5  
Senior Member
Thanks Meter 405
Posts: 543
Join Date: Jan 2010
Location: Seattle, WA

 
DONATE TO ME
I hope you figured this out after eating a Thanksgiving meal good job sir!
 
suicideclown
Old
#6  
suicideclown's Avatar
Member
Thanks Meter 21
Posts: 49
Join Date: Jan 2011
Location: Wolfforth

 
DONATE TO ME
Very good news!
 
Elddric
Old
#7  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Nov 2011
the thanks button is to generic.... Thank you for this bit of awesomeness!
 
hwong96
Old
#8  
hwong96's Avatar
Senior Member
Thanks Meter 178
Posts: 544
Join Date: Oct 2011
Location: Chicago
Terrific news. CM7 here we come!
CPO Nook Color emmc CM11 + 16gb uSD with Multi windows
CPO Nook Color 32 gb uSD CM7.1 oc'd 1.225 gHz
Prodigy EL908 rooted stock AMLogic 8726 M6 Dual Core 1.5gHz 16gb+32gb uSD with Multi windows
 
DagobahSamurai
Old
#9  
Junior Member
Thanks Meter 1
Posts: 23
Join Date: Jun 2010
Would it be weird if I cried a little bit?
 
xdahgary
Old
#10  
xdahgary's Avatar
Senior Member
Thanks Meter 104
Posts: 894
Join Date: Aug 2010

 
DONATE TO ME
The cool whip on my pumpkin pie. Thanks and Happy Thanksgiving.

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes