Jump to content
  • 0

Разметка MTD (storage) KN-1011


vasek00
 Share

Question

KN1011

[I] Jan  1 00:00:03 kernel: mtd: creating 17 MTD partitions on "MT7621-NAND":
[I] Jan  1 00:00:03 kernel: 0x000000000000-0x000000080000 : "U-Boot"
[I] Jan  1 00:00:03 kernel: 0x000000080000-0x000000100000 : "U-Config"
[I] Jan  1 00:00:03 kernel: 0x000000100000-0x000000180000 : "RF-EEPROM"
[I] Jan  1 00:00:03 kernel: 0x000000180000-0x000000340000 : "Kernel_1"
[I] Jan  1 00:00:03 kernel: 0x000000340000-0x000002bc0000 : "RootFS_1"
[I] Jan  1 00:00:03 kernel: mtd: device 4 (RootFS_1) set to be root filesystem
[I] Jan  1 00:00:03 kernel: 0x000000180000-0x000002bc0000 : "Firmware_1"
[I] Jan  1 00:00:03 kernel: 0x000002bc0000-0x000002dc0000 : "Config_1"
[I] Jan  1 00:00:03 kernel: 0x000002dc0000-0x000002fc0000 : "Storage_Legacy"
[I] Jan  1 00:00:03 kernel: 0x000002fc0000-0x000003000000 : "Dump"
[I] Jan  1 00:00:03 kernel: 0x000003000000-0x000003fc0000 : "Storage_A"
[I] Jan  1 00:00:03 kernel: 0x000003fc0000-0x000004040000 : "U-State"
[I] Jan  1 00:00:03 kernel: 0x000004040000-0x0000040c0000 : "U-Config_res"
[I] Jan  1 00:00:03 kernel: 0x0000040c0000-0x000004140000 : "RF-EEPROM_res"
[I] Jan  1 00:00:03 kernel: 0x000004140000-0x000006b80000 : "Firmware_2"
[I] Jan  1 00:00:03 kernel: 0x000006b80000-0x000006d80000 : "Config_2"
[I] Jan  1 00:00:03 kernel: 0x000006d80000-0x000007f80000 : "Storage_B"
[I] Jan  1 00:00:03 kernel: 0x000000000000-0x000007f80000 : "Full"

[I] Jan  1 00:00:07 kernel: Searching for suitable storage partitions...
[I] Jan  1 00:00:07 kernel: Found 1st storage partition of size 16515072 bytes
[I] Jan  1 00:00:07 kernel: Found 2nd storage partition of size 18874368 bytes
[I] Jan  1 00:00:07 kernel: Registering UBI data partitions parser
[W] Jan  1 00:00:07 kernel: Concatenating MTD devices:
[W] Jan  1 00:00:07 kernel: (0): "Storage_A"
[W] Jan  1 00:00:07 kernel: (1): "Storage_B"
[W] Jan  1 00:00:07 kernel: into device "NDM combined UBI partition"
[I] Jan  1 00:00:07 kernel: 1 ndmubipart partitions found on MTD device NDM combined UBI partition
[I] Jan  1 00:00:07 kernel: mtd: creating 1 MTD partitions on "NDM combined UBI partition":
[I] Jan  1 00:00:07 kernel: 0x000000000000-0x0000021c0000 : "Storage"
[I] Jan  1 00:00:07 kernel: Merging storage partitions OK

[W] Jan  1 03:00:11 kernel: ubi0: attaching mtd17
[W] Jan  1 03:00:11 kernel: ubi0: scanning is finished
[W] Jan  1 03:00:11 kernel: ubi0: attached mtd17 (name "Storage", size 33 MiB)
[W] Jan  1 03:00:11 kernel: ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[W] Jan  1 03:00:11 kernel: ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[W] Jan  1 03:00:11 kernel: ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[W] Jan  1 03:00:11 kernel: ubi0: good PEBs: 270, bad PEBs: 0, corrupted PEBs: 0
[W] Jan  1 03:00:11 kernel: ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[W] Jan  1 03:00:11 kernel: ubi0: max/mean erase counter: 2/1, WL threshold: 2048, image sequence number: 4028866988
[W] Jan  1 03:00:11 kernel: ubi0: available PEBs: 0, total reserved PEBs: 270, PEBs reserved for bad PEB handling: 7
[W] Jan  1 03:00:11 kernel: ubi0: background thread "ubi_bgt0d" started, PID 549
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 551
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "storage"
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): FS size: 31617024 bytes (30 MiB, 249 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): reserved for root: 1493350 bytes (1458 KiB)
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 10........04, small LPT model

Или KN1810

