On Mon, Oct 30, 2017 at 3:39 PM, Tracy Smith <
tlsmi...@gmail.com> wrote:
> Thanks Robert this is great! Please let me know how it goes. I need to
> pinmux different pins D18/D17 and E17/E18 for CAN1 and CAN2. The CAN pins
> are used for UART or other. What is the pinmuxing file that should be
> modified for this?
>
> config-pin P9.24 can
> config-pin P9.26 can
Using the "latest" kernel builds from this last weekend..
4.4.91-ti-r135/4.4.91-ti-rt-r135
4.9.59-ti-r73/4.9.59-ti-rt-r73
4.14.0-rc7-ti-r6
4.13.10-bone3/4.13.10-bone-rt-r3
Now support
config-pin P9.19 can
config-pin P9.20 can
On startup:
https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md
you can do:
#!/bin/bash
config-pin P9.19 can
config-pin P9.20 can
config-pin P9.24 can
config-pin P9.26 can
> I need to have everything in a build for a release and not only enabling CAN
> on an existing boot. So, any script based mods pulled from repos on a
> booted system, I need to add to the appropriate files for that release. The
> pinmux in particular for the kernel. What is equivalent to the uboot pinmux
> file for the 4.14 kernel?
So the other option, just hard code the can nodes, using dtb-rebuilder:
https://github.com/RobertCNelson/dtb-rebuilder
(pick a branch that matches your kernel)