I am using linux sdk 06.00.00.00, can you point out where the NOR flash driver of AM335X is present?
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.
I am using linux sdk 06.00.00.00, can you point out where the NOR flash driver of AM335X is present?
Hi Sankar,
Are you referring to the SPI NOR flash on the AM335x GP EVM?
Best regards,
Miroslav
Hi Miroslav,
No. I am in need for Parallel NOR flash; which is connected to GPMC.
Sankar, if the NOR flash is CFI compliant, the CFI command-set drivers are located in <linux_dir>/drivers/mtd/chips/.
The three command sets are:
The generic utility functions, not dependent on command set are inside <linux_dir>/drivers/mtd/chips/cfi_util.c.
The mapping drivers for chip access are inside <linux_dir>/drivers/mtd/maps/. The physmap.c driver is the generic mapping driver. If you can't use the generic physmap.c driver with your flash, you may use it as a reference to write your own mapping driver.
For more info please read the last two paragraphs here: http://www.righthandtech.com/embedded-linux-managing-memory.php#Flash_Chip_X_Supported
Best regards,
Miroslav
Thanks for the pointers, I was referring the below link for AM3517. If we just use similar way with AM335X and the driver that you had mentioned, that should be sufficient right?
http://processors.wiki.ti.com/index.php/AM35x-NOR-Flash-Support-ApplicationNote#Building_the_Linux_Kernel
Sankar, I haven't really tried this, but I guess so, yes.
Best regards,
Miroslav