OMAPL138的启动顺序未完待续.doc

上传人:scccc 文档编号:12011937 上传时间:2021-12-01 格式:DOC 页数:5 大小:20KB
返回 下载 相关 举报
OMAPL138的启动顺序未完待续.doc_第1页
第1页 / 共5页
OMAPL138的启动顺序未完待续.doc_第2页
第2页 / 共5页
OMAPL138的启动顺序未完待续.doc_第3页
第3页 / 共5页
OMAPL138的启动顺序未完待续.doc_第4页
第4页 / 共5页
OMAPL138的启动顺序未完待续.doc_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《OMAPL138的启动顺序未完待续.doc》由会员分享,可在线阅读,更多相关《OMAPL138的启动顺序未完待续.doc(5页珍藏版)》请在三一文库上搜索。

1、OMAPL138 的启动顺序 未完待续 BootloaderBootloader 为存储在 ROM 中的启动代码(一些程序) ,由 TI 在芯片出厂时以掩膜方式固化内容。TI 使用 ROM 空间的一部分,还有一部分剩余空间,用户可 以委托 TI 写入(掩模)所需代码。版本OMAPL138 的 Bootloader 保存在 ROM 中,检查内存地址OxFFFDOOOO ,在 memory window 中选择 Character,在偏移地址 0x08 可以读到版本号:版本号为类似于 d800k008 。 启动模式启动模式分为两种- Master从各种内存启动- Slave从外部 Master 启

2、动 除了 HPI (Host Port Interface) 和 2种 NOR (Parallel Flash) boot 模式,其他模式均使用 AIS(Application Image Script) 格式。管脚配置详见 Using the OMAP-L132/L138 BootloaderAppendix A Boot Mode Selection Table 启动顺序OMAP-L138 SOC 的启动详解OMAP-L138 的 ROM 内有 DSP 与 ARM 两份启动代码,芯 片上电解复位后, DSP Bootloader 先运行,通过 PRU 加载 ARM 初始化代码,因为 DSP

3、 不能访问 ARM 的片上 RAM 空间,所以这一步通过 PRU 完成,然后 DSP 通过 PSC 使 能 ARM ,运行 ARM 的 Bootloader , ARM 再将 DSP 置于 复位态,并关闭其时钟。这个过程由芯片内部 ROM 代码自 动完成, 所以从用户的角度, 芯片就是从 ARM 开始启动的。ARM Bootloader 读取 BOOTCFG 寄存器,获取用户设定的 启动模式,然后从相应的外设搬移用户代码到相应的地址, 跳转到用户代码的入口地址,完成 SOC 的启动过程。面这段话未找到出处文档When the device is powered on, it starts ex

4、ecution from DSPROM. ARM is in in the disable state at this moment.The DSP ROM code will Read certain registers to know thatARM is present. (Otherwise it will be a DSP-only boot) Program PDSP0 to prepare for ARM reset vector.Bring ARM out of reset and let ARM starts execution from its ROM. (Yes, tha

5、t's the main difference from OMAPL137 silicon1.x. ARM has its own ROM and will master the boot process afterwards)DSP stills in the idle loop.ARM starts execution from its ROM. It will Put DSP into disable state (probably local reset).Initialize HW, i.e. PSC, PLL, external memory etc. Read bootc

6、fg registers to decide what boot mode it will be and load and run ARM UBL from appropriate boot media, i.e. SPI flash, NAND, NOR etc.ARM UBL starts running. Its behavior is totally defined by theSW. For example, TI provided ARM UBL will load and run UBOOT which will further load and run Linux. The L

7、inux application can load and run DSP.out via DSPLINK. This model is the same as DaVinci model.Industrial customers can choose to load and run a DSP AIS image in certain boot media. Meanwhile ARM UBL also starts booting UBOOT and Linux. In that way, DSP can start processing data before Linux finishi

8、ng boot.主要内存地址的 Memory MapARM 可以访问全部地址空间, DSP 不能访问 ARM 的内存空 间。DSP (C674x)SectionSizeStartEndDSP L2 ROM11024K0x0070 0000/0x1170 00000x007F 0000/0x117F FFFFDSP L2 RAM256K0x0080 0000/0x1180 00000x0083 0000/0x1183 0000DSP L1P RAM32K0x00E0 0000/0x11E0 00000x00E0 7FFF/0x11E0 7FFFDSP L1D RAM32K0x00F0 0000/0x11F0 00000x00F0 7FFF/0x11F0 7FFF

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1