Re: Onenand support in msm7227

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to make working with chip kat007012c, but I got errors:
<6>[    1.436921] flash_onenand_probe: manufacturer_id = 0xec
<6>[    1.450291] flash_onenand_probe: device_id = 0x50
<6>[    1.463681] flash_onenand_probe: version_id = 0x241
<6>[    1.477086] flash_onenand_probe: data_buf_size = 0x800
<6>[    1.490524] flash_onenand_probe: boot_buf_size = 0x200
<6>[    1.503981] flash_onenand_probe: num_of_buffers = 0x101
<6>[    1.517448] flash_onenand_probe: technology = 0x0

So I added values to drivers/mtd/devices/msm_nand.c
I detected but size of  detected blocks wasn`t corrected so I changed
mtd->erasesize = mtd->writesize << 7;
It helped but, nanddump drops from 25mb partition/block over 300mb of
data and whole file contains only FF.
<6>[    0.706874] flash_onenand_probe: manufacturer_id = 0xec
<6>[    0.706889] flash_onenand_probe: device_id = 0x50
<6>[    0.706904] flash_onenand_probe: version_id = 0x13e
<6>[    0.706921] flash_onenand_probe: data_buf_size = 0x800
<6>[    0.706936] flash_onenand_probe: boot_buf_size = 0x200
<6>[    0.706953] flash_onenand_probe: num_of_buffers = 0x101
<6>[    0.706968] flash_onenand_probe: technology = 0x0
<6>[    0.706999] Found a supported onenand device
<5>[    0.707024] Creating 14 MTD partitions on "msm_nand":
<5>[    0.707056] 0x000000000000-0x000000180000 : "mibib"
<5>[    0.710093] 0x000000180000-0x000000200000 : "qcsbl"
<5>[    0.711733] 0x000000200000-0x0000002c0000 : "oemsbl"
<5>[    0.713751] 0x0000002c0000-0x000001bc0000 : "amss"
<5>[    0.746481] 0x000001bc0000-0x000003400000 : "efs2"
<5>[    0.763296] 0x000003400000-0x000003900000 : "nv_backup"
<5>[    0.770368] 0x000003900000-0x000005200000 : "fota"
<5>[    0.803076] 0x000005200000-0x000005400000 : "arm11boot"
<5>[    0.806706] 0x000005400000-0x000005e00000 : "boot"
<5>[    0.820499] 0x000005e00000-0x000006800000 : "recovery"
<5>[    0.834269] 0x000006800000-0x0000068c0000 : "parameter"
<5>[    0.836289] 0x0000068c0000-0x000011a40000 : "system"
<5>[    0.950216] 0x000011a40000-0x00001dc00000 : "userdata"
<5>[    1.073928] 0x00001dc00000-0x00001f500000 : "cache"

I have Samsung: KAT007012C - 4Gb Nand Flash and 3Gb DRAM (2G 1G die).
Do you have any idea how to fix this?
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux