Beaglebone AI - Configuring IO pins

Hi,

I am trying to work with Beaglebone AI board. In Beaglebone Black I was able to configure pins using command config-pin.

Example: config-pin -a p9.12 gpio would configure that pin as GPIO.

But in AI board, such commands are not working and returns the following.

root@beaglebone:~# config-pin -a p9.25 gpio
P9_25 pinmux file not found!
Pin has no cape: P9_25

I tried changing in uEnv.txt file (enable_uboot_cape_universal=1) and it didn’t help.

Can anyone help me in this regard?

Thanks and Regards,
Raajeshwar.

What image are you using? i don’t think we ever finished config-pin for the BBAI? Make sure you are using the v4.19.x based kernel that the GSOC student made work:

Grab one of the am57xx* based images from Index of /rootfs/bb.org/testing/2021-10-01 which has the correct v4.19.x-ti kernel…

Regards,

1 Like

I used kernel 4.14.108-ti-r113 and had hard time in configuring IOs, SPI everything as config-pin wasn’t supported. Thanks for your reply. I will try it out in the image you have sent and see how it works.

Thanks and Regards,
Raajeshwar