threads / discuss / 49991

Questions about ubifs,ubi and mtd?

Subject: Questions about ubifs,ubi and mtd?

## tl;dr

3 messages between Dec 10, 2018 and Dec 11, 2018.

replies: 2people: 2as markdown or json

武井 克明· Dec 10, 2018, 12:22 UTC · lore
Hi all,
We are developing the product using file system using ubi, ubifs on hardware with NAND flash memory.
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.

The product we have developed has 6 MTD partitions for NAND flash memory. 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. 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)

Is there anyone who encountered such a problem? Is there patch?
Please let me know, if you have any questions.

Best regards, Katsuaki Takei/Oki Electric Industry Co., Ltd./JP

Ævar Arnfjörð Bjarmason· Dec 10, 2018, 14:46 UTC · re: 武井 克明 · lore

Re: Questions about ubifs,ubi and mtd?

On Mon, Dec 10 2018, 武井 克明 wrote:
Show 16 quoted lines
> Hi all,
>
> We are developing the product using file system using ubi, ubifs on hardware with NAND flash memory.
>
> 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.
>
> The product we have developed has 6 MTD partitions for NAND flash memory.
> 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.
> 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)
>
> Is there anyone who encountered such a problem? Is there patch?
>
> Please let me know, if you have any questions.
>
> Best regards,
> Katsuaki Takei/Oki Electric Industry Co., Ltd./JP

Hi. I think you're on the wrong mailing list (git@). You probably want to contact one of the linux lists, perhaps http://lists.infradead.org/mailman/listinfo/linux-mtd ?

武井 克明· Dec 11, 2018, 00:42 UTC · re: Ævar Arnfjörð Bjarmason · lore

RE: Questions about ubifs,ubi and mtd?

Dear Ævar Arnfjörð Bjarmason,
 Thank you for your advice.
 I will ask my question to ML who told me.

Best regards, Katsuaki Takei/Oki Electric Industry Co., Ltd./JP

Show 38 quoted lines
> -----Original Message-----
> From: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
> Sent: Monday, December 10, 2018 11:47 PM
> To: 武井 克明 <takei744@oki.com>
> Cc: git@vger.kernel.org
> Subject: Re: Questions about ubifs,ubi and mtd?
> 
> 
> On Mon, Dec 10 2018, 武井 克明 wrote:
> 
> > Hi all,
> >
> > We are developing the product using file system using ubi, ubifs on hardware
> with NAND flash memory.
> >
> > 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.
> >
> > The product we have developed has 6 MTD partitions for NAND flash
> memory.
> > 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.
> > 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)
> >
> > Is there anyone who encountered such a problem? Is there patch?
> >
> > Please let me know, if you have any questions.
> >
> > Best regards,
> > Katsuaki Takei/Oki Electric Industry Co., Ltd./JP
> 
> Hi. I think you're on the wrong mailing list (git@). You probably want to contact
> one of the linux lists, perhaps
> http://lists.infradead.org/mailman/listinfo/linux-mtd ?

← back to recent threads