Never mind, it seems we have already had a fix for this issue, there are 4 patches targeting the drivers/block/sunxi_nand code by Patrick Wood on September 17th 2013 in linux-sunxi repository actually fixed the issue.
Specifically: 110ec1170a4770e711446a8e643caaf95c2bf675 sunxi-nand: Retry code from AW sun7i A20 NAND driver -Hunter On Monday, February 24, 2014 10:13:33 AM UTC-6, hunter hu wrote: > > Hi all, > > I am trying to install imagesfrom SD card to internal nand, first of all I > need to locate the internal nand device /dev/nand, however I could not. > > dmesg reveals that something went wrong when the driver loaded: > > here are the error messages: > > [ 0.424664] [NAND] nand driver version: 0x2 0x9 > [ 0.431936] PHY_PageReadSpare : too much ecc err,bank 0 block 7,page 0 > ... ...(tons of them) > [ 3.659593] PHY_PageReadSpare : too much ecc err,bank 0 block 7ff,page > 0 > [ 3.664674] [FORMAT_ERR] There is not enough valid block for using! > [ 3.670086] [FORMAT_ERR] There is not enough free blocks for distribute! > [ 3.673509] [FORMAT_ERR] Format nand disk failed! > [ 3.675872] [NAND]init_blklayer fail > > Any idea what's going on? Is the nand driver 0x2 0x9 itself buggy? or > something else? the stock Android runs well on the internal NAND, I doubt > this is a real hardware failure? I also tried using Livesuit to reflash > Android again, but after which it was the same dmesg. > > Thanks, > -Hunter > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
