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.

L138: EMIFA initialization and configuration

Hi,

We are using TI OMAP L138 In our new product. The system design connects the EMIFA with 1Gb NOR flash.

I would like to know, is there any example code for EMIFA initialization and configuration that I can refer in UBL, U-Boot or Linux ?

By the way, I have Logic PD Zoom eXperimenter Kit hardware and DaVinci-PSP-SDK-03.20.00.14 software.

I think EMIFA is not being using on this eXperimenter Kit.

rgds,

kc Wong

  • kc,

    You are correct that EMIFA is not used on the eXperimenter Kit.  However, it is used on the Logic PD EVM to talk to NOR and NAND flash.  Please contact Logic PD about obtaining that software.  Also, you can check out the boot flashing utilities included in the PSP SDK for examples on configuring the EMIFA.

    Regards,

    Brad

  • Thanks, Brad.

    I briefly browsed through the source code in folder DaVinci-PSP-SDK-03.20.00.14/src/utils/nor-flash-writer-03.20.00.14/src, I don't see any EMIFA configuration code.

    Did I miss out something or this is the wrong folder that I am looking at ?

    rgds,

    kc Wong

  • The Linux kernel has configuration options for NOR on EMIF A. Some files:

    arch/arm/mach-davinci/board-da850.c
    arch/arm/mach-davinci/aemif.c
    drivers/mtd/maps/davinci-nor.c

    Start tracing the code in board-da850.c. Look for any NOR or EMIF references. Never used it personally. I can't vouch for it's functionality.

    Not sure about U-Boot. It's fairly NAND centric.

     

  • Norman,

    Thanks for the suggestion.

    rgds,

    kc Wong