AnsweredAssumed Answered

i.MX6UL 修改Nand 分区

Question asked by yong ban on Jul 18, 2016
Latest reply on Jul 21, 2016 by jimmychan

遇到如下问题:
 
修改nand的分区,原来64m-boot,16m-kernel,16m-dtb,-rootfs,我现在改为mtdparts=gpmi-nand:2m(boot),2m(logo),6m(kernel),2m(dtb),-(rootfs),在烧写fileware/和files/目录下都替换了新mtdparts的uboot.imx,但是烧写不成功,提示mtd太小!是否需要改uboot里nand相关的ecc大小等的相关操作函数?

nand: Micron MT29F32G08CBADBWP

 

nand: 4096MiB, MLC, page size: 8192, OOB size: 744

gpmi-nand 1806000.gpmi-nand:  Default ecc strength(52) is beyond our capability(40). Try to use maximum ecc strength controller

can support.

gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5

Bad block table found at page 524032, version 0x01

Bad block table found at page 523776, version 0x01

nand_read_bbt: bad block at 0x00000b400000

nand_read_bbt: bad block at 0x00000b600000

5 cmdlinepart partitions found on MTD device gpmi-nand

Creating 5 MTD partitions on "gpmi-nand":

0x000000000000-0x000000200000 : "boot"

0x000000200000-0x000000400000 : "logo"

0x000000400000-0x000000a00000 : "kernel"

0x000000a00000-0x000000c00000 : "dtb"

0x000000c00000-0x000100000000 : "rootfs"

gpmi-nand 1806000.gpmi-nand: driver registered.

 

mtd: opening: "/dev/mtd0"

NFC geometry :

       ECC Strength       : 40

       Page Size in Bytes : 8936

       Metadata size      : 10

       ECC Chunk Size in byte : 1024

       ECC Chunk count        : 8

       Block Mark Byte Offset : 7692

       Block Mark Bit Offset  : 0

====================================================

mtd: opened '/dev/mtd0' - '(null)'

mtd: mtd size too small

mtd_init failed!

UTP: sending Non-success to kernel for command $ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE.

utp_poll: exit with status 1280

random: nonblocking pool is initialized.

Outcomes