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.

[参考译文] Linux/TCI6630K2L:存储器布局

Guru**** 2595805 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/587235/linux-tci6630k2l-memory-layout

器件型号:TCI6630K2L

工具/软件:Linux

我安装了 K2L EVM 和2G DDR。 在设备树中有:

内存{
DEVICE_TYPE ="存储器";
REG =<0x0 0x8000 0000 0x0 0x2000 0000>;
};

dspmem{
compatible ="linux、rproc-user";
MEM =<0x0c00 0000 0x0020 0000 0xa000 0000 0x2000 0000>;
label ="dspmem";
}; 

从0x8000 0000开始、Linux 为512M、DSP 为512M。 在启动时、u-boot 会修补器件树、并为 Linux 设置1.5G、从0x8000 0000开始、我理解这一点。 因此、我在/proc/meminfo.上看到了1.5G 用于 Linux

从0xC000 0000开始的其余512M 会怎么样? 为什么512M DSP 仍然从0xA000 0000开始、而不是从0xC000 0000开始?

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

    我已将此内容转发给软件专家。 他们的反馈应发布在此处。

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

    TCI6630K2L 器件具有一些存储器别名、可支持来自 ARM 的40位地址空间

    谢谢你

    Cesar

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

    root@K2L-EVM:~# hexdump -C /proc/device-tree/memory/reg
    00000000 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 60 00 00 | `……|

    即0x8000 0000左移4位(别名)、0x6000 0000 (u-boot 修补的大小)。

    但我想了解512M DSP 存储器及其在 Linux 存储器方面的位置