NAND Flash.... ll_rw_block error report...
Kim Sang Hun
shkim at dsp.snu.ac.kr
Tue Oct 30 05:12:17 EST 2001
Before saying problem, i'll explain my environment...
ARM920T + NAND Flash...
Linux kernel 2.2.13
So, I use MTD for 2.2.18 and patch manualy...
and modify spia.c
Kernel configuration is
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=0
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_ECC=y
CONFIG_MTD_NAND_SPIA=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
and.... booting linux
> root> cat /proc/mtd
> mtd0: 0x00200000 "spia NAND flash partition 1"
---> Find my nand flash...(ok?)
When I command read/write/erase using /dev/mtd0 , all operations work
well.
PROBLEM..........PROBLEM.........
but.
To use JFFS.
> root> dd of=/dev/mtdblock0 if=jffs.img
> mtdblock_open
> ok
> ll_rw_block: Trying to read nonexistent block-device 1f:00 (0)
> /dev/mtdblock_release
> mtdblock0: Input/output error
> nand_sync:called
> ok
Failure happen in "checking dev->request_fn" ( in functin
ll_rw_block)
I don't know the reason why this happen...?
######################################
Sang-Hun , Kim
Multimedia Systems Lab. SNU
School of EE. Seoul National Univ.
E-Mail : shkim at fdma.snu.ac.kr
Http://fdma.snu.ac.kr/~shkim
HP : 017-398-6203
######################################
More information about the linux-mtd
mailing list