Hi rajtantajtan
I'm struggling on the same issue, but I succeded in u-boot tests
I use a SPI NOR spansion S25FL128S memory attached to a i.MX28 EVK
First I applied patches on u-boot and kernel that I've found in https://community.freescale.com/docs/DOC-9363
Build ltib and run u-boot from SD card.
I can test the device:
MX28 U-Boot > sf probe 2:0
16384 KiB S25FL129P_S25FL128S_64K at 2:0 is now current device
MX28 U-Boot > sf write ....
MX28 U-Boot > sf read .....
from linux I see that nodes /dev/mtd are not created. I don't know why.
So using 'mtd_debug' does fail
regards
jordi