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/AM5728:ROM 代码问题

Guru**** 2606725 points
Other Parts Discussed in Thread: AM5726, DRA722

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/653343/linux-am5728-rom-code-questions

器件型号:AM5728
主题中讨论的其他器件:AM5726DRA752DRA722

工具/软件:Linux

我们正在研究如何使用公共 ROM 代码 API 来执行一些基本的器件初始化。

omapboot:(无文档描述 IT)

静态常量 u32 rom_hal_mmchs_writedata_addr[]={
0、 /*OMA_REV_INVALID*/
(0x25c2c|1)、/* OMA_4430_ES1_DOT_0*/
(0x2dd8|1)、/* OMAP-4430_ES2_DOT_0*/
(0x2dd8|1)、/* OMAP-4430_ES2_DOT_1*/
(0x2df58|1)、/* OMA_4430_ES2_DOT_2*/
(0x2df58|1)、/* OMA_4430_ES2_DOT_3*/
(0x36028|1)、/* OMA_4460_ES1_DOT_0*/
(0x36028|1)、/* OMA_4460_ES1_DOT_1*/
(0x36028|1),/*4470占位符*/
(0x3ee18|1)、/* OMAP-5430_ES1_DOT_0*/
(0x3ee18|1)、/* OMAP-5432_ES1_DOT_0*/
(0x3f6fa|1)、/* OMA_5430_ES2_DOT_0*/
(0x3f6fa|1)、/* omap_5432_es2_dot_0*/
}
静态常量 u32 rom_hal_mmchs_sendcommand_addr[]={
0、 /*OMA_REV_INVALID*/
(0x25aa8|1)、/* OMA_4430_ES1_DOT_0*/
(0x2dc54|1)、/* OMAP-4430_ES2_DOT_0*/
(0x2dc54|1)、/* OMAP-4430_ES2_DOT_1*/
(0x2dd4|1)、/* OMA_4430_ES2_DOT_2*/
(0x2dd4|1)、/* OMA_4430_ES2_DOT_3*/
(0x35ea4|1)、/* OMA_4460_ES1_DOT_0*/
(0x35ea4|1)、/* OMA_4460_ES1_DOT_1*/
(0x35ea4|1)、/*4470占位符*/
(0x3ec8c|1)、/* OMA_5430_ES1_DOT_0*/
(0x3ec8c|1)、/* OMA_5432_ES1_DOT_0*/
(0x3f57c|1)、/* OMA_5430_ES2_DOT_0*/
(0x3f57c|1)、/* OMAP-5432_ES2_DOT_0*/
}

我们需要 TI 输入来为 AM5726/28提供上述引导 ROM 地址:
/DRA752_ES1_DOT_0/
/DRA752_ES1_DOT_1/
/DRA752_ES2_DOT_0/
/DRA722_ES1_DOT_0/
/DRA722_ES2_DOT_0/
由于 AM57x TRM 仅提到 ROM 代码 API 表的基址仅为0x38400、而不详细介绍偏移量和函数。

该代码最初由 Viswanath Puttagunta<vishp@ti.com和 Christina Warren<cawarren@ti.com 编写
http://omapzoom.org/?p=repo/omapboot.git;a=blob;f=arch/common/rom_mmc.c;h=36f36413df73e60779ccbf8d7ad608cd185611b8;hb=refs/heads/p-master-dev#l93

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    很抱歉、除了技术参考手册中已经包含的内容外、我们不能透露有关 Sitara 处理器系列 ROM 代码的任何其他信息。