This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL Linux /dev/mem and Pinmux

Hi,

I want to change PINMUX   assignments on the fly during Linux running.

As it is not that difficult in DSP on OMAPL137/ 138 I used similar idea on  Linux, possibly without writing kernel mode driver.

My idea is that i will use /dev/mem interface and mmap function to map PINMUX registers and KICK registers (as i should unlock them before writing to PINMUX) and act as i have direct access to PINMUX settings from user space application.

I have something like that compiled but I haven't observed it working.

My question is this "idea" can work  or it is impossible because of some Linux  internals.

 

  • Hi Krzysztof,

    I don't see any Linux internals blocking you doing something like this, although I don't find the architecture of such a solution beautiful -[*st]  Seen from a purely technical point of view it should though be possible to make it work [:)]

    Good luck
      Søren