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.

AM1808 access for EMIF-A

Hello.
I want to use the EMIF-A(async interface) on the AM1808 evm board(LOGIC ZOOM develop kit).
I will connect a FPGA to EMIF-A.
SDK Version is ti-sdk-am180x-evm-05.03.02.00-Linux-x86-Install.

I used a /dev/mem, mmap and ioremap on the linux.
I can't access the EMIF-A.

I can access for the EMIF-A from u-boot.

Should be I rebuild linux kernel for the EMIF-A?
If I need to rebuild,
Please, how to setting or config for EMIF-A access.

Best regards,
Hideki Ishihara.
  • Hi Hideki,

    To use EMIF-A, u first need to set the appropriate pin mux settings. Its better to do that in u-boot or kernel, i did that in the kernel.

    Add this to the end of function da850_evm_init() in which all pin-muxing is done in the ../kernel_source/..../board-da850-evm.c file:

    // initialize emif pin mux
        ret = davinci_cfg_reg_list(da850_emif25_pins);
        if (ret)
            pr_warning("da850_evm_init: EMIF mux setup failed:"
                            " %d\n", ret);

    Compile the kernel and and use the compiled binary (uImage) for booting am-1808

    After the emif pin mux settings u might not be able to use sd-card (happened in my case) so u might have to boot from network instead of sd-card. To boot from network follow this guide.

    Use this code for configuring and using emif.

    Hope this helps!

    Regards

    Usama