Gargoyle on WR1043NDv2 does not let me use all 8MB of memory

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
ethaniel
Posts: 3
Joined: Sat Mar 19, 2016 2:20 am

Gargoyle on WR1043NDv2 does not let me use all 8MB of memory

Post by ethaniel »

WR1043NDv2 has 8MB of Flash memory. However, only 800K is accessible from Gargoyle which is not enough for installing other programs. I am on 1.9.0. And tried 1.6 as well.

Code: Select all

root@Gargoyle:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  832.0K    256.0K    576.0K  31% /
/dev/root                 6.0M      6.0M         0 100% /rom
tmpfs                    29.9M    152.0K     29.7M   0% /tmp
tmpfs                    29.9M    124.0K     29.7M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3          832.0K    256.0K    576.0K  31% /overlay
overlayfs:/overlay      832.0K    256.0K    576.0K  31% /
Is this normal?

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle on WR1043NDv2 does not let me use all 8MB of me

Post by Lantis »

yes that looks completely normal.
What do you need to install that won't fit in 800K?

Remember that we need to fit the firmware in to that 8MB of flash. The sysupgrade image (which is a better size indication of the true user space) is approximately 7MB, so 800KB left over makes perfect sense to me.
Whatever we have left over is what you can work with as an end user.

https://wiki.openwrt.org/doc/techref/flash.layout

That article may be useful to you for a quick read.
Particularly the section on "Partitioning of the Flash". They actually give an example using the WR1043ND (version shouldn't matter). What you should keep in mind though is that those numbers aren't accurate any more. The kernel has grown in size. And that Gargoyle adds many features and these take up space, so the estimates on the other partitions are probably quite low also.

BTW, your device has a USB port yes? Why not expand your space with a usb drive? :)
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply