Fixed it, I now have a 6MB overlay partition using the old runtime2
space:
diff --git a/target/linux/realtek/dts-5.15/rtl8393_zyxel_gs1900-48.dts b/target/linux/realtek/dts-5.15/rtl8393_zyxel_gs1900-48.dts
index c7ddd8313a..201f0afc1b 100644
--- a/target/linux/realtek/dts-5.15/rtl8393_zyxel_gs1900-48.dts
+++ b/target/linux/realtek/dts-5.15/rtl8393_zyxel_gs1900-48.dts
@@ -131,14 +131,10 @@
};
partition@260000 {
label = "firmware";
- reg = <0x260000 0x6d0000>;
+ reg = <0x260000 0xca0000>;
compatible = "openwrt,uimage", "denx,uimage";
openwrt,ih-magic = <0x83800000>;
};
- partition@930000 {
- label = "runtime2";
- reg = <0x930000 0x6d0000>;
- };
};
};
};
diff --git a/target/linux/realtek/image/common.mk b/target/linux/realtek/image/common.mk
index 37370f1999..7f071b794a 100644
--- a/target/linux/realtek/image/common.mk
+++ b/target/linux/realtek/image/common.mk
@@ -58,7 +58,7 @@ endef
define Device/zyxel_gs1900
DEVICE_VENDOR := ZyXEL
- IMAGE_SIZE := 6976k
+ IMAGE_SIZE := 12928k
UIMAGE_MAGIC := 0x83800000
KERNEL_INITRAMFS := \
kernel-bin | \
Here's what it looks like:
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.0M 3.0M 0 100% /rom
tmpfs 59.1M 40.0K 59.0M 0% /tmp
tmpfs 59.1M 68.0K 59.0M 0% /tmp/root
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock8 6.4M 360.0K 6.0M 6% /overlay
overlayfs:/overlay 6.4M 360.0K 6.0M 6% /
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "u-boot-env2"
mtd3: 00100000 00010000 "jffs"
mtd4: 00100000 00010000 "jffs2"
mtd5: 00ca0000 00010000 "firmware"
mtd6: 00360000 00010000 "kernel"
mtd7: 00940000 00010000 "rootfs"
mtd8: 00660000 00010000 "rootfs_data"