Hi,

I believe I've got all the steps correct for compiling and loading a PRU 
Cape example, except it's not working.

1) Add #include "am335x-boneblack-prucape.dtsi" to the bottom of 
/opt/source/dtb-4.9-ti/src/arm/am335x-boneblack.dts
2) Run make clean && make
3) cd /opt/source/pru-software-support-package && make to make the demos.
4) sudo cp 
/opt/source/pru-software-support-package/pru_cape/pru_fw/PRU_LED0 
/lib/firmware
5) sudo ln -s /lib/firmware/PRU_LED0 /lib/firmware/am335x-pru0-fw
6) Remove and insert pru_rproc

I verify that the device blob in /boot/dtbs/xxx/ has been successfully 
generated (by looking at the date)
I verify that my simlink is correct in /lib/firmware

And yet I can't get anything working.

Can someone confirm my steps above are correct?

The only things that happened and/or are a little weird are when generating 
the dtb, I get the following error:
debian@beaglebone:/opt/source/dtb-4.9-ti$ make clean
  CLEAN   src/arm
debian@beaglebone:/opt/source/dtb-4.9-ti$ make
  DTC     src/arm/am437x-cm-t43.dtb
  DTC     src/arm/am335x-boneblack-overlay.dtb
Error: src/arm/am335x-boneblack-prucape.dtsi:47.1-10 Label or path tda19988 
not found
FATAL ERROR: Syntax error parsing input tree
Makefile:133: recipe for target 'src/arm/am335x-boneblack-overlay.dtb' 
failed
make[1]: *** [src/arm/am335x-boneblack-overlay.dtb] Error 1
Makefile:81: recipe for target 'all_arm' failed
make: *** [all_arm] Error 2

So I have to comment out this block in am335x-boneblack-prucape.dts

 46 /* Disable all HDMI related nodes due to pin mux conflicts with PRU 
Cape */
 47 &tda19988 {
 48     status = "disabled";
 49 };

Then it compiles.

Also, it's a Beaglebone Black Wireless.  I don't know if that has anything 
to do with pinmuxing or anything (I suspect the wlan chip just takes the 
place of the eth chip, but I have no idea).

Thanks in advance.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/13c9efe2-fa9b-4585-821b-7d57b4efa6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to