The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ubifs]

ubifs (unsorted block image filesystem) is a file system for use with raw flash memory media.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
3answers
293 views

Persistent systemd machine-id in a stateless (UBI/UBIFS) embedded linux environment

I have an embedded linux machine which has a read-only root filesystem which is loaded from a UBI/UBIFS. Every time the device boots it creates a new systemd machine-id which I understand from ...
2
votes
0answers
545 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?
1
vote
0answers
98 views

UBI layout volume not found

I am following Bootlin's embedded Linux training which aims to put an embedded Linux system on an Atmel SAMA5D4 Xplained board (theory slides, practical lab instructions) and I am stuck a putting the ...
1
vote
0answers
152 views

du command shows larger size than nand erase block size in ubifs. How to check the exact size in ubifs?

I use UBIFS for rootfs. I would like to check the size of each direcotries in /. When I checked with du command, it shows larger than mtd size. Would you tell me the way how can I check the correct ...
1
vote
0answers
358 views

Using busybox with UBI files system on an MTD flash device, du and df commands give incorrect values

I have mounted a UBIFS on my MTD partition which is 191.9MB in size. When I run mtdinfo -a the partition shows: mtd6 Name: data2fs Type: nor Eraseblock size: 65536 (64KB) Amount of Erase Blocks: ...
0
votes
0answers
34 views

UBIFS errors in an embedded Debian 10 environment with mixed ro/rw

Test Environment Single board computer (https://www.emtrion.de/en/details_products-accessoires/sbc-sama5d36-56.html) Linux Kernel is version 4.18.8. Bootargs are: console=ttyS0,115200 earlyprintk ...
0
votes
0answers
47 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, ...
0
votes
0answers
105 views

Relation of max LEB count and vol_size in UBI tools

When creating a UBI image there are two times you can specify the size of your UBIFS volume. Once in 'mkfs.ubifs -c max-leb-cnt' and once in the ubinize config file, vol_size. If I have a LEB size of ...
0
votes
1answer
86 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
283 views

How to use ubifs image with modprobe? To extract ubifs image

I try to do something like this - link. All examples in the web are not working at all. modprobe ubi mtd=0 modprobe: module ubi not found in modules.dep modprobe ubi modprobe: module ubi not found ...
0
votes
1answer
409 views

Read-only filesystem - Considerations and Loss of Functionality

I'm creating an embedded system using Buildroot. Currently, my Buildroot configuration ensures the rootfs is remounted as read/write during startup. However I would like to remove this feature and ...
0
votes
0answers
350 views

UBIFS going into Read only mode

I have a customer unit having UBIFS file system on it. Unit is up and running fine. The unit under goes a test of power cycling (AC mode-Battery mode- AC mode). At some point of time the unit(UBIFS ...