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.

    Regards.


El dom., 3 de mar. de 2019 a la(s) 06:09, Philip Munts (
[email protected]) escribió:

> You could try my config-pin replacement written in C:
> http://git.munts.com/muntsos/bootkernel/initramfs/config-pin.c
>
> Unlike the original config-pin script, my replacement derives all pin
> configuration information by reading files in /sys, and doesn't have any
> platform dependencies.  I haven't used an xM in years but it seems like it
> ought to work.
>
> Phil
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/0hE_an7mfag/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/b7742cc3-1132-46ab-8d77-49023e64305d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANibfWmb%2BvBOJonj6DT3rTp8JcnTXCMXDmEV397%2BeSz%3DXjjV8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to