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.
您好!
目前我使用的是 TDA4VM 评估板和 Linux SDK 8.2。
尝试使用 SSPI 实用程序在 uboot 中验证 spi6 (在 uboot 配置中启用它)
我已经访问 了 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/947437/faq-ccs-tda4vm-how-to-use-spi-spi_dev-on-tda4-j721e。这是一个 Linux 版本。
但我需要在 u-boot 中进行测试。
使用的命令:SSPI 6:0.0@100000 32A
请帮我解决这个问题。
提前感谢、
Lakshmi Shetty
您好!
当对总线6使用 SSPI 或 SF 探头时、会导致以下崩溃。
添加了一些用于调试目的的附加打印件。
=> SF 探头6:0 100000 0
***** 在 SPI_GET_BUS_AND_CS 内部****
3***** 在 SPI_GET_BUS_AND_CS 内部****
uclass_get_device_By_Seq 内的四个1
uclass_get_device_By_seq 内的四个二进位
***** 传递 true 后的 uclass_find_device_By_Seq
***** 调用 uclasss_get_device_tail ret=0之前
uclass_get_device_By_Seq 内的四个1
***** 调用 uclasss_get_device_tail ret=0之前
***** 调用 uclasss_get_device_tail ret=0后
错误: 在0x8000000上从 EL2接收到未处理的外部中止
错误: 异常原因=0综合征=bbf000000
来自 EL2的未处理异常
X0 = 0x0000000000000000
X1 = 0x0000000000100100
X2 = 0x0000000000000000
X3 = 0x000000000038
x4 = 0x0000000110c0
X5 = 0x000000014f78
X6 = 0x00000000000000003e9c
X7 = 0x0000000000000002
X8 = 0x00000000fdeace70
X9 = 0x0000000000000008
X10 = 0x00000000000000003e98
X11 = 0x00000000fdeac81c
X12 = 0x00000000000000001148
X13 = 0x00000000000000000000
X14 = 0x00000000fdeace70
X15 = 0x0000000000000002
x16 = 0x00000000fff2efdc
X17 = 0x0000000000000000
X18 = 0x0000fdec1df0
X19 = 0x0000fdf1d110
X20 = 0x00000000fdec4630
X21 = 0x00000000fffcde38
X22 = 0x0000000000000006
X23 = 0x00000000fdeacaf8
X24 = 0x00000000Fdeacaf0
X25 = 0x00000000fffb6e0
X26 = 0x00000000000000000000
X27 = 0x0000fdf1f960
X28 = 0x0000000000000006
X29 = 0x00000000fdeac990
X30 = 0x00000000fff4f4f8
SCR_EL3 = 0x000000000000073d
sctlr_EL3 = 0x000030cd183f
CPTR_EL3 = 0x0000000000000000
TCR_EL3 = 0x000080803520
DAIF = 0x00000000000002c0
MACE_EL3 = 0x00000000004404ff
spsr_EL3 = 0x0000600003c9
ELR_EL3 = 0x00000000fff4f528
ttbr0_EL3 = 0x000070010c00
ESR_EL3 = 0x00000000bf000000
FAR_EL3 = 0x0000000000000000
spsr_el1 = 0x0000000000000000
ELR_EL1 = 0x0000000000000000
spsr_abt = 0x0000000000000000
spsr_und = 0x0000000000000000
spsr_IRQ = 0x0000000000000000
spsr_fiq = 0x0000000000000000
sctlr_el1 = 0x000030d00801
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000000000
csselr_el1 = 0x0000000000000000
SP_el1 = 0x0000000000000000
ESR_el1 = 0x0000000000000000
ttbr0_el1 = 0x0000000000000000
ttbr1_el1 = 0x0000000000000000
MACE_EL1 = 0x0000000000000000
amair_el1 = 0x0000000000000000
TCR_el1 = 0x0000000000800080
tpidr_el1 = 0x0000000000000000
tpidr_el0 = 0x0000000000000000
tpidrro_el0 = 0x0000000000000000
PAR_EL1 = 0x0000000000000000
mpidr_el1 = 0x000080000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contexttidr_el1 = 0x0000000000000000
Vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000000
cntp_cval_el0 = 0x0000000000000000
CNTV_ctl_el0 = 0x0000000000000000
CNTV_cval_el0 = 0x0000000000000000
Cntkctl_el1 = 0x0000000000000000
SP_el0 = 0x00007000a3d0
ISR_el1 = 0x0000000000000000
dacr32_el2 = 0x0000000000000000
ifsr32_el2 = 0x0000000000000000
cpuectlr_el1 = 0x0000001b00000040
cpumerrsr_el1 = 0x0000000000000000
l2merrsr_el1 = 0x0000000000000000
请告诉我为什么会收到此崩溃消息。
在 uboot dts 和 dtsi 中配置了 mcspi6。
谢谢、此致、
Lakshmi Shetty
您好、Lakshmi、
u-boot 甚至 SPL 侧都不支持 SSPI、尚未验证。
专家建议尝试使用 Linux。
https://e2e.ti.com/support/processors/f/791/t/947437
上述常见问题解答讨论了在 Linux 上使用 SPI_DEV 的情况。
-凯尔西