On the recent IoT (March 2018) standalone build, on BBB:

I'm trying to enable uio PRUSS, and in /boot/uEnv.txt I uncommented

        uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo

But after rebooting, it seems (I think?) that remoteproc is still what's loaded:

$ lsmod
Module                  Size  Used by
pruss_soc_bus           4788  0
evdev                  13811  1
uio_pdrv_genirq         4205  0
uio                    11036  1 uio_pdrv_genirq
8021q                  24278  0
usb_f_mass_storage     51462  2
garp                    7357  1 8021q
mrp                     9301  1 8021q
stp                     2686  1 garp
llc                     6287  2 garp,stp
usb_f_acm               8610  2
u_serial               13482  3 usb_f_acm
usb_f_ecm              11619  2
usb_f_rndis            26944  2
u_ether                13962  2 usb_f_ecm,usb_f_rndis
libcomposite           55456  16 
usb_f_ecm,usb_f_acm,usb_f_mass_storage,usb_f_rndis
iptable_nat             2512  0
nf_conntrack_ipv4      12035  1
nf_defrag_ipv4          2016  1 nf_conntrack_ipv4
nf_nat_ipv4             6857  1 iptable_nat
nf_nat                 18928  1 nf_nat_ipv4
nf_conntrack          117486  3 nf_conntrack_ipv4,nf_nat_ipv4,nf_nat
iptable_mangle          2303  0
iptable_filter          2453  0
spidev                  9322  0
pru_rproc              14966  0
pruss_intc              9092  1 pru_rproc
pruss                  10889  1 pru_rproc
tieqep                  9111  0
ip_tables              14529  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               22165  3 iptable_mangle,ip_tables,iptable_filter

$ ls /sys/class/uio/
$

$ dmesg | grep pru
[   71.203962] sysfs: cannot create duplicate filename 
'/bus/platform/devices/4a300000.pruss'
[   71.203968] Modules linked in: pruss_soc_bus(+) evdev uio_pdrv_genirq uio 
8021q usb_f_mass_storage garp mrp stp llc usb_f_acm u_serial usb_f_ecm 
usb_f_rndis u_ether libcomposite iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 
nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_filter spidev pru_rproc 
pruss_intc pruss tieqep ip_tables x_tables
[   71.210212] [<c0af705c>] (of_platform_populate) from [<bf12e2d4>] 
(pruss_soc_bus_probe+0x12c/0x290 [pruss_soc_bus])
[   71.210260] [<bf12e2d4>] (pruss_soc_bus_probe [pruss_soc_bus]) from 
[<c08d6350>] (platform_drv_probe+0x60/0xc0)
[   71.210360] [<c08d629c>] (__platform_driver_register) from [<bf131020>] 
(pruss_soc_bus_driver_init+0x20/0xc0 [pruss_soc_bus])
[   71.210382] [<bf131020>] (pruss_soc_bus_driver_init [pruss_soc_bus]) from 
[<c0101d28>] (do_one_initcall+0x64/0x1a0)


In any case, if I try to prussdrv_open(PRU_EVTOUT_0), I get '-1: No such file 
or directory'. Am I missing a step?

Thanks!

-- 
Rick Mann
rm...@latencyzero.com


-- 
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/FCB6661A-CA22-4C78-8694-190FE3F6E676%40latencyzero.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to