Hi Dr. Yoder! Thank you for you reply. A uname -a reveals Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018 armv7l GNU/Linux
I have browsed through your book (which looks like an *excellent* resource btw) and came across your Makefile with the 'stop/start' commands. ls -l /sys/devices/platform/ocp/ total 0 drwxr-xr-x 3 root root 0 Oct 19 20:13 40300000.ocmcram drwxrwxr-x 5 root gpio 0 Jan 1 2000 44e07000.gpio drwxr-xr-x 4 root root 0 Oct 19 20:13 44e09000.serial drwxr-xr-x 4 root root 0 Oct 19 20:13 44e0b000.i2c drwxr-xr-x 5 root root 0 Oct 19 20:13 44e35000.wdt drwxr-xr-x 4 root root 0 Oct 19 20:13 44e3e000.rtc drwxr-xr-x 9 root root 0 Oct 19 20:13 47400000.usb drwxr-xr-x 3 root root 0 Oct 19 20:13 48038000.mcasp drwxr-xr-x 3 root root 0 Oct 19 20:13 48042000.timer drwxr-xr-x 3 root root 0 Oct 19 20:13 48044000.timer drwxr-xr-x 3 root root 0 Oct 19 20:13 48046000.timer drwxr-xr-x 3 root root 0 Oct 19 20:13 48048000.timer drwxr-xr-x 3 root root 0 Oct 19 20:13 4804a000.timer drwxrwxr-x 5 root gpio 0 Jan 1 2000 4804c000.gpio drwxr-xr-x 4 root root 0 Oct 19 20:13 48060000.mmc drwxr-xr-x 4 root root 0 Oct 19 20:13 480c8000.mailbox drwxr-xr-x 3 root root 0 Oct 19 20:13 480ca000.spinlock drwxr-xr-x 4 root root 0 Oct 19 20:13 4819c000.i2c drwxrwxr-x 5 root gpio 0 Jan 1 2000 481ac000.gpio drwxrwxr-x 5 root gpio 0 Jan 1 2000 481ae000.gpio drwxr-xr-x 4 root root 0 Oct 19 20:13 481d8000.mmc drwxr-xr-x 4 root root 0 Oct 19 20:13 4830e000.lcdc drwxr-xr-x 3 root root 0 Oct 19 20:13 48310000.rng drwxr-xr-x 4 root root 0 Oct 19 20:13 49000000.edma drwxr-xr-x 3 root root 0 Oct 19 20:13 49800000.tptc drwxr-xr-x 3 root root 0 Oct 19 20:13 49900000.tptc drwxr-xr-x 3 root root 0 Oct 19 20:13 49a00000.tptc drwxr-xr-x 7 root root 0 Oct 19 20:13 4a100000.ethernet drwxr-xr-x 3 root root 0 Oct 19 20:13 4c000000.emif drwxr-xr-x 3 root root 0 Oct 19 20:13 53100000.sham drwxr-xr-x 3 root root 0 Oct 19 20:13 53500000.aes drwxr-xr-x 3 root root 0 Oct 19 20:13 56000000.sgx -rw-r--r-- 1 root root 4096 Oct 19 20:13 driver_override -r--r--r-- 1 root root 4096 Oct 19 20:13 modalias drwxr-xr-x 3 root root 0 Oct 19 20:13 ocp:cape-universal drwxr-xr-x 6 root root 0 Oct 19 20:13 ocp:l4_wkup@44c00000 drwxrwxr-x 3 root gpio 0 Jan 1 2000 ocp:P9_19_pinmux drwxrwxr-x 3 root gpio 0 Jan 1 2000 ocp:P9_20_pinmux lrwxrwxrwx 1 root root 0 Oct 19 20:13 of_node -> ../../../firmware/devicetree/base/ocp drwxr-xr-x 2 root root 0 Oct 19 20:13 power lrwxrwxrwx 1 root root 0 Oct 19 20:13 subsystem -> ../../../bus/platform -rw-r--r-- 1 root root 4096 Oct 19 20:13 uevent So the 4a32600*.pruss-soc-bus are missing. I'm wondering why that would be? I'm also wondering what driver/code create these in the /sys/devices universe? a dmesg | grep pru gives no output The uEnv.txt file (which I'm assuming gets called at boot has the following line uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ls -l /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo -rw-r--r-- 1 root root 3513 Jun 11 14:51 /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo This file does exist, although I'm not sure how to verify that the information in it will cause the PRU's to show up. I'm not sure what's wrong. Thanks again for taking the time to reply. Bill Bitner On Fri, Oct 19, 2018 at 10:19 AM Mark A. Yoder <[email protected]> wrote: > Bill: > Which kernel are you running? (uname -a) I discovered yesterday that > the PRUs didn't work for my students running 4.9, but those running the > newer 4.14 had no trouble. > > --Mark > > p.s. Check out the PRU Cookbook (https://github.com/MarkAYoder/PRUCookbook) > for more examples. > > On Friday, October 19, 2018 at 7:33:58 AM UTC-4, [email protected] wrote: >> >> Hi! >> >> I just picked up a beaglebone black for a new project. I'd like to use >> the PRU's and as such tried to get >> "Hello World" from this link http://theduchy.ualr.edu/?p=996 >> working. The programs all compile but I can't get them >> to run. The major hint I have is looking at /sys/class/remoteproc/ >> shows me only remoteproc0. >> PRU 0 & 1 'don't exist'. I've not modified anything in the boot >> sequence yet. I've looked at >> >> https://groups.google.com/forum/#!category-topic/beagleboard/pru/4P9NdglojBo >> >> which lead me to trying >> echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/unbind >> >> However, this simply gave me permission denied, despite the fact I was >> root. >> >> lsmod shows >> >> pru_rproc 28672 0 >> pruss 16384 1 pru_rproc >> pruss_intc 16384 1 pru_rproc >> >> but not the virtio_rpmsg_bus or other things that seem to be important. >> >> Not sure where to go.. Any help would be appreciated. >> >> Thanks. >> >> Bill Bitner >> >> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/3lVWzlusOIU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/a6fefe59-1e0a-4ac0-b7d0-7170b8019fcb%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/a6fefe59-1e0a-4ac0-b7d0-7170b8019fcb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAOYP4dgQDbOr5HBoLbA6zRpJhM55GhGv19ZXMxKSRKD3D_VK4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
