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.

AM335X Pru SoftUart

Other Parts Discussed in Thread: AM3356, AM3354

我按照这个文档
往我的内核(3.2版本)中添加了SortUart的驱动程序,内核编译的时候跑飞了

pruss_probe+
pruss->res->start=4a300000

ioaddr=e0900000

pruss_mfd pruss_mfd: mfd: added am33xx_pruss_uart device

paddress 0xe0920010

Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0920010
Internal error: : 1008 [#1]

跟踪发现是pruss.c中的arm_to_pru_intr_init(pruss)中有

preg_data = ioread32(paddress)这么一个操作

判断可能是pru时钟域没有打开,但是对比了一下文档中下载的内核和我使用的内核,clockdomains33xx_data.c这个

文件是一样的,不知道打开pru时钟还需要什么操作