[dev][kernel][kexec]

capt_planit

Senior Member
Apr 6, 2016
63
17
0
Capt Necropost here. I have confusing behavior exhibited between v10 and v11. When trying to load the same kernel v10 says: kexec-zImage-arm : ----------------------------
INFO : Segment[0] - Start : 0x40001000 - length : 0x1000 - end : 0x40002000
INFO : Segment[1] - Start : 0x40008000 - length : 0x4a7000 - end : 0x404af000
Then accepts kexec -e and shuts down. While v11 says: INFO : Segment[0] - BUF - Start : 0x400ce008 - length : 0x4a6774
INFO : Segment[0] - MEM - Start : 0x40000000 - length : 0x4a7000 - end : 0x404a7000
Overlapping memory segments at 0x404a7000
And buggers off. The code responsible looks virtually identical to me. Any ghostly advice (just in time for Halloween). tyia c_p
 

chuckbtotheo

New member
Oct 9, 2014
1
0
0
I've been looking at this thread a lot over the years. And wish I could do something, but I've never coded.. Where should I start and what should I learn to help? I'd like to dedicate a lot of time on this.
 

capt_planit

Senior Member
Apr 6, 2016
63
17
0
@chuckbtotheo 1) linux (there is cygwin too) 2) gcc that matches the version used to compile your kernel *Note* you must set your project environment or you will probably use the wrong gcc 3) kexec-tools source 4) kexec_load module source. Mostly you build these yourself but there are precompiled versions floating around on xda. If you look through all the threads dealing with kexec on xda you will find out pretty much all you need to get going. Good luck. c_p