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.

TDA2SX: Need Your inputs regarding how to flash an image to SNOR flash(mx25u12835f)

Part Number: TDA2SX

Hi all,

I am working on TDA2SX processor,I am working on my custom board.

In our custom board we have one SNOR Flash(MX25U12835F) which is macronix chip & connected via spi interface to processor.

I want to flash an image to this nor flash & store that image in this flash.

I have studied in some some links accessing the flash in linux needs spi framework & spi-nor framework & the chip driver.Below is the link which i have referred.

So,According to this I understood that TI has support of m25p80 driver which is communicating with spi-core & spi-nor frameworks.

I want to know three things:

1. How to flash an image in to SNOR/NOR flash.Any procedure is there?

2. After the driver detects the chip we will get the /dev/mtd node so can i use mtdutils like flashcp & flasherase from userspace to write an image in to SNOR/NOR?

3. Whether,the existing driver in kernel(m25p80) will be useful for the SNOR chip what i am using in my custom board,by adding the device information in dts & inside the drivers ?

Please help me & guide me how to do this.

Thanks & regards,

A.Kavya Harini.