Advertisement
Guest User

Untitled

a guest
Dec 14th, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. /$ cat /proc/mtd
  2. dev: size erasesize name
  3. mtd0: 05f00000 00020000 "rootfs"
  4. mtd1: 05f00000 00020000 "rootfs_update"
  5. mtd2: 00800000 00020000 "data"
  6. mtd3: 00100000 00020000 "nvram"
  7. mtd4: 05f00000 00020000 "image_update"
  8. mtd5: 05f00000 00020000 "image"
  9. mtd6: 10000000 00020000 "dummy1"
  10. mtd7: 10000000 00020000 "dummy2"
  11. mtd8: 00100000 00020000 "misc3"
  12. mtd9: 02f00000 00020000 "misc2"
  13. mtd10: 00800000 00020000 "misc1"
  14. mtd11: 05619000 0001f000 "rootfs_ubifs"
  15. mtd12: 0001f000 0001f000 "METADATA"
  16. mtd13: 0001f000 0001f000 "METADATACOPY"
  17. mtd14: 00356bbd 0001f000 "filestruct_full.bin"
  18. mtd15: 006c8000 0001f000 "data"
  19. /$ ubiattach /dev/ubi_ctrl -m 10
  20. ubiattach: error!: cannot attach mtd10
  21. error 22 (Invalid argument)
  22. /$ ubinfo -a
  23. UBI version: 1
  24. Count of UBI devices: 2
  25. UBI control device major/minor: 10:59
  26. Present UBI devices: ubi0, ubi1
  27.  
  28. ubi0
  29. Volumes count: 4
  30. Logical eraseblock size: 126976 bytes, 124.0 KiB
  31. Total amount of logical eraseblocks: 760 (96501760 bytes, 92.0 MiB)
  32. Amount of available logical eraseblocks: 0 (0 bytes)
  33. Maximum count of volumes 128
  34. Count of bad physical eraseblocks: 0
  35. Count of reserved physical eraseblocks: 15
  36. Current maximum erase counter value: 1
  37. Minimum input/output unit size: 2048 bytes
  38. Character device major/minor: 252:0
  39. Present volumes: 0, 1, 2, 10
  40.  
  41. Volume ID: 0 (on ubi0)
  42. Type: dynamic
  43. Alignment: 1
  44. Size: 711 LEBs (90279936 bytes, 86.0 MiB)
  45. State: OK
  46. Name: rootfs_ubifs
  47. Character device major/minor: 252:1
  48. -----------------------------------
  49. Volume ID: 1 (on ubi0)
  50. Type: dynamic
  51. Alignment: 1
  52. Size: 1 LEBs (126976 bytes, 124.0 KiB)
  53. State: OK
  54. Name: METADATA
  55. Character device major/minor: 252:2
  56. -----------------------------------
  57. Volume ID: 2 (on ubi0)
  58. Type: dynamic
  59. Alignment: 1
  60. Size: 1 LEBs (126976 bytes, 124.0 KiB)
  61. State: OK
  62. Name: METADATACOPY
  63. Character device major/minor: 252:3
  64. -----------------------------------
  65. -----------------------------------
  66. -----------------------------------
  67. -----------------------------------
  68. -----------------------------------
  69. -----------------------------------
  70. -----------------------------------
  71. -----------------------------------
  72. Volume ID: 10 (on ubi0)
  73. Type: static
  74. Alignment: 1
  75. Size: 28 LEBs (3555328 bytes, 3.3 MiB)
  76. Data bytes: 3500989 bytes (3.3 MiB)
  77. State: OK
  78. Name: filestruct_full.bin
  79. Character device major/minor: 252:11
  80.  
  81. ===================================
  82.  
  83. ubi1
  84. Volumes count: 1
  85. Logical eraseblock size: 126976 bytes, 124.0 KiB
  86. Total amount of logical eraseblocks: 64 (8126464 bytes, 7.7 MiB)
  87. Amount of available logical eraseblocks: 0 (0 bytes)
  88. Maximum count of volumes 128
  89. Count of bad physical eraseblocks: 0
  90. Count of reserved physical eraseblocks: 4
  91. Current maximum erase counter value: 24
  92. Minimum input/output unit size: 2048 bytes
  93. Character device major/minor: 251:0
  94. Present volumes: 0
  95.  
  96. Volume ID: 0 (on ubi1)
  97. Type: dynamic
  98. Alignment: 1
  99. Size: 56 LEBs (7110656 bytes, 6.7 MiB)
  100. State: OK
  101. Name: data
  102. Character device major/minor: 251:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement