This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
TI66ak 开发板, linux源码使用 ti-processor-sdk-linux-k2hk-evm-06.00.00.07 安装所得。
(即linux kernel版本为 4.19.38)。
1. 将 u-boot中的 bootargs 增加 memblock=debug, earlycon=uart8250,mmio32,0x02530c00, 115200n8,
此时启动OS, 此时串口输出 Memory policy: Data cache writealloc后,arm PC进入异常,data abort,
pc值为 0xffff_000C。
2. 如果不修改 bootargs, OS启动正常。
请问linux源码需要修改哪些配置选项,才能支持memblock=debug相关信息输出?
谢谢!
hello, Shine,
多谢回复!
1. 是 EVM板,
2. 下图1所示,为bootargs, 如果将 memblock=debug删除(即bootargs中没有设置 memblock=debug),os启动正常,
、
图1
3. 如果上图1 中 bootargs, 将 memblock=debug删除(即bootargs中没有设置 memblock=debug),下图2中,line1617行增加 一行打印, 执行完 line1615行代码, arm PC进入异常,data abort, pc值为 0xffff_000C。图3所示。
图2
图3
麻烦你们试试。
请看下面e2e工程师的回复。
This question is not processor specific. We might rarely get support on Processor-Forum....
May be, it seems to be a generic linux question for version 4.19.38. Try google for apt answers on linux based questions.....
---
1.Firstly, check the availability of that memblock-enabling-feature is available/exist/working in linux version 4.19.38
2. When I did a google search, I came across a patch with the following text in it
If Memblock simulator was compiled with MEMBLOCK_DEBUG=1, set memblock_debug to 1 so that memblock_dbg() will print debug information when memblock functions are tested in Memblock simulator.