/* Open PRU Interrupt */ if ((ret = prussdrv_open(PRU_EVTOUT_0))) { printf("prussdrv_open open failed\n"); return; }
Sadly this did not work. I'm using the default kernel/setup from the image bone-debian-8.6-lxqt-4gb-armhf-2016-11-06-4gb.img.xz. It uses kernel 4.4.30-ti-r64. Is there something better to start with? I'd like something newer than the 2012 build I previously had.
I figured out what happened, it wasn't am335x-boneblack.dts, but am335x-boneblack-wireless.dts. Seems like I can talk to the PRU, but I don't see it doing what it should be doing. Need to grab a copy of prudebug and see if I can debug what the PRU is trying to do vs. is doing.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/62ff2009-8a84-49d7-b8e4-b71f2bdd3867%40googlegroups.com.
So whatever way that works for you, is the right way. But yes, in my own opinion loading from uEnv.txt is the proper way. As the pin configurations take place the quickest possible after a boot.
- So you need the overlay in /lib/firmware of course.
- Then you need to add the overlay to the cape_enable=bone_capemgr.enable_partno= line in uEnv.txt
- Finally you'll need to update the initramfs
To update the initramfs You need to:
william@beaglebone:~$ cd /opt/scripts/
william@beaglebone:/opt/scripts$ git pull /* So you need to sudo apt-get install git - If not already installed */william@beaglebone:/opt/scripts$ cd tools/developers/
william@beaglebone:/opt/scripts/tools/developers$ sudo ./update_initrd.sh
william@beaglebone:/opt/scripts/tools/developers$ sudo reboot
Then your custom overlay will be "injected" into the initramfs, and properly load at boot.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/255d6cdc-7ba5-4d31-9f81-dbb1c96bba9a%40googlegroups.com.
Ya know, I figured out what happened, I wish things were a bit better documented, what you indicated above about creating the initramfs fixed it. I believe what happened was I modifed the uEnv.txt file and thought it took my changes, but it didn't. I was running still with HDMI enabled and that conflicted with my DTS.I'll have to reassemble the machine now (I took the board out to put on a scope), but the values in the pinmux/pins file look correct now./Jason
Thanks, that is really sweet looking! No matter what I do when I load my DTO it doesn't seem to change the pinmux/ctrl values unfortunately. Everything in dmesg, journalctl acts as if it worked successfully, but I see no change to the pinmux/ctlr. Is there a kernel (or bone_capemgr) level of debug?/Jason
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAPXoZv97mhYP9eHUY%3DNrjhn6S4_%2BVwe-o_Pe5_XWU0P4G1SytA%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/265b9483-7ba4-4ef5-a4bd-20a9cb91d84d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.