Yeah it’s fine.. right now we don’t have a drop in replacement for cape universal from 3.8 → 5.10 eras… I’ve elected to let the logic run as is in u-boot as nothing is broken, and leave room for future openings in that u-boot path..
Usually if your digging this path… Something has broken in your pin setup what peripheral where you using in 5.10?
I used to use config-pin to set the gpio pins and pru pins for my “motor control” that used P8_33 and P8_35 eQEP1B, P8_33 eQEP1A for my encoder. For direction control I used P8_11 r30_15 as pruout. For PWM I used P9_42A pru_apwm. In additon I used the gpio P8_14 amd P8_16 for diagnostics.
I am struggleing with trying to write my own overlay. Your help would be appreciated
TI had patches for specific kernel release’s, today mainline should work with the latest TI for am335x as everyting should be mainline.. but if you built on a specific ti kernel release… yeah..
Not sure what library you are refering to. My app used code composer studio, uploaded to the beaglebone. Created my own PRU_LIbrary. The code used direct register writes to the system/pru registers. My control software from the Linux side emulated the command lines through C++ read and writes.
My library was created originally from a “pru-software-support-package” Oct 21 and updated around Sept 2024 when working on the BBAI64. Probably used version 6.0.0.
I want to use P8_33 & P8_35 as PRU0 inputs ase QEP1B & QEP1A mode 2 connected to a quadrature encoder. Are they enabled in am335x_boneblack.dtb or do I need to with an overlay.
This is what I am propossing to use for an overlay. I use my pru0 for direct register access to the eqep periphereal, example – count = PWMSS1.EQEP_QPOSCNT_bit.QPOSCNT;