Tuesday, May 10, 2016

Porting kexec hardboot to LG L1 II

Hi,
I've read the porting kexec hardboot wiki: http://ift.tt/1nWGNNY and, in particular, the following step:
Quote:

Hard-reboot in arch/arm/kernel/relocate_kernel.S

Can be found here in the patch for mako. This can often be the hardest thing to find out. Try to look for restart.c or reboot.c or something like that in your device's arch/arm/mach-xxx folder and port the restart sequence from that file to assembler. If you are using Tegra 2/3 or MSM SoC, chances are reboot methods currently (or very similar to them) in the patch will work.
So, the porting guide says the restart sequence should be ported from restart.c to relocate_kernel.S.
Exactly, what function I've to port from restart.c? Any ideas? :confused:


from xda-developers http://ift.tt/23E3AO9
via IFTTT

No comments:

Post a Comment