Hello,
I would like to boot from SPI flash, but to configure file system in the Nand, Is it possible ? (When I do >cat /mtd/proc I see the partitions in SPI), as if the Nand is not initiailized.
Best Regards,
Ran
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.
Hi Ran,
On OMAP-L138, MMC and NAND cannot be used together as they share pins. So you have to disable MMC from menuconfig to be able to see NAND partitions.
Regards, Sudhakar
Hi Ran,
MMC means multi media card. On OMAP-L138 MMC/SD (secure digital) interface is muxed with AEMIF. If you see the schematic, the following pins are muxed.
EMA_A_14 / MMCSD0_D7 EMA_A_15 / MMCSD0_D6 EMA_A_16 / MMCSD0_D5 EMA_A_17 / MMCSD0_D4 EMA_A_18 / MMCSD0_D3 EMA_A_19 / MMCSD0_D2 EMA_A_20 / MMCSD0_D1 EMA_A_21 / MMCSD0_D0 EMA_A_22 / MMCSD0_CMD
Hence both NAND and MMC/SD cannot be used together.
Regards, Sudhakar
Hi Ran,
In your first mail in this thread, you were mentioning about not being able to see both SPI and NAND partitions together. Let me explain the reason for this.
If you are using a release from the PSP team (or from SDK), you'll be running "make da850_omapl138_defconfig" as part of building the kernel. In this defconfig, we have enabled SPI and MMC/SD and disabled NAND as NAND and MMC/SD cannot work together as they share pins. I have explained in my previous mail. So in order to get both SPI and NAND to work in Linux, you have to re-compile Linux (using make menuconfig), disable MMC/SD and enable NAND. Please see http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1#NAND for information on how to enable in NAND.
Regards, Sudhakar