DM8168能正常从SD卡或SPI启动,我现在把4G EMMC飞到SD卡座上却启动不了;
但如果从SPI启动时,SPI中的uboot能正常启动EMMC中的内核和文件系统。
请问DM8168从EMMC启动的条件是什么?如何调试它?谢谢!
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.
Li Ke,
在DM816x的TRM里面可以找到下面的内容:
eSD embedded memories only support raw mode.
请也参考讨论:https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/368562。
Li Ke,
能否仔细阅读一下TRM?另,你使用的emmc不能版本太高,不然也可能不支持启动。
25.7.4.6 SD Read Sector Procedure in Raw Mode
In raw mode the booting image can be located at one of the four consecutive locations in the main area:
offset 0/20000h (128KB)/40000h (256KB)/60000h (384KB). For this reason a booting image shall not
exceed 128KB in size. However it is possible to flash a device with an image greater than 128KB starting
at one of the aforementioned locations. Therefore the ROM Code does not check the image size. The only
drawback is that the image will cross the subsequent image boundary.
The raw mode is detected by reading sectors #0, #256, #512, #768. The content of these sectors is then
verified for presence of a TOC structure as described in Section 25.10. The Configuration Header (CH)
must be located in the first sector followed by a header. The CH might be void (only containing a
CHSETTINGS item for which the Valid field is zero).