Only available half the ROM size on my WZR-600DHP2.

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Sopalajo de Arrierez
DD-WRT Novice


Joined: 04 Dec 2015
Posts: 16

PostPosted: Wed Jun 10, 2020 23:22    Post subject: Only available half the ROM size on my WZR-600DHP2. Reply with quote
I have a Buffalo WZR-600DHP2 with DD-WRT r43334 just installed.

I have activated the JFFS flash partition, and I see now:

Code:
root@WZR600DHP2:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                23.8M     23.8M         0 100% /
/dev/mtdblock/6          55.0M      1.5M     53.5M   3% /jffs
/dev/sda1               940.3M     27.2M    864.6M   3% /opt


It seems strange to me a partition size of only
Code:
55.0MB
, as long as this router is supposed to have 128MB Flash (and 256MB RAM), as researched: https://oldwiki.archive.openwrt.org/toh/buffalo/wzr-600dhp2 .

In order to compare, I am checking my Mikrotik RouterBoard RB951Ui-2HnD (128MB Flash ROM too) with OpenWRT v18 installed:

Code:
luis@OpenWrt:/$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    61.1M    768.0K     60.3M   1% /tmp
/dev/ubi0_2             102.8M     55.1M     43.0M  56% /overlay
overlayfs:/overlay      102.8M     55.1M     43.0M  56% /
tmpfs                   512.0K         0    512.0K   0% /dev


As can be seen, it detects
Code:
102,8MB
, much more close to the real 128MB real size.

Is there any error here? Why DD-WRT only sees about half of my ROM in the WZR-600DHP2?
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Thu Jun 11, 2020 1:48    Post subject: Reply with quote
cat /proc/mtd output shows what...
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Sopalajo de Arrierez
DD-WRT Novice


Joined: 04 Dec 2015
Posts: 16

PostPosted: Thu Jun 11, 2020 22:52    Post subject: Output of /proc/mtd : Reply with quote
Here you have, for the Buffalo DD-WRT:
Code:

~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00160000 00020000 "nvram"
mtd2: 01f00000 00020000 "linux"
mtd3: 01d60000 00020000 "rootfs"
mtd4: 01f00000 00020000 "linux2"
mtd5: 01d60000 00020000 "rootfs2"
mtd6: 03700000 00020000 "ddwrt"


It seems that 3700000hex equals to about 60MB .

And, in order to compare, the output of the Mikrotik RouterBoard:

Code:
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "booter"
mtd1: 003c0000 00020000 "kernel"
mtd2: 07c00000 00020000 "ubi"


This one shows, indeed, 7c00000hex , that is close to 120MB .
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum