Question relates 2K page size flash chip
peter meng
mengsanshui at yahoo.com.cn
Sat Jan 3 04:15:23 EST 2009
Hi
I met a problem that use K9F1G08 flash with 2K page size on Linux .
I tried jffs2 and yaffs2 file system but occurs same error info as following
----------------------------------------------------------
NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
nand_read_oob: from = 0x00000000, len = 64
Bad eraseblock 0 at 0x00000000
nand_read_oob: from = 0x00020000, len = 64
Bad eraseblock 0 at 0x00020000
........
........
nand_isbad_bbt(): bbt info for offs 0x007a0000: (block 61) 0x03
block 46 is bad
nand_isbad_bbt(): bbt info for offs 0x007c0000: (block 62) 0x03
block 47 is bad
nand_isbad_bbt(): bbt info for offs 0x007e0000: (block 63) 0x03
block 48 is bad
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 88K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
------------------------------------------------------------
I checked the /dev/console and /linuxrc is exist on rootfs .
Seems this problem is caused since 2K page size with flash ,so how to resolve this problem ? Whether need do related work within u-boot because I suppose u-boot given wrong data format to flash that Linux mtd does not know it ?
Thanks Advanced .
Best Regards.
Peter Meng
More information about the linux-mtd
mailing list