uboot配置: bootargs=initrd=0x10c00000,0x1200000 root=/dev/ram rw init=/linuxrc console=ttymxc3,115200n8 mem=512M ubi.mtd=7,4096 mtdparts=gpmi-nand:2048m(storage1) / # ubinfo /dev/ubi0 ubi0 Volumes count: 0 Logical eraseblock size: 516096 bytes, 504.0 KiB Total amount of logical eraseblocks: 2042 (1053868032 bytes, 1005.0 MiB) Amount of available logical eraseblocks: 2018 (1041481728 bytes, 993.2 MiB) Maximum count of volumes 128 Count of bad physical eraseblocks: 6 Count of reserved physical eraseblocks: 20 Current maximum erase counter value: 4 Minimum input/output unit size: 4096 bytes Character device major/minor: 253:0 ubimkvol /dev/ubi0 -s 1041481728 -N nand / # mount -t ubifs /dev/ubi0_0 /home/root/imx6q/nand/ [ 134.297128] UBIFS: default file-system created [ 134.405873] UBIFS: mounted UBI device 0, volume 0, name "nand" [ 134.411795] UBIFS: file system size: 1036320768 bytes (1012032 KiB, 988 MiB, 2008 LEBs) [ 134.420023] UBIFS: journal size: 33546240 bytes (32760 KiB, 31 MiB, 65 LEBs) [ 134.427616] UBIFS: media format: w4/r0 (latest is w4/r0) [ 134.433490] UBIFS: default compressor: lzo [ 134.437604] UBIFS: reserved for root: 4952683 bytes (4836 KiB) 删除ubi0_0节点: umount /home/root/imx6q/nand ubirmvol /dev/ubi0 -n 0
|
|
来自: 昵称28625772 > 《ubifs制作》