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/DRA750:DRA76x:uart8无法正常工作

Guru**** 2590530 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/641409/linux-dra750-dra76x-uart8-can-not-work

器件型号:DRA750

工具/软件:Linux

大家好、


uart8无法在客户 J6Plus 板上工作。

客户正在使用 DCAN1_TX (E18)/DCAN1_RX (D19)来多路复用 UART8_RXD/UART8_TXD。

软件修改如下:

Uboot 中的 mux_data.h

{DCAN1_TX、(M2 | PIN_INPUT_PULLUP | SLEWCONTROL)}、// dcan1_TX.uart8_RxD *
{DCAN1_RX、(M2 | PIN_INPUT_PULLUP | SLEWCONTROL)}、/* dcan1_Rx.uart8_TXD *

DTS 文件

uart8{(&U)
状态="正常";
中断扩展=<&crossbar_MPU GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH_>;

DMA =<&EDMA_Xbar 146 0>、<&EDMA_Xbar 147 0>;
dma-names ="TX"、"Rx";

};


使用控制台进行此验证、但 UART8无法正常工作

-- a/ti_config_frages/android_omap.cfg
++ b/ti_config_frages/android_omap.cfg

CONFIG_CMDLINE="root=/dev/mmcblk0p2 rw init=/init rootfstype=ext4 rootwait drm.rnodes=1 androidboot.selinux=permissive snd.slot_reserved=1、1 snd-so-core.pmddown_time=-1 uio_pdrv_genirq.of_id=generic-uio console=ttyS7、115200=ttyBoot=jacroidevidrandroboard.evidrandevidr2

检查列表:

-1-

引脚多路复用:

root@jacinto6evm:/# omapconf read 0x4a0037d0

000E0002.
root@jacinto6evm:/# omapconf read 0x4a0037d4

000E0002.

-2-

EDMA 纵横制:

UART8_DREQ_TX DMA_crossbar_146 - UART 8–发送请求
UART8_DREQ_RX DMA_crossbar_147 - UART 8–接收请求

root@jacinto6evm:/# omapconf dump 0x4a002c78 0x4a002cf4
警告:芯片未被识别、在安全模式下运行(只允许平台通用功能)。

|------------------------- |
|地址(十六进制)|数据(十六进制)|
|------------------------- |
| 0x4A002C78 | 0x00840085 |
| 0x4A002C7C | 0x00920093 |
| 0x4A002C80 | 0x00000000 |


-3-
MPU IRQ 交叉开关
UART8 UART8_IRQ IRQ_crossbar_219

| 0x4A002B3C | 0x004500DB |

-4-
没有其他引脚可用于多路复用 UART8_TX/UART8_RX


请帮您检查一下。


此致
Joe