diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2022-05-28 20:56:31 -0500 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-08-13 19:19:38 +0200 |
commit | 7bba7ccde9cb021e24ec83f1332aafd5898e23ef (patch) | |
tree | 727a916b30bf41b236af44667280bfb2ebb41f17 | |
parent | 225137608cf7cc5f6652bc7a0c026ee7888faf2e (diff) | |
download | upstream-7bba7ccde9cb021e24ec83f1332aafd5898e23ef.tar.gz upstream-7bba7ccde9cb021e24ec83f1332aafd5898e23ef.tar.bz2 upstream-7bba7ccde9cb021e24ec83f1332aafd5898e23ef.zip |
realtek: EnGenius EWS2910P: use the mtd3 partition for root overlay
The root overlay is mounted on the "rootfs_data" partition. This comes
at the end of the firmware image, courtesy of mtdsplit. There is very
little space left (About 1MB), which can fill up rapidly.
The "firmware" and "firmware2" partitions are part of the bootloader
dual firmware logic. They should contain independent, valid uImages.
This leaves "jffs2-cfg" (mtd3) and "jffs2-log" (mtd4) as candidates.
mtd3 is about 13.7 MB and is used by the vendor firmware to store
configuration settings. It is only erased by vendor firmware during a
factory reset. By naming this partition "rootfs_data", it becomes the
root overlay, providing significantly more room. Even with mtdsplit
wanting to create a "rootfs_data" on the firmware partition, mtd3 is
used as the overlay.
Rename "jffs2-cfg" to "rootfs_data", and profit from the extra space.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts b/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts index dd57b2bf48..9b5ddb5ed4 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts +++ b/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts @@ -144,7 +144,7 @@ reg = <0x90000 0x10000>; }; partition@a0000 { - label = "jffs2-cfg"; + label = "rootfs_data"; reg = <0xa0000 0xd60000>; }; partition@e00000 { |