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.

[参考译文] AM62P:AM62P 的启动过程中发生了内存不足(OM)问题

Guru**** 2475375 points
Other Parts Discussed in Thread: SK-AM62P-LP, AM62P

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1463386/am62p-an-out-of-memory-oom-issue-occurred-during-the-startup-process-of-am62p

器件型号:AM62P

工具与软件:

当前测试表明、在初始上电启动阶段可能存在内存不足(OM)问题。 一旦系统稳定下来、通常就不会遇到 OM 问题。 稳定运行后、内存统计信息表明大约仍有160 MB 内存、剩余大约60 MB CMA (连续内存分配)内存。 在初始启动阶段、请帮助分析造成 OM 错误的原因。 内核的打印输出如下:

/cfs-file/__key/communityserver-discussions-components-files/791/oom-error.txt

/cfs-file/__key/communityserver-discussions-components-files/791/oom-2.txt

/cfs-file/__key/communityserver-discussions-components-files/791/oom-3.txt

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Quan:

    SK-AM62P-LP EVM 具有8GB DDR。 一旦我将 SDK10.1上的内存限制为1GB、Linux 中的内存仍约为800MB。 但日志显示您的电路板只有大约400MB。

    root@am62pxx-evm:~# dmesg|grep Memory
    [    0.000000] Memory limited to 1024MB
    [    0.000000] Memory: 831576K/1048576K available (12480K kernel code, 1272K rwdata, 4184K rodata, 2496K init, 528K bss, 184232K reserved, 32768K cma-res
    erved)

    您是否在 AM62P 电路板上运行处理器 SDK? 如果是、哪个版本?

    您是如何准确生成内核.config 的?

    您是否修改了可以更改内存使用情况的内核 devicetree? 如果是、请附加 devicetree 补丁。