On Sun, Mar 3, 2019 at 7:46 AM Pablo Montalti <[email protected]> wrote: > > Hi Robert, Phil > > Thanks for the fast response. So some conclusions that I´m reaching are > > . Waht I need for my pogram is to code some .c files to start a > communication through a UART. > . I'll need to change a pin function to use the UART2_RX (P9_8), that > according the reference manual it´s not by default the UART2_RX. > . I believe that my options are: > > . (a) I need to edit the DTB?. Compile a DTS file where this pin is > configured as I want > . (b) Recompile the kernel with the Phil option (config-pin.c) , and I > can just edit a file (in /sys) > . (c) Is there an API function, like open(), that can let me change > the pin function directly in the .c source of my program? > > Thanks a lot for the support, sorry to ask so many things.
For the xM "today" you need to rebuild the *.dtb, which kernel are you currently using? (uname -r) I have a helper repo to make just re-building the *.dtb easier so you don't need to rebuild the whole kernel every time.. 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/CAOCHtYgiQwy18GYnbi3LK1QB%3D%2BCBayQ9qJi0gL54xd5WAerTyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
