Hi TJF,
It seems that I got excited too soon.
If I load libpruio-00A0.dtbo like this (as root):
echo libpruio > /sys/devices/bone_capemgr.9/slots
the overlay appears to load, but the pins are not configured. Here's what
shows up in dmesg:
[ 136.836467] bone-capemgr bone_capemgr.9: part_number 'libpruio', version
'N/A'
[ 136.836647] bone-capemgr bone_capemgr.9: slot #7: generic override
[ 136.836691] bone-capemgr bone_capemgr.9: bone: Using override eeprom
data at slot 7
[ 136.836738] bone-capemgr bone_capemgr.9: slot #7: 'Override Board
Name,00A0,Override Manuf,libpruio'
[ 136.836990] bone-capemgr bone_capemgr.9: slot #7: Requesting part
number/version based 'libpruio-00A0.dtbo
[ 136.837037] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware
'libpruio-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[ 136.849312] bone-capemgr bone_capemgr.9: slot #7: dtbo
'libpruio-00A0.dtbo' loaded; converting to live tree
[ 136.976389] bone-capemgr bone_capemgr.9: slot #7: #3 overlays
[ 137.311770] omap_hwmod: pruss: failed to hardreset
[ 137.328365] pruss_uio 4a300000.pruss: pins are not configured from the
driver
[ 137.335639] bone-capemgr bone_capemgr.9: slot #7: Applied #3 overlays.
Subsequently, the ADC works as before, but the button example fails:
➜ libpruio-0.2 sudo src/examples/button
1
sh: echo: I/O error
pin re-configuration failed (pinmux failed: P8_07 -> x7F)
press any key to quit
Any suggestions about how to proceed from here? Is it a problem with the
uio_pruss module? Or with libpruio?
Brandon
On Thu, Apr 2, 2015 at 2:53 AM, TJF <[email protected]> wrote:
> Thanks for feedback, Brandon.
>
> Am Mittwoch, 1. April 2015 20:00:02 UTC+2 schrieb Brandon Stafford:
>>
>> I was able to execute:
>>
>> sudo echo libpruio > /sys/devices/bone_capemgr.9/slots
>>
>> That produced this in dmesg:
>> ...
>>
> [ 796.652764] omap_hwmod: pruss: failed to hardreset
>>
>
> I also get this message here, but it works for me. (It seems that some
> driver programmers learned to output error messages at m$.)
>
>
>> After this, the analog pins worked as expected:
>>
>
> ADC always works, no matter which overlay you used to switch the PRUSS on.
> The question is: can you execute examples with run-time pinmuxing, like
> button or stepper?
>
> BR
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>
--
Brandon Stafford
Rascal Micro: small computers for art and science
Somerville, MA, USA
--
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].
For more options, visit https://groups.google.com/d/optout.