抓取Android kernel开机log:
1. physical memory layout:
在log中搜索“PHY layout”:
[ 0.000000] <0>-(0)[0:swapper][PHY layout]atf-reserved-memory@44600000 : 0x44600000 - 0x4460ffff (0x10000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]atf-ramdump-memory@44610000 : 0x44610000 - 0x4463ffff (0x30000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]cache-dump-memory@44640000 : 0x44640000 - 0x4466ffff (0x30000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]consys-reserve-memory : 0xbde00000 - 0xbdffffff (0x200000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]spm-reserve-memory : 0xbe180000 - 0xbe195fff (0x16000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]reserve-memory-scp_share : 0x8f000000 - 0x8fffffff (0x1000000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]spi-reserve-memory : 0xbe160000 - 0xbe175fff (0x16000)
[ 0.000000] <0&