Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
787 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
50 Views

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
Honored Contributor I
50 Views

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! :)
Reply