No success for me.

I am compiling on the BBB with the preinstalled clpru (debian iot image). 
The PRU Software Support Package is up to date (ahead of tag: v4.0.2).

First I followed:
https://groups.google.com/d/msg/beagleboard/IKVmIjvXnIs/uT9BLmTfAQAJ

- In the lab_5/solution/PRU_RPMsg_Echo_Interrupt1/Makefile:
  To
  INCLUDE=--include_path=../../../include 
--include_path=../../../include/am335x
  I added
  --include_path=/usr/include/arm-linux-gnueabihf

- In /usr/include/arm-linux-gnueabihf/gnu/stubs.h  I replaced
  <gnu/stubs-soft.h> with <gnu/stubs-hard.h>.
  (stubs-soft.h does not exist)

- To lab_5/solution/PRU_RPMsg_Echo_Interrupt1/main.c I added
  #include <err.h>
  
  and replaced
  //#define CHAN_NAME                                     
"rpmsg-client-sample"
  #define CHAN_NAME                                       "rpmsg-pru"
  
- After the above steps
  make
  cp gen/*.out /lib/firmware/am335x-pru1-fw
  rmmod -f /lib/modules/4.4.9-ti-r25/kernel/drivers/remoteproc/pru_rproc.ko
  insmod /lib/modules/4.4.9-ti-r25/kernel/drivers/remoteproc/pru_rproc.ko

  - dmesg -wH:
    [ +11.888878]  remoteproc1: 4a334000.pru0 is available
    [  +0.000033]  remoteproc1: Note: remoteproc is still under development 
and considered experimental.
    [  +0.000014]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and 
backward compatibility isn't yet guaranteed.
    [  +0.000599] pru-rproc 4a334000.pru0: booting the PRU core manually
    [  +0.000025]  remoteproc1: powering up 4a334000.pru0
    [  +0.000174]  remoteproc1: Booting fw image am335x-pru0-fw, size 32664
    [  +0.000073]  remoteproc1: remote processor 4a334000.pru0 is now up
    [  +0.000034] pru-rproc 4a334000.pru0: PRU rproc node 
/ocp/pruss@4a300000/pru0@4a334000 probed successfully
    [  +0.001184]  remoteproc2: 4a338000.pru1 is available
    [  +0.000045]  remoteproc2: Note: remoteproc is still under development 
and considered experimental.
    [  +0.000014]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and 
backward compatibility isn't yet guaranteed.
    [  +0.005725] bone_capemgr bone_capemgr: Baseboard: 
'A335BNLT,00C0,0816BBBK0456'
    [  +0.000052] bone_capemgr bone_capemgr: 
compatible-baseboard=ti,beaglebone-black - #slots=4
    [  +0.000049] bone_capemgr bone_capemgr: Failed to add slot #1
    [  +0.011166]  remoteproc2: powering up 4a338000.pru1
    [  +0.000046]  remoteproc2: Booting fw image am335x-pru1-fw, size 79172
    [  +0.000187] ti-pruss 4a300000.pruss: configured system_events = 
0x0800000000000000 intr_channels = 0x00000002 host_intr = 0x00000002
    [  +0.000018]  remoteproc2: remote processor 4a338000.pru1 is now up
    [  +0.000843] virtio_rpmsg_bus virtio0: rpmsg host is online
    [  +0.000053]  remoteproc2: registered virtio0 (type 7)
    [  +0.004341] pru-rproc 4a338000.pru1: PRU rproc node 
/ocp/pruss@4a300000/pru1@4a338000 probed successfully
    [  +0.024956] bone_capemgr bone_capemgr: Baseboard: 
'A335BNLT,00C0,0816BBBK0456'
    [  +0.000056] bone_capemgr bone_capemgr: 
compatible-baseboard=ti,beaglebone-black - #slots=4
    [  +0.000051] bone_capemgr bone_capemgr: Failed to add slot #1

      
- And then (partly redundant)
  modprobe pru_rproc
  modprobe virtio_rpmsg_bus
  modprobe rpmsg_pru


Howevern no /dev/rpmsg_pru* appears. What am I doing wrong?
Hoping to get some hints
Torben

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/795f3e0e-8ab5-4dd3-a4be-45338c05740b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to