Here is a possible example overlay that configures pinmuxes
with the expectation that the pru's will use them. There is
likely a similar example in that long list of overlays that
disables hdmi.
https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/AM335X-PRU-RPROC-4-19-TI-PRUCAPE-00A0.dts
Note its entirely possible these examples won't build or apply
correctly on a different kernel version, but they should still
be a decent starting point.
On Thu, Dec 21, 2023 at 6:34 AM Lukasz Przenioslo
<bremenpl@gmail.com> wrote:
Hello there,
I was able to compile the Poky image (Dunfell) with meta-ti
included for the BBB. I am working on an open source project
intended for home automation based on the BBB:
https://github.com/Beaglenode/BeagleNodeHW
The next step I am trying to make is to prepare a proper
device tree overlay that would align with the HW
requirements of this project (or "cape"). I need to:
- Disable the HDMI pins,
- configure multiple pins as either PRU0 or PRU1 controlled.
For that I thought the best approach would be to prepare a
DTO, instead of modifying the default one for BBB. I don't
know how to prepare that DTO yet and I don't know how to
include it in my build. I would like to ask for some help in
this manner, especially the prior part (how to load the
custom DTO). Right now I am still modifying everything in
the local.conf, as I do not have the knowledge yet to build
my own distro for this device (that's the end plan).
I would appreciate all help!