Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

serial flash EPCS memory on uClinux (no driver found)

Hi,

I'm just trying to configure uClinux to manage Altera EPCS controller.

I follow indications as described in alterawiki mtd devices

but the option

[*]altera spi controller does not apear on my menu config.

Also, the files /drivers/mtd/chips/epcs.h, epcs.c epcs_low epcs_map are not present in the source.

I've got uclinux nios2-linux-20090730.tar kernel 2.6.30 from alterawiki

Does anyone know if uClinux support EPCS memory ?

Should I try linux instead uClinux ?

thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The EPCS flash is just a standard SPI flash device. I think the Linux kernel supports the EPCS flash using the MTD SPI driver for the ST M25Pxx.

    The source code file for this driver is under drivers/mtd/devices/m25p80.c
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks a lot Bruce,

    I'll try this driver and I'll tell you if I've had success.

    By now my hardware is not ready and it may take a bit.

    bye! :)