R6220 wrong ROM size

Hi everyone, I have recently installed OpenWRT 21.02.0 on my Netgear R6220. As per the device spec sheet it has 128MB of ROM. But after I have installed OpenWRT, in the softwares section it only shows about 18MB of ROM size. How can I get the total 128 of ROM?

root@NetgearR6220:~# fdisk -l
Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock3: 28 MiB, 29360128 bytes, 57344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock4: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock5: 60 MiB, 62914560 bytes, 122880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/ubiblock0_0: 3.27 MiB, 3428352 bytes, 6696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Post /proc/mtd

Thank you for taking time and looking into my problem, really appreciate it.
Here it is

root@NetgearR6220:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00100000 00020000 "SC PID"
mtd2: 00400000 00020000 "kernel"
mtd3: 01c00000 00020000 "ubi"
mtd4: 00100000 00020000 "factory"
mtd5: 03c00000 00020000 "reserved"

openwrt is setup to use the same size as the OEM firmware
& use the original layout
you can compile your own & use the reserved but there is a lot to it

128MB is the flash capacity. Of course the system will occupies some and 18MB is the left-over free space "for you to use"

You mean OpenWRT is using 100MB(I have no other extra packages installed other than htop, and nlbwm; It's a fresh install)?!

This has been asked, and answered, before.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.