On Fri, Oct 23, 2015 at 9:36 AM,  <[email protected]> wrote:
> On Friday, October 23, 2015 at 9:31:57 AM UTC-4, RobertCNelson wrote:
>>
>> On Thu, Oct 22, 2015 at 8:04 PM,  <[email protected]> wrote:
>> > Hi -
>> >
>> > I just our project to 4.1. I made the mods necessary to the dts to
>> > account
>> > for the gpio changes/etc and can load the overlay. However, when I run
>> >
>> > config-pin P9.29 gpio
>> >
>> > to set the pin modes and states, I am faced with:
>> >
>> > bash: /sys/devices/platform/ocp/ocp*P9_29_pinmux/state: No such file or
>> > directory
>> > Cannot write pinmux file:
>> > /sys/devices/platform/ocp/ocp*P9_29_pinmux/state
>> >
>> > It looks like the structure of the ocp dirs has changed - so I assume
>> > this
>> > is expected. But where/how to set the state now is unclear to me. Is
>> > there a
>> > "newer" version of config-pin available?
>>
>> Yeap..
>>
>> > debian@beaglebone:$ uname -r
>> > 4.1.10-ti-r24
>> >
>> > debian@beaglebone:~/puggledriver/apps$ dtc --version
>> > Version: DTC 1.4.1-g8e001df3
>>
>>
>> https://github.com/cdsteinkuehler/beaglebone-universal-io/commits/master/config-pin
>
>
> Pulled that repo, and used that config-pin script to try and I get the same
> errors again. I see the changes you made to the script, however those
> changes are still trying to write to
> /sys/devices/platform/ocp/ocp*P9_29_pinmux/state - but there is no "state"
> file in any of the P* directories. Did I forget a step?...

did you load the cape universal overlay?

https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L239-L273

WFM..

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to