Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the kexec hardboot patch #103

Open
z3ntu opened this issue Jul 23, 2016 · 1 comment
Open

Question about the kexec hardboot patch #103

z3ntu opened this issue Jul 23, 2016 · 1 comment

Comments

@z3ntu
Copy link

z3ntu commented Jul 23, 2016

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: DavyA/android_kernel_oneplus_onyx@bea2527 .

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?

Thanks!

@z3ntu
Copy link
Author

z3ntu commented Jul 25, 2016

The HTC One devices with a MSM8974 chipset also use membank 2 (index 1) - so I will try the second membank.

The OnePlus One is also using membank index 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant