Trying to get 1Gb Samsung nand flash working

Kyungmin Park kyungmin.park at samsung.com
Fri Mar 4 22:02:08 EST 2005


> The flash works well in U-boot enviroment with jffs2 but I 
> can´t get it running i Linux.
> The chip i detected but then it reads badblocks on the entire chip.
> 
> "Scanning device for bad blocks
> nand_read_oob: from = 0x00000000, len = 2 Bad eraseblock 0 at 
> 0x00000000"
> ..and so on.
>  I´ve used the same driver running a 64Mb nandflash with good result.
> 
> Anyone else who used this chip?

omap_nor_cs3: Found 1 x16 devices at 0x0 in 16-bit bank
omap_nor_cs3: Found 1 x16 devices at 0x1000000 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Creating 4 MTD partitions on "omap_nor_cs3":
0x00000000-0x00020000 : "bootloader"
0x00020000-0x00040000 : "params"
0x00040000-0x00240000 : "kernel"
0x00240000-0x02000000 : "filesystem"
MUX: initialized L3_1610_FLASH_CS2B_OE
MUX: initialized M8_1610_FLASH_CS2B_WE
No NAND device found!!!
No NAND device found!!!
NAND device: Manufacturer ID: 0xec, Chip ID: 0x79 (<NULL> NAND 128MiB 3,3V
8-bi)
NAND bus width 16 instead 8 bit
NAND device: Manufacturer ID: 0xec, Chip ID: 0x79 (Samsung NAND 128MiB 3,3V
8-b)
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00010000 : "Booting Image"
0x00010000-0x00050000 : "U-Boot"
0x00050000-0x00080000 : "U-Boot Environment"
0x00080000-0x00280000 : "Kernel"
0x00280000-0x08000000 : "File System"

There's no problem :)

% Test environment

kernel: Linux version 2.6.11-omap1

Kyungmin Park





More information about the linux-mtd mailing list