git:/opt/scripts/:[109f74fb87e6034ae1a8971a244064a8d5e090a5]
eeprom:[A335BNLT00C02516BBBK1ED1]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2019-08-03]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-gbb4af0f50f
]:[location: dd MBR]
kernel:[4.14.108-ti-r113]
nodejs:[v6.17.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14
-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
<pkg>]
pkg:[bb-cape-overlays]:[4.14.20200312.0-0rcnee0~stretch+20200312]
pkg:[bb-wl18xx-firmware]:[1.20200226.1-0rcnee0~stretch+20200226]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~stretch+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
plugdev users systemd-journal i2c bluetooth netdev gpio pwm eqep remoteproc 
admin spi tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=
/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 
rng_core.default_quality=100 quiet]
dmesg | grep remote
[    1.305558] remoteproc remoteproc0: wkup_m3 is available
[    1.387041] remoteproc remoteproc0: powering up wkup_m3
[    1.387157] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.
elf, size 217168
[    1.391579] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   24.891910] remoteproc remoteproc1: 4a334000.pru is available
[   24.895704] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   24.852363] pruss 4a300000.pruss: creating PRU cores and other child 
platform devices
[   24.891910] remoteproc remoteproc1: 4a334000.pru is available
[   24.892039] pru-rproc 4a334000.pru: PRU rproc node /ocp/
pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[   24.895704] remoteproc remoteproc2: 4a338000.pru is available
[   24.892039] pru-rproc 4a334000.pru: PRU rproc node /ocp/
pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[   24.895704] remoteproc remoteproc2: 4a338000.pru is available
[   24.895822] pru-rproc 4a338000.pru: PRU rproc node /ocp/
pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
dmesg | grep pinctrl-single
[    0.951949] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 
568
dmesg | grep gpio-of-helper
[    0.964308] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 
802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END




On Thursday, March 19, 2020 at 7:57:00 AM UTC-4, RobertCNelson wrote:
>
> On Thu, Mar 19, 2020 at 6:46 AM <[email protected] <javascript:>> 
> wrote: 
> > 
> > Going through the first PRU example in Exploring Beaglebone (2nd ed). 
> When I try to start the pru I get this: 
> > 
> > debian@beaglebone:/sys/class/remoteproc/remoteproc1$ echo start > state 
> > -bash: echo: write error: Invalid argument 
> > 
> > I get this from dmesg: 
> > 
> > [  100.249395] remoteproc remoteproc1: powering up 4a334000.pru 
> > [  100.249525] remoteproc remoteproc1: loading 
> /lib/firmware/am335x-pru0-fw failed with error -22 
> > [  100.249537] remoteproc remoteproc1: Direct firmware load for 
> am335x-pru0-fw failed with error -22 
> > 
> > I finally found out a workaround after an embarrassing amount of time: 
> replace the am335x-pru*-fw files in /lib/firmware with the the ones in 
> /opt/scripts/device/bone/pru-rpmsg_client_sample/. I actually found them on 
> Robert Nelson's github page and only found out later that they were on the 
> BBB the whole time. 
> > 
> > I've tried a few of the latest images (as of March 2020) from rcn-ee.com 
> and have still been unsuccessful in working with the PRU. In those cases, I 
> don't even see any mention of the PRUs in dmesg. 
> > 
> > Is this a bug, or is there an SOP I haven't found yet? 
>
> Please run & report: 
>
> sudo /opt/scripts/tools/version.sh 
>
> you might be fighting a mis-configuration due to u-boot.. ;) 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/92236d77-ee8a-41ab-8af6-5724acbb298b%40googlegroups.com.

Reply via email to