diff --git a/target/linux/realtek/dts/rtl9302_zyxel_xmg1915-10e.dts b/target/linux/realtek/dts/rtl9302_zyxel_xmg1915-10e.dts index 25a73e1ec7..9d646ea1a6 100644 --- a/target/linux/realtek/dts/rtl9302_zyxel_xmg1915-10e.dts +++ b/target/linux/realtek/dts/rtl9302_zyxel_xmg1915-10e.dts @@ -161,19 +161,27 @@ partition@80000 { label = "reserved"; - reg = <0x80000 0xf80000>; + reg = <0x80000 0x1e0000>; read-only; }; - partition@1260000 { - label = "loader"; - reg = <0x1260000 0x30000>; - }; + partition@260000 { + label = "factory"; + reg = <0x260000 0x1da0000>; - partition@1290000 { - label = "firmware"; - reg = <0x1290000 0xd70000>; - compatible = "openwrt,uimage", "denx,uimage"; + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "loader"; + reg = <0x0 0x10000>; + }; + partition@10000 { + label = "firmware"; + reg = <0x10000 0x1d90000>; + compatible = "openwrt,uimage", "denx,uimage"; + }; }; }; }; diff --git a/target/linux/realtek/image/rtl930x.mk b/target/linux/realtek/image/rtl930x.mk index 20f96c3ae4..df5c16c6e3 100644 --- a/target/linux/realtek/image/rtl930x.mk +++ b/target/linux/realtek/image/rtl930x.mk @@ -231,7 +231,7 @@ define Device/zyxel_xmg1915-10e ZYXEL_VERS := ABWE DEVICE_VENDOR := Zyxel DEVICE_MODEL := XMG1915-10E - FLASH_ADDR := 0xb5290000 + FLASH_ADDR := 0xb4270000 ifeq ($(IB),) ARTIFACTS := loader.bin ARTIFACT/loader.bin := \ @@ -239,6 +239,6 @@ ifeq ($(IB),) zynsig endif $(Device/rt-loader-bootbase) - IMAGE_SIZE := 13760k + IMAGE_SIZE := 30336k endef TARGET_DEVICES += zyxel_xmg1915-10e