On Thu, Oct 24, 2019 at 10:12 AM Jon Morss <jonnym...@gmail.com> wrote:
>
> Hi,
>
> I've been trying to configure a header gpio pin such as P9_15 as an output 
> port on the BBAI but I am having no luck.  This pin is used with the Cloud9 
> Python and JS examples but it is not working so I have tried to enable it 
> manually.
>
> I've added the following in the am5729-beagleboneai.dts file and run make and 
> make install and a reboot:
>
>         cape_pins: cape_pins {
>                 compatible = "gpio-leds";
>                 pinctrl-names = "default";
>                 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
>                 pinctrl-0 = <&cape_pins_default>;
>         };
>
>
>
>  DRA7XX_CORE_IOPAD(0x3514, PIN_OUTPUT | MUX_MODE14) /* AG4: P9.15: 
> vin1a_d8.gpio3_12 - MDIR2A */

^ looks correct..


> The config-pins tools shows
>
> debian@beaglebone:~$ sudo config-pin -q p9.15
> [sudo] password for debian:
> P9_15 pinmux file not found!
> Pin has no cape: P9_15

Don't use config-pin the bbai..

> The show-pins tools shows:
>
> debian@beaglebone:~$ sudo /opt/scripts/device/bone/show-pins.pl
> Can't locate Inline/Files.pm in @INC (you may need to install the 
> Inline::Files module) (@INC contains: /etc/perl 
> /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 
> /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 
> /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 
> /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at 
> /opt/scripts/device/bone/show-pins.pl line 11.
> BEGIN failed--compilation aborted at /opt/scripts/device/bone/show-pins.pl 
> line 11.

sudo apt install libinline-files-perl


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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiApGknihWCTdh5B0Fz75pOTkqoA4Ka%2BN0OUxCH8V5iWw%40mail.gmail.com.

Reply via email to