设计中采用了TI的AM5706处理器,系统启动遇到问题如下:sysboot[5:0]按照手册中设置100010,应该是SD、emmc、usb的系统启动顺序,但是在该设置下,当emmc里有程序,而SD卡没有程序时上电却无法启动,但是如果不放置SD卡则可以从EMMC中启动程序,请问这该如何解决带SD卡启动程序的问题?
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.
插入SD卡的时候读一下trace vector,看一下启动状态。
Table 33-14, Tracing Data是trace vector的地址
33.3.9 Tracing
您好,不论是插入不带程序的卡还是插入带程序的SD卡启动系统,读出的数据均为0呢,信息如下:
root:~# Read at address 0x4037F040 (0xb6f84040): 0x00000000
-sh: syntax error near unexpected token `('
root:~# root:~# devmem2 0x4037f044
-sh: root:~#: command not found
root:~# /dev/mem opened.
-sh: /dev/mem: Permission denied
root:~# Memory mapped at address 0xb6f03000.
-sh: Memory: command not found
root:~# Read at address 0x4037F044 (0xb6f03044): 0x00000000
-sh: syntax error near unexpected token `('
root:~# :~# devmem2 0x4037f048
-sh: :~#: command not found
root:~# /dev/mem opened.
-sh: /dev/mem: Permission denied
root:~# Memory mapped at address 0xb6f56000.
-sh: Memory: command not found
root:~# Read at address 0x4037F048 (0xb6f56048): 0x00000000
-sh: syntax error near unexpected token `('
root:~# root:~# devmem2 0x4037f04c
-sh: root:~#: command not found
root:~# /dev/mem opened.
-sh: /dev/mem: Permission denied
root:~# Memory mapped at address 0xb6f19000.
-sh: Memory: command not found
root:~# Read at address 0x4037F04C (0xb6f1904c): 0x00000000
当SD卡作为第一启动设备时确实会存在这个问题,目前还没有得到解决,以下是我得到的答复参考看一下:
I checked with our RoM expert & this is a known issue with RoM code with SD as primary boot mode.
It does not exit & switch to secondary boot mode when MLO is not present & card is inserted.