Part Number:AM3358
Tool/software: Linux
I'm building my custom image for AM335x SoC using buildroot. The board is Beagle Bone Black compatible. Now I'm trying to add RPMsg support to my zImage (I'm using PRU Training: Hands-on Labs guide). But when I do
echo 'PRU_RPMsg_Echo_Interrupt1.out' > /sys/class/remoteproc/remoteproc0/firmware echo 'start' > /sys/class/remoteproc/remoteproc0/state
I get a following error in dmesg:
[ 409.633006] remoteproc remoteproc0: powering up 4a334000.pru [ 409.640022] remoteproc remoteproc0: Booting fw image PRU_PRMsg_Echo_Interrupt1_1.out, size 76944 [ 409.655059] pruss 4a300000.pruss: channel 1 (req. intr_no 1) already assigned to intr_no 1 [ 409.664030] pru-rproc 4a334000.pru: failed to configure pruss intc -17 [ 409.670867] remoteproc remoteproc0: Failed to process post-loading resources: -17 [ 409.678908] remoteproc remoteproc0: Boot failed: -17
As far as I understood the numbers of system events (interrupts) that are used for communication between ARM and PRU are 15 16 17 18 (It's stated in the device tree and PRU project). So, why am I getting these errors?
I've attached my device tree source file, my linux config file, dmesg log, the project that I am trying to load is PRU_PRMsg_Echo_Interrupt1 from examples. Thanks!)
(Please visit the site to view this file)