On Fri, Sep 06, 2019 at 01:06:58PM +0200, Sean Nyekjaer wrote: > > > On 06/09/2019 12.13, Sascha Hauer wrote: > > With mtd0 you took the blocks containing the bootloader. Try the one on > > which the UBI volume is. Also please pick a page that is almost full. > > > > You could generate a page with this (on the working kernel preferably): > > > > flash_erase /dev/mtd2 0 0 > > seq 2000 | dd bs=4096 count=1 | nandwrite /dev/mtd2 - > > > > Note this will erase /dev/mtd2 > > > > Sascha > > did the commands decribed above ^^ > > root@iwg26:~# /tmp/nanddump -c -l 4096 /dev/mtd2 > ECC failed: 0 > ECC corrected: 0 > Number of bad blocks: 0 > Number of bbt blocks: 4 > Block size 262144, page size 4096, OOB size 128 > Dumping data starting at 0x00000000 and ending at 0x00001000... Ok, both are identical, so this doesn't bring us further. Have you tried the mtd test modules? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/