微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 如何查看当前项目的physical memory layout

如何查看当前项目的physical memory layout

时间:10-02 整理:3721RD 点击:
查看 物理内存分布, 两种方法:
一种是直接adb shell cat /proc/mtk_memcfg/memory_Layout
一种是需要接UART,抓一份开机过程的uart log,然后在log 当中搜索key word [
Phy Layout],就会发现类似下面的:
[ 0.000000]-(0)[0:swapper][Phy Layout] Avail. DRAM Size : 0x1ff00000
[ 0.000000]-(0)[0:swapper][Phy Layout] FB : 0x9fc00000-0xa0000000
(0x00400000)
[ 0.000000]-(0)[0:swapper][Phy Layout] PMEM : 0x9fc00000-0x9fc00000
(0x00000000)
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x80100000 - 0x9dffffff
(0x1df00000)
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x9f800000 - 0x9fbfffff
(0x00400000)

。。

。。

。。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top