RE: [EXT] Re: nand speed test

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

 



Hi, Miguel,

I see the same issue in u-boot.
When I run "nand bad", it takes some time to scan and write the BBT, so the second call to this function returns fast (I believe the BBT is cached in DRAM).
However after reset the "nand bad" again takes time to return, so I believe the BBT was not written in previous session.

Regards
Kosta

> -----Original Message-----
> From: Miquel Raynal [mailto:miquel.raynal@xxxxxxxxxxx]
> Sent: Monday, August 20, 2018 10:47
> To: Kostya Porotchkin <kostap@xxxxxxxxxxx>
> Cc: Daniel Mack <daniel@xxxxxxxxxx>; Haojian Zhuang
> <haojian.zhuang@xxxxxxxxx>; Richard Weinberger <richard@xxxxxx>; linux-
> mtd@xxxxxxxxxxxxxxxxxxx; David Woodhouse <dwmw2@xxxxxxxxxxxxx>;
> Brian Norris <computersforpeace@xxxxxxxxx>; Marek Vasut
> <marek.vasut@xxxxxxxxx>; Mike Dunn <mikedunn@xxxxxxxxxxx>; Sergey
> Larin <cerg2010cerg2010@xxxxxxx>
> Subject: Re: [EXT] Re: nand speed test
> 
> Hi Kostya,
> 
> Kostya Porotchkin <kostap@xxxxxxxxxxx> wrote on Sun, 19 Aug 2018
> 14:12:16 +0000:
> 
> > Hi, Miguel,
> >
> > We clearly have a problem with BBT on this 8K-page NAND.
> > The Linux driver is unable to find BBT after reboot, even if it reports that
> the new table was written upon previous boot.
> > It looks like the u-boot also lost the BBT information after reboot.
> > So something is not yet working well with this 4GB device.
> >
> > Marvell>> nand info
> >
> > Device 0: nand0, sector size 1024 KiB
> >   Page size       8192 b
> >   OOB size         448 b
> >   Erase size   1048576 b
> >   subpagesize     8192 b
> >   options     0x     200
> >   bbt options 0x   a0000
> > Marvell>> nand bad
> >
> > Device 0 bad blocks:
> >   ff800000
> >   ff900000
> >   ffa00000
> >   ffb00000
> >   ffc00000
> >   ffd00000
> >   ffe00000
> >   fff00000
> 
> This enlarging list is very likely to show a mismatch between U-Boot and
> Linux ECC configuration, you should check that first. It will probably explain
> why BBT is not recognized.
> 
> Thanks,
> Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux