{"thread":{"id":"49991","subject":"Questions about ubifs,ubi and mtd?","startedAt":"2018-12-10T13:02:07Z","lastAt":"2018-12-11T00:42:27Z","messageCount":3,"participants":["武井 克明","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"364919","messageId":"TY2PR01MB2700AD659601C0341B5C06929DA50@TY2PR01MB2700.jpnprd01.prod.outlook.com","threadId":"49991","inReplyTo":null,"subject":"Questions about ubifs,ubi and mtd?","fromName":"武井 克明","fromEmail":"takei744@oki.com","sentAt":"2018-12-10T12:22:17Z","receivedAt":"2018-12-10T13:02:07Z","isPatch":false,"sender":{"key":"takei744@oki.com","avatar":null},"body":"Hi all,\n\nWe are developing the product using file system using ubi, ubifs on hardware with NAND flash memory.\n\nAlthough the development of the product was completed, we are seeking your help as the customer who is using it is having trouble with it.\n\nThe product we have developed has 6 MTD partitions for NAND flash memory.\nThese consist of 6 MTDs named 'kernel-a' 'kernel-b', 'rootfs-a', 'rootfs-b', 'data-1', 'data-2', and online program only accesses 'data-1' and 'data-2' for write access.\nNevertheless, when loading our program from 'rootfs-a', trying to read the inode with the ubifs_read_node() function will result in \"bad node type\" (ex: 193 but expected 9) and the LEB can not be read with the expected value. (Even though you do not have write access to rootfs)\n\nIs there anyone who encountered such a problem? Is there patch?\n\nPlease let me know, if you have any questions.\n\nBest regards,\nKatsuaki Takei/Oki Electric Industry Co., Ltd./JP\n"},{"id":"364923","messageId":"87o99txwvp.fsf@evledraar.gmail.com","threadId":"49991","inReplyTo":"TY2PR01MB2700AD659601C0341B5C06929DA50@TY2PR01MB2700.jpnprd01.prod.outlook.com","subject":"Re: Questions about ubifs,ubi and mtd?","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-12-10T14:46:34Z","receivedAt":"2018-12-10T14:46:39Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Mon, Dec 10 2018, 武井 克明 wrote:\n\n> Hi all,\n>\n> We are developing the product using file system using ubi, ubifs on hardware with NAND flash memory.\n>\n> Although the development of the product was completed, we are seeking your help as the customer who is using it is having trouble with it.\n>\n> The product we have developed has 6 MTD partitions for NAND flash memory.\n> These consist of 6 MTDs named 'kernel-a' 'kernel-b', 'rootfs-a', 'rootfs-b', 'data-1', 'data-2', and online program only accesses 'data-1' and 'data-2' for write access.\n> Nevertheless, when loading our program from 'rootfs-a', trying to read the inode with the ubifs_read_node() function will result in \"bad node type\" (ex: 193 but expected 9) and the LEB can not be read with the expected value. (Even though you do not have write access to rootfs)\n>\n> Is there anyone who encountered such a problem? Is there patch?\n>\n> Please let me know, if you have any questions.\n>\n> Best regards,\n> Katsuaki Takei/Oki Electric Industry Co., Ltd./JP\n\nHi. I think you're on the wrong mailing list (git@). You probably want\nto contact one of the linux lists, perhaps\nhttp://lists.infradead.org/mailman/listinfo/linux-mtd ?\n"},{"id":"364998","messageId":"TY2PR01MB2700640A3797C10A905F9EA79DA60@TY2PR01MB2700.jpnprd01.prod.outlook.com","threadId":"49991","inReplyTo":"87o99txwvp.fsf@evledraar.gmail.com","subject":"RE: Questions about ubifs,ubi and mtd?","fromName":"武井 克明","fromEmail":"takei744@oki.com","sentAt":"2018-12-11T00:42:19Z","receivedAt":"2018-12-11T00:42:27Z","isPatch":false,"sender":{"key":"takei744@oki.com","avatar":null},"body":"Dear Ævar Arnfjörð Bjarmason,\n\n Thank you for your advice.\n I will ask my question to ML who told me.\n\nBest regards,\nKatsuaki Takei/Oki Electric Industry Co., Ltd./JP\n\n> -----Original Message-----\n> From: Ævar Arnfjörð Bjarmason <avarab@gmail.com>\n> Sent: Monday, December 10, 2018 11:47 PM\n> To: 武井 克明 <takei744@oki.com>\n> Cc: git@vger.kernel.org\n> Subject: Re: Questions about ubifs,ubi and mtd?\n> \n> \n> On Mon, Dec 10 2018, 武井 克明 wrote:\n> \n> > Hi all,\n> >\n> > We are developing the product using file system using ubi, ubifs on hardware\n> with NAND flash memory.\n> >\n> > Although the development of the product was completed, we are seeking\n> your help as the customer who is using it is having trouble with it.\n> >\n> > The product we have developed has 6 MTD partitions for NAND flash\n> memory.\n> > These consist of 6 MTDs named 'kernel-a' 'kernel-b', 'rootfs-a', 'rootfs-b',\n> 'data-1', 'data-2', and online program only accesses 'data-1' and 'data-2' for\n> write access.\n> > Nevertheless, when loading our program from 'rootfs-a', trying to read\n> > the inode with the ubifs_read_node() function will result in \"bad node\n> > type\" (ex: 193 but expected 9) and the LEB can not be read with the\n> > expected value. (Even though you do not have write access to rootfs)\n> >\n> > Is there anyone who encountered such a problem? Is there patch?\n> >\n> > Please let me know, if you have any questions.\n> >\n> > Best regards,\n> > Katsuaki Takei/Oki Electric Industry Co., Ltd./JP\n> \n> Hi. I think you're on the wrong mailing list (git@). You probably want to contact\n> one of the linux lists, perhaps\n> http://lists.infradead.org/mailman/listinfo/linux-mtd ?\n"}]}