[I] Jan  1 00:00:04 kernel: mtd: creating 17 MTD partitions on "MT7621-NAND":
[I] Jan  1 00:00:04 kernel: 0x000000000000-0x000000080000 : "U-Boot"
[I] Jan  1 00:00:04 kernel: 0x000000080000-0x000000100000 : "U-Config"
[I] Jan  1 00:00:04 kernel: 0x000000100000-0x000000180000 : "RF-EEPROM"
[I] Jan  1 00:00:04 kernel: 0x000000180000-0x000000360000 : "Kernel_1"
[I] Jan  1 00:00:04 kernel: 0x000000360000-0x000001d40000 : "RootFS_1"
[I] Jan  1 00:00:04 kernel: mtd: device 4 (RootFS_1) set to be root filesystem
[I] Jan  1 00:00:04 kernel: 0x000000180000-0x000001d40000 : "Firmware_1"
[I] Jan  1 00:00:04 kernel: 0x000001d40000-0x000001dc0000 : "Config_1"
[I] Jan  1 00:00:04 kernel: 0x000001dc0000-0x000001fc0000 : "Storage_Legacy"
[I] Jan  1 00:00:04 kernel: 0x000001fc0000-0x000002000000 : "Dump"
[I] Jan  1 00:00:04 kernel: 0x000002000000-0x000003fc0000 : "Storage_A"
[I] Jan  1 00:00:04 kernel: 0x000003fc0000-0x000004040000 : "U-State"
[I] Jan  1 00:00:04 kernel: 0x000004040000-0x0000040c0000 : "U-Config_res"
[I] Jan  1 00:00:04 kernel: 0x0000040c0000-0x000004140000 : "RF-EEPROM_res"
[I] Jan  1 00:00:04 kernel: 0x000004140000-0x000005d00000 : "Firmware_2"
[I] Jan  1 00:00:04 kernel: 0x000005d00000-0x000005d80000 : "Config_2"
[I] Jan  1 00:00:04 kernel: 0x000005d80000-0x000007f80000 : "Storage_B"
[I] Jan  1 00:00:04 kernel: 0x000000000000-0x000007f80000 : "Full"

[I] Jan  1 00:00:07 kernel: Searching for suitable storage partitions...
[I] Jan  1 00:00:07 kernel: Found 1st storage partition of size 33292288 bytes
[I] Jan  1 00:00:07 kernel: Found 2nd storage partition of size 35651584 bytes
[I] Jan  1 00:00:07 kernel: Registering UBI data partitions parser
[W] Jan  1 00:00:07 kernel: Concatenating MTD devices:
[W] Jan  1 00:00:07 kernel: (0): "Storage_A"
[W] Jan  1 00:00:07 kernel: (1): "Storage_B"
[W] Jan  1 00:00:07 kernel: into device "NDM combined UBI partition"
[I] Jan  1 00:00:07 kernel: 1 ndmubipart partitions found on MTD device NDM combined UBI partition
[I] Jan  1 00:00:07 kernel: mtd: creating 1 MTD partitions on "NDM combined UBI partition":
[I] Jan  1 00:00:07 kernel: 0x000000000000-0x0000041c0000 : "Storage"
[I] Jan  1 00:00:07 kernel: Merging storage partitions OK

[W] Jan  1 03:00:11 kernel: ubi0: attaching mtd17
[W] Jan  1 03:00:12 kernel: ubi0: scanning is finished
[W] Jan  1 03:00:12 kernel: ubi0: attached mtd17 (name "Storage", size 65 MiB)
[W] Jan  1 03:00:12 kernel: ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[W] Jan  1 03:00:12 kernel: ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[W] Jan  1 03:00:12 kernel: ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[W] Jan  1 03:00:12 kernel: ubi0: good PEBs: 525, bad PEBs: 1, corrupted PEBs: 0
[W] Jan  1 03:00:12 kernel: ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[W] Jan  1 03:00:12 kernel: ubi0: max/mean erase counter: 2/1, WL threshold: 2048, image sequence number: 876655129
[W] Jan  1 03:00:12 kernel: ubi0: available PEBs: 0, total reserved PEBs: 525, PEBs reserved for bad PEB handling: 12
[W] Jan  1 03:00:12 kernel: ubi0: background thread "ubi_bgt0d" started, PID 545
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 547
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "storage"
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): FS size: 63361024 bytes (60 MiB, 499 LEBs), journal size 3174400 bytes (3 MiB, 25 LEBs)
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): reserved for root: 2992697 bytes (2922 KiB)
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 5A.....59, small LPT model

Вопрос для данной модели роутера KN1011 так и останется размер storage = 33Mib а в реале

/dev/ubi0_0              27868        24     26388   0% /storage

 

  • Upvote 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 2/21/2022 at 9:10 AM, vasek00 said:

KN1011

