Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[DEV] !!KEXEC Compiled!!

OP Loglud

25th November 2011, 05:11 AM   |  #1  
OP Senior Member
Thanks Meter: 444
 
203 posts
Join Date:Joined: Jul 2011
Donate to Me
More
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:
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, 645 views)
File Type: tar kexec-source.tar - [Click for QR Code] (2.46 MB, 959 views)
Last edited by Loglud; 26th November 2011 at 05:52 AM.
The Following 71 Users Say Thank You to Loglud For This Useful Post: [ View ]
25th November 2011, 05:13 AM   |  #2  
Member
Thanks Meter: 6
 
30 posts
Join Date:Joined: Nov 2010
You sir win! All of you guys, I love you! I apologize for the spam!
25th November 2011, 05:13 AM   |  #3  
Member
Thanks Meter: 2
 
47 posts
Join Date:Joined: Apr 2011
Thanks for your hard work and effort! Can't wait to see CM7 on this bad boy
25th November 2011, 05:14 AM   |  #4  
anlog's Avatar
Senior Member
Thanks Meter: 123
 
502 posts
Join Date:Joined: May 2006
Excellent! This thing needs CM7 badly.
25th November 2011, 05:26 AM   |  #5  
Senior Member
Flag Seattle, WA
Thanks Meter: 412
 
546 posts
Join Date:Joined: Jan 2010
Donate to Me
I hope you figured this out after eating a Thanksgiving meal good job sir!
25th November 2011, 05:34 AM   |  #6  
suicideclown's Avatar
Member
Flag Wolfforth
Thanks Meter: 21
 
49 posts
Join Date:Joined: Jan 2011
Donate to Me
Very good news!
25th November 2011, 05:49 AM   |  #7  
Junior Member
Thanks Meter: 1
 
5 posts
Join Date:Joined: Nov 2011
the thanks button is to generic.... Thank you for this bit of awesomeness!
25th November 2011, 05:58 AM   |  #8  
hwong96's Avatar
Senior Member
Flag Chicago
Thanks Meter: 249
 
757 posts
Join Date:Joined: Oct 2011
More
Terrific news. CM7 here we come!
25th November 2011, 06:14 AM   |  #9  
Junior Member
Thanks Meter: 1
 
23 posts
Join Date:Joined: Jun 2010
Red face
Would it be weird if I cried a little bit?
25th November 2011, 06:19 AM   |  #10  
xdahgary's Avatar
Senior Member
Thanks Meter: 104
 
894 posts
Join Date:Joined: Aug 2010
Donate to Me
More
The cool whip on my pumpkin pie. Thanks and Happy Thanksgiving.

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes