环境:TI官网bealgebone black 开发板,sd 卡启动linux系统
按照PRU Training: Hands-on Labs中的LAB 4: Introduction to Linux driver例程测试pru 功能模块,在系统中执行modprobe pru_rproc命令时,系统打印信息如下:
[ 185.654265] pinctrl-single 44e10800.pinmux: pin 44e108ac.0 already requested by 0-0070; cannot claim for 4a300000.pruss
[ 185.673709] pinctrl-single 44e10800.pinmux: pin-43 (4a300000.pruss) status -22
[ 185.680984] pinctrl-single 44e10800.pinmux: could not request pin 43 (44e108ac.0) from group pru_cape_bone_pins on device pinctrl-single
[ 185.693392] ti-pruss 4a300000.pruss: Error applying setting, reverse things back
[ 185.701045] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 185.710416] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[ 185.722558] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[ 185.756224] remoteproc0: 4a334000.pru0 is available
[ 185.761234] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 185.775491] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 185.797486] pru-rproc 4a334000.pru0: booting the PRU core manually
[ 185.803774] remoteproc0: powering up 4a334000.pru0
[ 185.808922] remoteproc0: Booting fw image am335x-pru0-fw, size 51712
[ 185.815511] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000010000 intr_channels = 0x00000002 host_intr = 0x00000002
[ 185.827480] remoteproc0: remote processor 4a334000.pru0 is now up
[ 185.833708] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[ 185.843785] remoteproc1: 4a338000.pru1 is available
[ 185.848783] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 185.857780] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 185.874555] remoteproc1: header-less resource table
[ 185.879602] pru-rproc 4a338000.pru1: booting the PRU core manually
[ 185.885828] remoteproc1: powering up 4a338000.pru1
[ 185.890949] pru-rproc 4a338000.pru1: rproc_boot failed
[ 185.896176] remoteproc1: releasing 4a338000.pru1
[ 185.901002] pru-rproc: probe of 4a338000.pru1 failed with error -12
这是什么情况
请帮忙分析
Jian Zhou:
请问你用的是哪个版本的SDK?
郑州–大胜:
回复 Jian Zhou:
sdk3.1 版, 这个问题已解决,是设备树和pru1使用的二进制文件有问题造成的