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 EMIF

Other Parts Discussed in Thread: OMAP-L138

I'm working with the OMAP-L138 eXperimenter kit from Logic PD.  It comes with a SDRAM connected via the "DDR2 Memory Controller" EMIF but I'm still unsure how this interface is being driven, as it does not seem to be driven with a Linux driver.  How is this interface driven?

I'm also looking into connecting a NOR or NAND flash to the EMIFA port, and I'm wondering how this can be driven.  Would I need a Linux driver for this or can I use a similar approach to what is currently being done to drive the DDR Mem Controller EMIF?  Please advice.

  • Hi Joe,

    Joe Tijerina said:
    I'm working with the OMAP-L138 eXperimenter kit from Logic PD.  It comes with a SDRAM connected via the "DDR2 Memory Controller" EMIF but I'm still unsure how this interface is being driven, as it does not seem to be driven with a Linux driver.  How is this interface driven?

    The DDR configuration is made by UBL. See file:

    \home\user\OMAPL137_arm_1_00_00_10\REL_LSP_02_20_00_07\PSP_02_20_00_07\board_utilities\armubl\src\device.c

    Joe Tijerina said:

    I'm also looking into connecting a NOR or NAND flash to the EMIFA port, and I'm wondering how this can be driven.  Would I need a Linux driver for this or can I use a similar approach to what is currently being done to drive the DDR Mem Controller EMIF?  Please advice.

    It depend, if you are going to use NAND and NOR only to boot Linux, then you need to edit UBL/U-boot.

    If you want to access the NAND after you boot Linux, the Linux driver supports NAND flash. See in menuconfig, Device Drivers-> Memory Technology Drivers.

    I did not find support for NOR flash.

     

     

  • Thanks for feedback. 

    My next question is about the McBSP, I am looking into using it on the ARM side.  How is this port driven?  Would it need a Linux driver or is it setup in a similar fashion as the EMIF ports.  I'm running Timesys Linux on the ARM but they don't seem to support the McBSP and I'm wondering if there wasa reason to not support it.

  • Hi Joe,

    Please see page 5 if the document at:

    \home\user\freon\OMAP_L138_arm_1_00_00_04\DaVinci-PSP-SDK-03.20.00.05\docs\DataSheet-03.20.00.05.pdf

    McASP is supported by the Alsa sound driver, but McBSP is not supported by the Linux drivers. So you would need to develop a driver for McBSP, but that could be too hard. So if you can use McASP instead I would recommend that.

     

     

  • Greetings.

    It looks like the kernel now contains McBSP support (/var/log/dmesg reports "McBSP:Probed McBSP1").  But are all of the pieces in place for this to work -- does Alsa now support McBSP, etc...?

    Thank you for your time.

    Jon