[I] Jan  1 00:00:03 kernel: mtd: creating 17 MTD partitions on "MT7621-NAND":
[I] Jan  1 00:00:03 kernel: 0x000000000000-0x000000080000 : "U-Boot"
[I] Jan  1 00:00:03 kernel: 0x000000080000-0x000000100000 : "U-Config"
[I] Jan  1 00:00:03 kernel: 0x000000100000-0x000000180000 : "RF-EEPROM"
[I] Jan  1 00:00:03 kernel: 0x000000180000-0x000000340000 : "Kernel_1"
[I] Jan  1 00:00:03 kernel: 0x000000340000-0x000002bc0000 : "RootFS_1"
[I] Jan  1 00:00:03 kernel: mtd: device 4 (RootFS_1) set to be root filesystem
[I] Jan  1 00:00:03 kernel: 0x000000180000-0x000002bc0000 : "Firmware_1"
[I] Jan  1 00:00:03 kernel: 0x000002bc0000-0x000002dc0000 : "Config_1"
[I] Jan  1 00:00:03 kernel: 0x000002dc0000-0x000002fc0000 : "Storage_Legacy"
[I] Jan  1 00:00:03 kernel: 0x000002fc0000-0x000003000000 : "Dump"
[I] Jan  1 00:00:03 kernel: 0x000003000000-0x000003fc0000 : "Storage_A"
[I] Jan  1 00:00:03 kernel: 0x000003fc0000-0x000004040000 : "U-State"
[I] Jan  1 00:00:03 kernel: 0x000004040000-0x0000040c0000 : "U-Config_res"
[I] Jan  1 00:00:03 kernel: 0x0000040c0000-0x000004140000 : "RF-EEPROM_res"
[I] Jan  1 00:00:03 kernel: 0x000004140000-0x000006b80000 : "Firmware_2"
[I] Jan  1 00:00:03 kernel: 0x000006b80000-0x000006d80000 : "Config_2"
[I] Jan  1 00:00:03 kernel: 0x000006d80000-0x000007f80000 : "Storage_B"
[I] Jan  1 00:00:03 kernel: 0x000000000000-0x000007f80000 : "Full"

[I] Jan  1 00:00:07 kernel: Searching for suitable storage partitions...
[I] Jan  1 00:00:07 kernel: Found 1st storage partition of size 16515072 bytes
[I] Jan  1 00:00:07 kernel: Found 2nd storage partition of size 18874368 bytes
[I] Jan  1 00:00:07 kernel: Registering UBI data partitions parser
[W] Jan  1 00:00:07 kernel: Concatenating MTD devices:
[W] Jan  1 00:00:07 kernel: (0): "Storage_A"
[W] Jan  1 00:00:07 kernel: (1): "Storage_B"
[W] Jan  1 00:00:07 kernel: into device "NDM combined UBI partition"
[I] Jan  1 00:00:07 kernel: 1 ndmubipart partitions found on MTD device NDM combined UBI partition
[I] Jan  1 00:00:07 kernel: mtd: creating 1 MTD partitions on "NDM combined UBI partition":
[I] Jan  1 00:00:07 kernel: 0x000000000000-0x0000021c0000 : "Storage"
[I] Jan  1 00:00:07 kernel: Merging storage partitions OK

[W] Jan  1 03:00:11 kernel: ubi0: attaching mtd17
[W] Jan  1 03:00:11 kernel: ubi0: scanning is finished
[W] Jan  1 03:00:11 kernel: ubi0: attached mtd17 (name "Storage", size 33 MiB)
[W] Jan  1 03:00:11 kernel: ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[W] Jan  1 03:00:11 kernel: ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[W] Jan  1 03:00:11 kernel: ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[W] Jan  1 03:00:11 kernel: ubi0: good PEBs: 270, bad PEBs: 0, corrupted PEBs: 0
[W] Jan  1 03:00:11 kernel: ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[W] Jan  1 03:00:11 kernel: ubi0: max/mean erase counter: 2/1, WL threshold: 2048, image sequence number: 4028866988
[W] Jan  1 03:00:11 kernel: ubi0: available PEBs: 0, total reserved PEBs: 270, PEBs reserved for bad PEB handling: 7
[W] Jan  1 03:00:11 kernel: ubi0: background thread "ubi_bgt0d" started, PID 549
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 551
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "storage"
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): FS size: 31617024 bytes (30 MiB, 249 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): reserved for root: 1493350 bytes (1458 KiB)
[W] Jan  1 03:00:11 kernel: UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 10........04, small LPT model

Or KN1810

