Hi, All!
I want to work with SPI NOR flash from linux-c6x (on custom board, on EVM I will check for few days). SPI the same as on EVM6678 - N25Q128 and connected to the CS0. In ti_evmc6678_defconfig I disable option CONFIG_IDLE_LED but my system can't boot. last kernel message:
...
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x2540000 (irq = 276) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
at24 1-0050: 131072 byte 24c1024 EEPROM (writable)
In platform devices I can see that davincy driver was loaded:
/ # ls -l /sys/devices/platform/
drwxr-xr-x 2 root root 0 Nov 30 00:00 serial8250.0
drwxr-xr-x 3 root root 0 Nov 30 00:00 spi_davinci.0
Please, tell me, does anybody worked with SPI flash in linux-c6x?
What I need else in kernel configuration for working with SPI partitions via /dev/mtdblockXX or /dev/mtdXX?
I try different kernel options from TI wiki (for other boards) and google search but has no result at that time. I found that system stop booting if I enable this option in kernel:
CONFIG_MTD_M25P80=y
Thank you.
Vladimir