commit | 80d0ce75175abc61e49fd1fa0bb035ff2cba2a39 | [log] [tgz] |
---|---|---|
author | Dzmitry Sankouski <dsankouski@gmail.com> | Tue Dec 27 22:47:09 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 10 15:39:07 2023 -0500 |
tree | 9a6bd14a01f9e99c3b483acada8e8df51351958c | |
parent | 1134302addd011a9fa5f17926634e9041615e04c [diff] |
SoC: sdm845: find and save KASLR to env variables KASLR address is needed to boot fully functional Android. KASLR is set by primary bootloader, and since u-boot is used as a secondary bootloader(replacing kernel) on sdm845 platform, KASLR may be found by comparing memory chunks at relocaddr over supposed KASLR range. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>