All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

ubifs error 9 (not enough good pebs)

Recently I started a project involving a at91sam9261ek and samsung K9F2G08U0M nand flash (256mb) (http://ww1.microchip.com/downloads/en/AppNotes/doc6255.pdf). I used buildroot to build bootstrap, ...
7
votes
3answers
781 views

Linux: Alternative to UBIFS on MLC NAND

The status of UBIFS in Linux on top of MLC NAND has never been exactly perfect. And while this entry has now been removed from the FAQ nowadays, the support for UBIFS on top of MLC NAND has now been ...
0
votes
1answer
71 views

Apply incremental patches on ubifs volume

To update a ubifs volume by replacing it with entirely new content, ubiupdatevol from mtd-utils can be used: ubiupdatevol /dev/ubiX_Y /path/to/ubifs.img Is there a way to apply patch on ubifs volume ...
0
votes
1answer
1k views

How to get the exact file size in linux? [duplicate]

I would like to get individual file size, all used file size in the disk and usable the maximum file size in the disk. In linux, commands for checking file sizes such as "du", "df", "ls -l" are ...
0
votes
2answers
640 views

UBI file system Error -16

During bootup, the storage partition is getting loaded. However I see this error message. What is this error 16 represents? UBI error: ubi_open_volume: cannot open device 0, volume 0, error -16 I ...
1
vote
1answer
930 views

Does it make sense to have separate ubi volumes for safety with ubifs?

In the pre-ubifs days it was common practice in embedded systems to setup several (MTD) partitions in flash for protection. For example, a partition containing a read-only file system could be mounted ...
1
vote
1answer
468 views

Programming NAND with generated UBI binary

Our system generates a UBI partition that is being created in NAND on first boot. The system is able to read and write files there. I'm trying to create a binary file that we can use for a NAND 'gang' ...
4
votes
1answer
1k views

Surprisingly big overhead when creating small ubifs volume

On an mtd partition with 39 erase blocks (= 4.9 MiB), I tried to format a ubifs. The resulting file system has free space of 2.2M uncompressed data when reserved blocks are reduced to the minimum ...
2
votes
0answers
532 views

How to check UBIFS for errors?

My ARM system uses NANDFlash and UBIFS. IS there a command that will let me check the filesystem, report any errors or warnings, and also report the current compression level?
5
votes
2answers
4k views

Backup of a ubi file system with dd?

A have a root file system (file system - image containinf folder structure and content) on a flash drive. The flash drive uses UBI as the underlying file system file system - the way the data blocks ...