On Mon, Oct 30, 2017 at 3:39 PM, Tracy Smith <[email protected]> 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)

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiHmNunG%2BXAS8CZkj7ombZ8oyZrJ89KwNC4JioOeS4ugw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to