Well..
In 1rst, please don't try with V1.1
For a lot of reason, you failed to success to boot with.
For eg : - not aligned memory, no "reloc_kernel" addresses attribute are definitively good reasons
Other pb is with driver.. It's work, but you need to mount a lot of files system at early boot, and cause random pb
If you have atags with a stock phone with locked kernel, you need to use "procfs_rw" to create you own "atags" file, and only if atags is missing... but, if you use "Device Tree Blob" (called "DTB") like our Z1 have, you don't need any "atags"... It's atags or Dtb, but not both.
Our kexec is coded for dtb file, and feed the same register at boot to replace atags address by dtb address.
If you don't know, if you need a Dtb file on your phone, you have a problem
Dtb is like atags... It's directly used by kernel to link hardware to kernel software, and is generated at guest kernel compil (vs host kernel we don't have sources).
Please try with V11 sources and see if you have a freeze in the "machine_kexec" addresses alloc for "relocate_kernel"... it's the key to have a kexec module working for a locked bootloader.
We have a static ro memory for loaded module on Z1 (by smp mmu protection on stock kernel), and i have create a dynamic relocate_kernel function in user space to bypass this protection.
It's not the best solution, but it work...
I m block at "soft_restart" function because of "cpu_proc_fin" freeze ("mcr p15" mmu roolback can't be exec)
So, i search...