On Thu, Nov 29, 2018 at 11:49 AM Ken Shirriff <[email protected]> wrote: > > I want to use P9_19 and P9_20 (so I have a set of contiguious GPIOs), but > they are allocated by i2c2. Is there a way to free up these pins so I can use > them in my overlay? I found a discussion in this thread but no clear answer. > > Some options I'm considering: > Option 1: build a new kernel. I'd rather avoid this. > Option 2: decompile am335x-boneblack.dtsi and modify it. Would this work? I > couldn't find this file on my BBB. > Option 3: do something in the overlay? Is there a way to unallocate > previously allocated pins? > > Freeing up the HDMI pins was straightforward, just don't load the overlay, > but i2c2 seems to be more hardwired. Any suggestions?
Under /opt/source/dtb*/ you'll find a git repo with just the device tree. Depending on what kernel your running there should be 1 to 3 different directories (dtb-4.4-ti/dtb-4.9-ti/dtb-4.14-ti) make sure to do a git pull on any of those directies first, then make your changes and just run: make sudo make install and then reboot.. * this is the head repo for those dir's : https://github.com/RobertCNelson/dtb-rebuilder 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/CAOCHtYgnOtqmnYZrf2jOYQ4Nn8J3o2je%2BPsrMZEQVhY9928giw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
