Garnet
March 15, 2024, 11:13pm
1
Hi all,
I have a TL-WR802N v4 which I use as travel router.
I can see that it has the following as filesystems:
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 28.1M 280.0K 27.8M 1% /tmp
/dev/mtdblock4 2.1M 1.8M 268.0K 87% /overlay
overlayfs:/overlay 2.1M 1.8M 268.0K 87% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~#
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00010000 "boot"
mtd1: 007a0000 00010000 "firmware"
mtd2: 0021b606 00010000 "kernel"
mtd3: 005849f8 00010000 "rootfs"
mtd4: 00210000 00010000 "rootfs_data"
mtd5: 00010000 00010000 "config"
mtd6: 00030000 00010000 "factory"
Overlay (root) is 1.8M, very small. I cant install much packets in there.
I can see that there is tmpfs of 28.1M mounted on /tmp
Is there a way to isse a patch to make the overlay filesystem bigger using the space in tmpfs?
How do I submit dev request for this is technically possible?
No. tmpfs
is in RAM. That means it will vanish upon a power cycle or reboot, so it cannot be used to extend the file system.
slh
March 16, 2024, 5:23am
3
Just to spell it out explicitly, your device has 4 MB flash in total (and 32 MB RAM), there is not anything left to gain. And as this device, like all 4/32 devices , hasn't been supported by OpenWrt for quite a while already and should be replaced urgently.
Face the same issue as @Garnet on my TL-WR802N v4
So overlay (root) is only 2.1M and I cant install much additional packages therefore
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 28.0M 1016.0K 27.0M 4% /tmp
/dev/mtdblock4 2.1M 1.9M 196.0K 91% /overlay
overlayfs:/overlay 2.1M 1.9M 196.0K 91% /
tmpfs 512.0K 0 512.0K 0% /dev
Just realizied this after succesfull flash with latest 23.05.0 Factory image of OpenWrt (new device)
According to Openwrt TOH of TP-Link TL-WR802N v4 the device should have with V4:
Flash MB: 8
RAM MB: 64
So should be normally not some 4/32 device as mentioned previously by @slh
Label information on device:
Mode: TL-WR802N(EU) Ver. 4.0
S/N: 223C251002739
So seems to me that this information on the HW-page is outdated for at least some devices
Reflash to orgin Firmware OEM Stock EU just worked for me with TL-WR802N(EU)_V4_200623
and not with latest TL-WR802N(EU)_V4_221008
Not sure how this information could be added to the wiki page TP-Link TL-WR802N v4 so that others are not suprised about this fact
Official support thread is closed Discourse: support-for-tp-link-tl-wr802n-v4