but my mtdinfo output as below:
root@freescale ~$ mtdinfo -a
Count of MTD devices: 2
Present MTD devices: mtd0, mtd1
Sysfs interface supported: yes
mtd0
Name: gpmi-nfc-0-boot
Type: nand
Eraseblock size: 524288 bytes, 512.0 KiB
Amount of eraseblocks: 40 (20971520 bytes, 20.0 MiB)
Minimum input/output unit size: 4096 bytes
Sub-page size: 4096 bytes
OOB size: 224 bytes
Character device major/minor: 90:0
Bad blocks are allowed: true
Device is writable: true
mtd1
Name: gpmi-nfc-general-use
Type: nand
Eraseblock size: 524288 bytes, 512.0 KiB
Amount of eraseblocks: 2008 (1052770304 bytes, 1004.0 MiB)
Minimum input/output unit size: 4096 bytes
Sub-page size: 4096 bytes
OOB size: 224 bytes
Character device major/minor: 90:2
Bad blocks are allowed: true
Device is writable: true
As you see, settings should be 512KiB, 516096, 2048, 4096 ?
Also, a hour ago I realized that if I boot from nand, it does not loaded linux from nand. But if I load the linux from mmc card, then I can access rootfs in the nand flash.
How can I solve this issue?