git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Questions about ubifs,ubi and mtd?

From
武克武井 克明 <takei744@oki.com>
Date
Dec 10, 2018, 12:22 UTC
Message-ID
<TY2PR01MB2700AD659601C0341B5C06929DA50@TY2PR01MB2700.jpnprd01.prod.outlook.com>
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

Next: Ævar Arnfjörð Bjarmason
Message 1 of 3 in “Questions about ubifs,ubi and mtd?”
  1. 武井 克明Dec 10, 2018
  2. Ævar Arnfjörð BjarmasonDec 10, 2018
  3. 武井 克明Dec 11, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.