As I hope, that more people that have knowledge about it, will see it, here it goes:
I am trying to port the kexec hardboot patch for the Fairphone 2. So far I have got multirom working but now I am stuck with the kexec hardboot part.
What one question is now is, that the onyx patch uses membank 2 (index 1) (see here) for KEXEC_HB_PAGE_ADDR but the "reference patch" uses membank 1 (index 0) (see here). What membank should I use now? The wiki also says
where the first bank of System RAM ends
which should suggest that the first (index 0) bank should be used.
Is there also somewhere an explanation, what KEXEC_HB_PAGE_ADDR and KEXEC_HB_KERNEL_LOC is?
As I hope, that more people that have knowledge about it, will see it, here it goes: I am trying to port the kexec hardboot patch for the Fairphone 2. So far I have got multirom working but now I am stuck with the kexec hardboot part.
The phone has a Snapdragon 801 and so I have oriented myself at a patch for the OnePlus X [onyx] found here: https://github.com/DavyA/android_kernel_oneplus_onyx/commit/bea2527f792a6414baf81e125191a74100288590 .
What one question is now is, that the onyx patch uses membank 2 (index 1) (see here) for
KEXEC_HB_PAGE_ADDR
but the "reference patch" uses membank 1 (index 0) (see here). What membank should I use now? The wiki also sayswhich should suggest that the first (index 0) bank should be used.
Is there also somewhere an explanation, what
KEXEC_HB_PAGE_ADDR
andKEXEC_HB_KERNEL_LOC
is?Thanks!