On Thu, Nov 20, 2014 at 8:55 PM, Doug Edey <[email protected]> wrote: > So, I'm finding the "Really Simple Cape Manager" anything but simple... > > I made a Java DTO library that would use a JSON file > (https://github.com/DougEdey/SB_Elsinore_Server/blob/master/extras/beaglebone.json) > to create Device Tree Overlays that could be applied easily. > > This created files that could do basic GPIO exports, but I'm > confused/concerned about how to do this for the new RSCM. There's no lines > in the boneblack.dts > (https://github.com/RobertCNelson/rscm/blob/master/3.13-bone/am335x-boneblack.dts) > that indicate which GPIO pins are which, and, much more concerningly to me, > I have no idea how to enable OneWire like I used to, using this > (https://github.com/DougEdey/SB_Elsinore_Server/blob/master/extras/w1.dts) > source. > > Am I missing something very fundamental? Like some documentation or > instructions for how to use RSCM? I have a lot of users who want to use the > BBB and I want to support the latest kernel images.
Yeah, the RSCM was a drunk idea over new years, that got replaced by the "dtb-rebuilder"... https://github.com/RobertCNelson/dtb-rebuilder/tree/3.14-ti It target's the "v3.14.x" branch: https://github.com/beagleboard/linux/tree/3.14 Basic instructions: http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb This explains better then words: https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L45 Essentially uncomment what you need and rebuild.. Note many "perhiperals" are enabled by default, but the "pinmux" isn't wired to them: for example: /* uart1: P9.24, P9.26 */ #include "am335x-ttyO1.dtsi" /* ttyO1 perhiperal */ /* #include "am335x-bone-ttyO1.dtsi" */ /* pinmux for ttyO1 perhiperal */ So if you uncomment the 2nd line, it'll be pinmuxed & enabled, thus ttyO1 would work.. Regards, -- Robert Nelson http://www.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]. For more options, visit https://groups.google.com/d/optout.
