My tmpfs is unusually large (122MB), while my overlayfs is only 14.4MB. Is there a way to change this?
Some info:
Device: Linksys EA9500
OpenWRT version: OpenWrt SNAPSHOT, r20337-a66f843971
df -h output:
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.8M 3.8M 0 100% /rom
tmpfs 122.3M 2.0M 120.3M 2% /tmp
/dev/ubi0_1 14.4M 12.3M 1.3M 90% /overlay
overlayfs:/overlay 14.4M 12.3M 1.3M 90% /
tmpfs 512.0K 0 512.0K 0% /dev
hnyman
2
No.
tmpfs is just a ramdisk, not flash.
3 Likes
Another question:
These are my mtd devices, is there a way to use one of them? I don't use all of them currently
cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00100000 00020000 "nvram"
mtd2: 00080000 00020000 "devinfo"
mtd3: 01d00000 00020000 "firmware"
mtd4: 003fffe4 00020000 "linux"
mtd5: 01900000 00020000 "ubi"
mtd6: 01d00000 00020000 "backup"
mtd7: 02e00000 00020000 "system"
You've got two USB ports, use exroot..
I'm aware, but according to the device page I should have 128MB NAND
Your device also have a dual firmware setup, even though I can't see it in your post.
It's in the wiki though, and if correct, you'll never have more than 50% of the full flash size available...
Your device also have a dual firmware setup, even though I can't see it in your post.
Yeah, I've tried to flash to failsafe
but it failed, and my /proc/mtd doesn't match with the wiki
Wiki:
cat /proc/mtd:
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 01d00000 00020000 "linux"
mtd3: 01ad2504 00020000 "rootfs"
mtd4: 03300000 00020000 "linux2"
mtd5: 030d245c 00020000 "rootfs2"
mtd6: 02e00000 00020000 "brcmnand"
Edit: Is there a way to restore the original mtd layout?
hnyman
8
mtd layout is just included in the currently running image's kernel & DTS.
There is no traditional "partition table" on the flash itself.
"Flashing to failsafe" sounds strange. What have you done?
OpenWrt failsafe is a just a boot-time operation to enter serial/ssh console before the user settings are evaluated. No flashing should be required.
On this page: https://openwrt.org/toh/linksys/ea9500_v1#only_applicable_for_the_non-usa_model
It says to
mtd flash <filename> firmware
mtd flash <filename> failsafe
The first one works, the second one used to work but doesn't anymore
system
Closed
10
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.