SHARE
TWEET

Untitled

a guest Apr 9th, 2017 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i in $(find /sys/class/mtd -type l | grep -v ro) ; do echo $i $(cat $i/offset $i/size $i/name) ; done | awk '{ printf
  2. ("%s: 0x%08x-0x%08x %s\n",$1,$2,$2+$3,$4) }'
  3. /sys/class/mtd/mtd0: 0x00000000-0x00100000 u-boot
  4. /sys/class/mtd/mtd1: 0x00100000-0x00200000 SC
  5. /sys/class/mtd/mtd2: 0x00200000-0x00600000 kernel
  6. /sys/class/mtd/mtd3: 0x00600000-0x02200000 ubi
  7. /sys/class/mtd/mtd4: 0x02200000-0x02400000 ENG
  8. /sys/class/mtd/mtd5: 0x02400000-0x02600000 ML1
  9. /sys/class/mtd/mtd6: 0x02600000-0x02800000 ML2
  10. /sys/class/mtd/mtd7: 0x02800000-0x02a00000 ML3
  11. /sys/class/mtd/mtd8: 0x02a00000-0x02c00000 ML4
  12. /sys/class/mtd/mtd9: 0x02c00000-0x02e00000 ML5
  13. /sys/class/mtd/mtd10: 0x02e00000-0x02f00000 factory
  14. /sys/class/mtd/mtd11: 0x02f00000-0x03000000 SC
  15. /sys/class/mtd/mtd12: 0x03000000-0x03200000 POT
  16. /sys/class/mtd/mtd13: 0x03200000-0x03400000 Traffic
  17. /sys/class/mtd/mtd14: 0x03400000-0x03600000 DPF
  18. /sys/class/mtd/mtd15: 0x03600000-0x03800000 SC
  19. /sys/class/mtd/mtd16: 0x03800000-0x03a00000 Ralink
  20. /sys/class/mtd/mtd17: 0x03a00000-0x03c00000 Ralink
  21. /sys/class/mtd/mtd18: 0x03c00000-0x03e00000 ML6
  22. /sys/class/mtd/mtd19: 0x03e00000-0x03f00000 Upgrade
  23. /sys/class/mtd/mtd20: 0x04000000-0x04200000 Reserved
  24. /sys/class/mtd/mtd21: 0x04200000-0x07e00000 Reserved
  25. root@LEDE:~#  hexdump -C /dev/mtd10
  26. 00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  27. *
  28. 000a00b0  50 6a 03 e7 cf e0 ff 34  46 4a 31 35 38 42 54 30  |Pj.....4FJ158BT0|
  29. 000a00c0  32 45 33 45 ff ff ff ff  ff ff ff ff ff ff ff ff  |2E3E............|
  30. 000a00d0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  31. 000a00e0  ff 32 38 31 39 31 38 37  32 ff ff ff ff ff ff ff  |.28191872.......|
  32. 000a00f0  ff ff 00 00 00 01 52 2e  41 59 41 35 38 37 31 46  |......R.AYA5871F|
  33. 000a0100  35 33 ff ff ff ff 4e 45  54 47 45 41 52 39 36 00  |53....NETGEAR96.|
  34. 000a0110  00 00 00 00 00 00 00 00  00 00 ff ff ff ff ff ff  |................|
  35. 000a0120  72 6f 63 6b 79 70 72 61  69 72 69 65 30 38 33 00  |rockyprairie083.|
  36. 000a0130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  37. *
  38. 000a0150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ff  |................|
  39. 000a0160  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  40. *
  41. 000a0200  30 31 ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |01..............|
  42. 000a0210  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  43. *
  44. 000bfff0  ff ff ff ff ff ff ff ff  ff ff ff ff 30 ff ff ff  |............0...|
  45. 000c0000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  46. *
  47. 00100000
  48. root@LEDE:~#  hexdump -C /dev/mtd9
  49. 00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  50. *
  51. 001a0000  03 76 0b 00 50 6a 03 e7  cf e0 03 76 c3 14 ff ff  |.v..Pj.....v....|
  52. 001a0010  ff ff 03 76 c3 14 00 00  00 00 00 00 00 00 00 00  |...v............|
  53. 001a0020  00 00 b0 07 80 00 60 7f  fd 9b ff ff ff ff ff ff  |......`.........|
  54. 001a0030  ff ff ff ff 22 34 00 20  ff ff 00 01 00 00 00 00  |...."4. ........|
  55. 001a0040  00 00 22 00 00 00 00 00  00 00 00 00 00 00 e0 01  |..".............|
  56. 001a0050  82 00 00 94 40 b0 40 c9  23 00 00 00 40 c9 23 00  |....@.@.#...@.#.|
  57. 001a0060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  58. 001a0070  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  59. *
  60. 001a00a0  c8 c8 c8 c8 00 00 00 c8  c2 c6 c2 c2 c2 00 00 00  |................|
  61. 001a00b0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  62. *
  63. 001a00f0  00 00 00 00 bf 00 d3 88  00 00 00 00 00 00 00 00  |................|
  64. 001a0100  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  65. *
  66. 001a0120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 ff 20  |............... |
  67. 001a0130  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  68. *
  69. 001a8000  62 76 01 00 50 6a 03 e7  cf e4 12 76 c3 14 00 00  |bv..Pj.....v....|
  70. 001a8010  00 00 12 76 c3 14 00 00  00 00 ff ff ff ff ff ff  |...v............|
  71. 001a8020  ff ff 37 d8 9d 40 ff 7f  fd 9b ff ff ff ff ff ff  |..7..@..........|
  72. 001a8030  ff ff ff ff 22 fd 0a 00  ff ff b1 01 00 00 00 00  |...."...........|
  73. 001a8040  00 00 ff d7 8c 8c 00 00  00 8c 00 00 00 8c e0 01  |................|
  74. 001a8050  00 82 82 57 47 b4 7f 05  1d 00 00 00 7e 16 0a 00  |...WG.......~...|
  75. 001a8060  00 00 82 e9 0a 00 00 82  e9 16 00 00 81 ed 15 00  |................|
  76. 001a8070  00 80 f0 18 00 00 81 f6  1a 00 00 80 fe 1a 00 00  |................|
  77. 001a8080  82 e2 0a 00 00 82 e2 1a  00 00 82 e8 1a 00 00 82  |................|
  78. 001a8090  e6 1a 00 00 83 eb 19 00  00 83 f2 19 00 00 3c 57  |..............<W|
  79. 001a80a0  c3 c3 00 00 00 00 c6 c6  c2 82 c6 c6 c2 82 00 00  |................|
  80. 001a80b0  00 00 c6 c6 c4 00 00 00  00 00 00 00 00 00 84 83  |................|
  81. 001a80c0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  82. *
  83. 001a80f0  ff ff 0d 09 0d 10 a5 28  28 00 00 00 00 00 00 00  |.......((.......|
  84. 001a8100  0f ca 74 c5 e8 07 30 3d  01 b0 08 26 00 0e 04 15  |..t...0=...&....|
  85. 001a8110  00 8a 00 40 00 00 00 08  00 9d 08 00 12 c0 00 00  |...@............|
  86. 001a8120  08 20 04 2a 90 00 00 24  01 04 54 08 d0 a0 28 20  |. .*...$..T...( |
  87. 001a8130  ff ff ff ff ff ff ff 08  ff ff ff ff ff ff 00 00  |................|
  88. 001a8140  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  89. *
  90. 001a81e0  c0 81 82 c3 04 45 46 07  08 09 ff ff ff ff ff ff  |.....EF.........|
  91. 001a81f0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
  92. *
  93. 00200000
  94. root@LEDE:~#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top