Work much more with
"const char fn[]= "/proc/rdtag
s";"
not "const char fn[]= "/proc/rdtag";"
No more segfault
but :
kexec_load failed: Function not implemented
still here...
Kexec Kernel implementation...
I suppr my debug and post the tool
Edit 1 :
with "-mem-min=0x8000"
kernel: 0xb6b67008 kernel_size: 3e9340
kexec_load: entry = 0x10000 flags = 280004
nr_segments = 3
segment[0].buf = 0x18f4850
segment[0].bufsz = 208
segment[0].mem = 0x9000
segment[0].memsz = 1000
segment[1].buf = 0xb6b67008
segment[1].bufsz = 3e9340
segment[1].mem = 0x10000
segment[1].memsz = 3ea000
segment[2].buf = 0xb64bf008
segment[2].bufsz = 6a7500
segment[2].mem = 0xfad000
segment[2].memsz = 6a8000
kexec_load failed: Function not implemented
entry = 0x10000 flags = 280004
nr_segments = 3
segment[0].buf = 0x18f4850
segment[0].bufsz = 208
segment[0].mem = 0x9000
segment[0].memsz = 1000
segment[1].buf = 0xb6b67008
segment[1].bufsz = 3e9340
segment[1].mem = 0x10000
segment[1].memsz = 3ea000
segment[2].buf = 0xb64bf008
segment[2].bufsz = 6a7500
segment[2].mem = 0xfad000
segment[2].memsz = 6a8000
=> # lsmod
wlan 2758343 0 - Live 0x00000000 (O)
texfat 129349 1 - Live 0x00000000 (PO)
adsprpc 16639 0 - Live 0x00000000
adsp_loader 12473 0 - Live 0x00000000
cfg80211 160899 1 wlan, Live 0x00000000
hid_sony 12525 0 - Live 0x00000000 (O)
(kernel not loaded)
Here, the tool :
http://xdaforums.com/attachment.php?attachmentid=2353177&stc=1&d=1382877631