i need help to mount ubifs

sodo

Vu+ Newbie
hi to all
I have a vu + uno and I want Mount the root_cfe_auto.jffs2
to edit somthing

I have sucsefuly Mount the root_cfe_auto.jffs2 as UBIFS and after I have packed with mkfs.ubifs and ubinize but when I flash my box vuuno it does not start and it stays on starting in vfd Here are my information

Code:
root@sodo13-desktop:/mnt/ubi# mtdinfo -m 0 -u
mtd0
Name:                          NAND simulator partition 0
Type:                          nand
Eraseblock size:                131072 bytes, 128.0 KiB
Amount of eraseblocks:          1024 (134217728 bytes, 128.0 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size:                  512 bytes
OOB size:                      64 bytes
Character device major/minor:  90:0
Bad blocks are allowed:        true
Device is writable:            true
Default UBI VID header offset:  512
Default UBI data offset:        2048
Default UBI LEB size:          129024 bytes, 126.0 KiB
Maximum UBI volumes count:      128

with ubinfo -a

Code:
root@sodo13-desktop:/mnt/ubi# ubinfo -a
UBI version:                    1
Count of UBI devices:          1
UBI control device major/minor: 10:55
Present UBI devices:            ubi0

ubi0
Volumes count:                          1
Logical eraseblock size:                126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:    1024 (130023424 bytes, 124.0 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                128
Count of bad physical eraseblocks:      0
Count of reserved physical eraseblocks:  10
Current maximum erase counter value:    1
Minimum input/output unit size:          2048 bytes
Character device major/minor:            250:0
Present volumes:                        0

Volume ID:  0 (on ubi0)
Type:        dynamic
Alignment:  1
Size:        1010 LEBs (128245760 bytes, 122.3 MiB)
State:      OK
Name:        rootfs
Character device major/minor: 250:1
and
Code:
root@sodo13-desktop:/mnt/ubi# mkfs.ubifs -m 2048 -e 126976 -c 4096 -r /mnt/ubi/rootfs/ rootfs.ubifs
root@sodo13-desktop:/mnt/ubi# ubinize -o new_root_cfe_auto.jffs2 -m 2048 -p 128KiB ubi.ini

and i have this error when i run

Code:
root@sodo13-desktop:/mnt/ubi# ubinize -o new_root_cfe_auto.jffs2 -m 2048 -p 128KiB ubi.ini
ubinize: volume size was not specified in section "ubifs", assume minimum to fit image "rootfs.ubifs"78598144 bytes (75.0 MiB)

I do not know or are the problem

maybe you can help me

thank you
 

angelofsky1980

BlackHole Driver Specialist
hi to all
I have a vu + uno and I want Mount the root_cfe_auto.jffs2
to edit somthing

I have sucsefuly Mount the root_cfe_auto.jffs2 as UBIFS and after I have packed with mkfs.ubifs and ubinize but when I flash my box vuuno it does not start and it stays on starting in vfd Here are my information

Code:
root@sodo13-desktop:/mnt/ubi# mtdinfo -m 0 -u
mtd0
Name:                          NAND simulator partition 0
Type:                          nand
Eraseblock size:                131072 bytes, 128.0 KiB
Amount of eraseblocks:          1024 (134217728 bytes, 128.0 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size:                  512 bytes
OOB size:                      64 bytes
Character device major/minor:  90:0
Bad blocks are allowed:        true
Device is writable:            true
Default UBI VID header offset:  512
Default UBI data offset:        2048
Default UBI LEB size:          129024 bytes, 126.0 KiB
Maximum UBI volumes count:      128

with ubinfo -a

Code:
root@sodo13-desktop:/mnt/ubi# ubinfo -a
UBI version:                    1
Count of UBI devices:          1
UBI control device major/minor: 10:55
Present UBI devices:            ubi0

ubi0
Volumes count:                          1
Logical eraseblock size:                126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:    1024 (130023424 bytes, 124.0 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                128
Count of bad physical eraseblocks:      0
Count of reserved physical eraseblocks:  10
Current maximum erase counter value:    1
Minimum input/output unit size:          2048 bytes
Character device major/minor:            250:0
Present volumes:                        0

Volume ID:  0 (on ubi0)
Type:        dynamic
Alignment:  1
Size:        1010 LEBs (128245760 bytes, 122.3 MiB)
State:      OK
Name:        rootfs
Character device major/minor: 250:1
and
Code:
root@sodo13-desktop:/mnt/ubi# mkfs.ubifs -m 2048 -e 126976 -c 4096 -r /mnt/ubi/rootfs/ rootfs.ubifs
root@sodo13-desktop:/mnt/ubi# ubinize -o new_root_cfe_auto.jffs2 -m 2048 -p 128KiB ubi.ini

and i have this error when i run

Code:
root@sodo13-desktop:/mnt/ubi# ubinize -o new_root_cfe_auto.jffs2 -m 2048 -p 128KiB ubi.ini
ubinize: volume size was not specified in section "ubifs", assume minimum to fit image "rootfs.ubifs"78598144 bytes (75.0 MiB)

I do not know or are the problem

maybe you can help me

thank you

I think it's not an error.
The output says that the volume size is not yet specified in section ubifs of ubi.ini file you mention in your commandline.
 
Top