[I] Jan  1 00:00:04 kernel: mtd: creating 17 MTD partitions on "MT7621-NAND":
[I] Jan  1 00:00:04 kernel: 0x000000000000-0x000000080000 : "U-Boot"
[I] Jan  1 00:00:04 kernel: 0x000000080000-0x000000100000 : "U-Config"
[I] Jan  1 00:00:04 kernel: 0x000000100000-0x000000180000 : "RF-EEPROM"
[I] Jan  1 00:00:04 kernel: 0x000000180000-0x000000360000 : "Kernel_1"
[I] Jan  1 00:00:04 kernel: 0x000000360000-0x000001d40000 : "RootFS_1"
[I] Jan  1 00:00:04 kernel: mtd: device 4 (RootFS_1) set to be root filesystem
[I] Jan  1 00:00:04 kernel: 0x000000180000-0x000001d40000 : "Firmware_1"
[I] Jan  1 00:00:04 kernel: 0x000001d40000-0x000001dc0000 : "Config_1"
[I] Jan  1 00:00:04 kernel: 0x000001dc0000-0x000001fc0000 : "Storage_Legacy"
[I] Jan  1 00:00:04 kernel: 0x000001fc0000-0x000002000000 : "Dump"
[I] Jan  1 00:00:04 kernel: 0x000002000000-0x000003fc0000 : "Storage_A"
[I] Jan  1 00:00:04 kernel: 0x000003fc0000-0x000004040000 : "U-State"
[I] Jan  1 00:00:04 kernel: 0x000004040000-0x0000040c0000 : "U-Config_res"
[I] Jan  1 00:00:04 kernel: 0x0000040c0000-0x000004140000 : "RF-EEPROM_res"
[I] Jan  1 00:00:04 kernel: 0x000004140000-0x000005d00000 : "Firmware_2"
[I] Jan  1 00:00:04 kernel: 0x000005d00000-0x000005d80000 : "Config_2"
[I] Jan  1 00:00:04 kernel: 0x000005d80000-0x000007f80000 : "Storage_B"
[I] Jan  1 00:00:04 kernel: 0x000000000000-0x000007f80000 : "Full"

[I] Jan  1 00:00:07 kernel: Searching for suitable storage partitions...
[I] Jan  1 00:00:07 kernel: Found 1st storage partition of size 33292288 bytes
[I] Jan  1 00:00:07 kernel: Found 2nd storage partition of size 35651584 bytes
[I] Jan  1 00:00:07 kernel: Registering UBI data partitions parser
[W] Jan  1 00:00:07 kernel: Concatenating MTD devices:
[W] Jan  1 00:00:07 kernel: (0): "Storage_A"
[W] Jan  1 00:00:07 kernel: (1): "Storage_B"
[W] Jan  1 00:00:07 kernel: into device "NDM combined UBI partition"
[I] Jan  1 00:00:07 kernel: 1 ndmubipart partitions found on MTD device NDM combined UBI partition
[I] Jan  1 00:00:07 kernel: mtd: creating 1 MTD partitions on "NDM combined UBI partition":
[I] Jan  1 00:00:07 kernel: 0x000000000000-0x0000041c0000 : "Storage"
[I] Jan  1 00:00:07 kernel: Merging storage partitions OK

[W] Jan  1 03:00:11 kernel: ubi0: attaching mtd17
[W] Jan  1 03:00:12 kernel: ubi0: scanning is finished
[W] Jan  1 03:00:12 kernel: ubi0: attached mtd17 (name "Storage", size 65 MiB)
[W] Jan  1 03:00:12 kernel: ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[W] Jan  1 03:00:12 kernel: ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[W] Jan  1 03:00:12 kernel: ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[W] Jan  1 03:00:12 kernel: ubi0: good PEBs: 525, bad PEBs: 1, corrupted PEBs: 0
[W] Jan  1 03:00:12 kernel: ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[W] Jan  1 03:00:12 kernel: ubi0: max/mean erase counter: 2/1, WL threshold: 2048, image sequence number: 876655129
[W] Jan  1 03:00:12 kernel: ubi0: available PEBs: 0, total reserved PEBs: 525, PEBs reserved for bad PEB handling: 12
[W] Jan  1 03:00:12 kernel: ubi0: background thread "ubi_bgt0d" started, PID 545
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 547
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "storage"
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): FS size: 63361024 bytes (60 MiB, 499 LEBs), journal size 3174400 bytes (3 MiB, 25 LEBs)
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): reserved for root: 2992697 bytes (2922 KiB)
[W] Jan  1 03:00:12 kernel: UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 5A.....59, small LPT model

The question for this model of the KN1011 router will remain the size of storage = 33Mib but in real life

/dev/ubi0_0              27868        24     26388   0% /storage

 

KN-1011: https://prnt.sc/KnagJ8CnQXE3

KN-2510: https://prnt.sc/y-ZA-0FIGGIe

Edited by KYTECHNGAMING
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...