[<<][linux][>>][..]
Wed Nov 16 20:20:06 EST 2016

UBI & UBIFS

I want to write the dtb volume on a UBI device.

http://free-electrons.com/blog/creating-flashing-ubi-ubifs-images/
http://www.linux-mtd.infradead.org/faq/ubi.html

ubiupdatevol /dev/ubi0_1 board.dtb


root@colibri-vf:/dev# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:58
Present UBI devices:            ubi0

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     4075 (517427200 bytes, 493.5 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       5
Count of reserved physical eraseblocks:  75
Current maximum erase counter value:     2
Minimum input/output unit size:          2048 bytes
Character device major/minor:            247:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi0)
Type:        static
Alignment:   1
Size:        67 LEBs (8507392 bytes, 8.1 MiB)
Data bytes:  4744320 bytes (4.5 MiB)
State:       OK
Name:        kernel
Character device major/minor: 247:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        static
Alignment:   1
Size:        2 LEBs (253952 bytes, 248.0 KiB)
Data bytes:  26611 bytes (26.0 KiB)
State:       OK
Name:        dtb
Character device major/minor: 247:2
-----------------------------------
Volume ID:   2 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        3925 LEBs (498380800 bytes, 475.3 MiB)
State:       OK
Name:        rootfs
Character device major/minor: 247:3





[Reply][About]
[<<][linux][>>][..]