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.

GPMC CS6 didn't act

Other Parts Discussed in Thread: OMAP3530, SYSCONFIG

Hi,all

    i'm a newbiee with gpmc.I want read fpga use gpmc,and i copy the config from this forums as:

    gpmc_cs_write_reg(fpga_dev.gpmc.gpmc_cs, GPMC_CS_CONFIG1,0x28001000);

   when read used cat /dev/fpga,I can watch nOE wave but CS6(i used gpmc cs6) do not appear.

  Can someone give me any advice?

  • You didn't mention which device you're using.  Perhaps check the pin muxing.

  • First,Thanks for your answer.

    I am use beagel board likely,cpu is omap3530.I want to configure gpmc nor flash likely used cs6.here is my configuration:

    uboot:

          MUX_VAL(CP(GPMC_nCS4),      (IDIS | PTU | EN  | M0))\
          MUX_VAL(CP(GPMC_nCS5),      (IDIS | PTU | EN  | M0))\
          MUX_VAL(CP(GPMC_nCS6),      (IDIS | PTU | EN  | M0))\
    in my driver:

        gpmc_write_reg((long unsigned)fpga_dev.gpmc.gpmc_baseaddr,GPMC_SYSCONFIG, 0x18);
        gpmc_write_reg((long unsigned)fpga_dev.gpmc.gpmc_baseaddr,GPMC_CONFIG, 0x12);
        gpmc_cs_write_reg(fpga_dev.gpmc.gpmc_cs, GPMC_CS_CONFIG1,0x00001000);
        gpmc_cs_write_reg(fpga_dev.gpmc.gpmc_cs, GPMC_CS_CONFIG7,0x00000f70);


    when system boot,print " Uncompressing Linux....done,"and hangs.I disable "gpmc_cs_write_reg(fpga_dev.gpmc.gpmc_cs,GPMC_CS_CONFIG7,0x00000f70),system boot correctly.

    Can you give me some advice?Thanks again!