at my controller has multiple partitions but I can erase all but one, what could be the reason?
/ # cat /proc/mtd > dev: size erasesize name > mtd0: 00080000 00020000 "xloader-nand" > mtd1: 001c0000 00020000 "uboot-nand" > mtd2: 00040000 00020000 "params-nand" > mtd3: 00500000 00020000 "linux-nand" > mtd4: 0f880000 00020000 "jffs2-nand" > / # flash_eraseall /dev/mtd2 > Erasing 128 Kibyte @ 40000 - 100% complete. > / # flash_eraseall /dev/mtd1 > flash_eraseall: can't open '/dev/mtd1': Permission denied > четверг, 3 июля 2014 г., 16:38:43 UTC+4 пользователь Андрей Кононов написал: > > I compared the two defсonfig, made some changes from the donor and now > it worked (without uncorrectable error ) :) thank you for participating :) > > четверг, 3 июля 2014 г., 15:49:24 UTC+4 пользователь Андрей Кононов > написал: >> >> in google I found defсonfig which solve this problem, but it is excessive >> >> четверг, 3 июля 2014 г., 15:29:00 UTC+4 пользователь lisarden написал: >>> >>> dmesg >>> >>> >>> 2014-07-03 15:26 GMT+04:00 Андрей Кононов <[email protected]>: >>> >>>> I have these settings, except one (CONFIG_MTD_NAND_ECC=y). I add it to >>>> defchonfig but the situation has not changed :(. >>>> >>>> четверг, 3 июля 2014 г., 14:50:58 UTC+4 пользователь lisarden написал: >>>>> >>>>> CONFIG_MTD=y >>>>> CONFIG_MTD_CHAR=y >>>>> CONFIG_MTD_BLKDEVS=y >>>>> CONFIG_MTD_BLOCK=y >>>>> CONFIG_MTD_NAND_ECC=y >>>>> CONFIG_MTD_NAND=y >>>>> CONFIG_MTD_NAND_OMAP2=y >>>>> CONFIG_MTD_NAND_IDS=y >>>>> >>>>> >>>>> >>>>> 2014-07-03 14:46 GMT+04:00 Андрей Кононов <[email protected]>: >>>>> >>>>>> what can i include in the kernel to organize writing mtd partitions? >>>>>> kernel 2.6.32 >>>>>> >>>>>>> / # flash_eraseall /dev/mtd3 >>>>>>> flash_eraseall: can't open '/dev/mtd3': No such device or address >>>>>>> / # ls /dev/mtd* >>>>>>> /dev/mtd0 /dev/mtd1ro /dev/mtd3 /dev/mtd4ro >>>>>>> /dev/mtdblock2 >>>>>>> /dev/mtd0ro /dev/mtd2 /dev/mtd3ro /dev/mtdblock0 >>>>>>> /dev/mtdblock3 >>>>>>> /dev/mtd1 /dev/mtd2ro /dev/mtd4 /dev/mtdblock1 >>>>>>> /dev/mtdblock4 >>>>>>> >>>>>> -- >>>>>> For more options, visit http://beagleboard.org/discuss >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "BeagleBoard" 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/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy >>>>> Company - http://www.linkedin.com/company/mentorel >>>>> Facebook - https://www.facebook.com/mentorel.company >>>>> >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "BeagleBoard" 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/d/optout. >>>> >>> >>> >>> >>> -- >>> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy >>> Company - http://www.linkedin.com/company/mentorel >>> Facebook - https://www.facebook.com/mentorel.company >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" 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/d/optout.
