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.

OMAP-L138 Linux /dev/lcd character driver

Other Parts Discussed in Thread: OMAP-L138, CODECOMPOSER

I am using an OMAP-L138 dev kit with a UI board. I followed the instructions on this wiki page:

http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1#Character_LCD

So I reconfigured the kernel and built (using WindRiver Linux). When I boot the eval board using this build, I would assume that I will need to use "mknod" to create the node:

mknod /dev/lcd c <major> <minor>

Two questions I have:

1) How do I know that I built correctly, with the lcd support? Will it show in the sysfs somewhere?

2) If I had to create using mknod, how do I find out what the "major" and "minor" values are?

Thanks for any information.

  • Hello,

    /dev/lcd should be created automatically. Do you not see it? The filesystem boot-up process automatically creates this using udev.

    Also, if the driver is included correctly, the LCD panel should display the kernel version. You may have to adjust the LCD potentiometer on the board until you see the cursor appear.

    Did you try this with TI release?

    Thanks,

    Sekhar

     

     

  • Thanks for the reply Sekhar.

    I have adjusted the potentiometer on the board, and verified that it works using a sample program from CodeComposer.

    I have not built with TI release, but I'm certain that the WindRiver version that I'm using pulled in DaVinci 03.20.00.12 from TI. WindRiver does not build with udev, therefore I was hoping that there's a way to find out the major/minor number and/or if I can access the driver via mounting the sysfs. Thanks.