Is there anyone who can accept this patch? It's crucial fix for device WF-2881 Because WF-2881 currently isn't working without it
Thanks! -----Original Message----- From: openwrt-devel [mailto:[email protected]] On Behalf Of YounJae Rho Sent: Tuesday, February 23, 2016 6:29 PM To: [email protected] Subject: [OpenWrt-Devel] [PATCH] ramips: mt7621: fix WF-2881 for firmware split This patch fix firmware split for WF-2881 which was previously manually partitioned. Signed-off-by: YounJae Rho <[email protected]> --- target/linux/ramips/dts/WF-2881.dts | 14 ++------------ target/linux/ramips/image/Makefile | 5 +++-- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts index aaafe5a..d33436c 100644 --- a/target/linux/ramips/dts/WF-2881.dts +++ b/target/linux/ramips/dts/WF-2881.dts @@ -48,19 +48,9 @@ read-only; }; - firmware { - label = "firmware"; - reg = <0x140000 0x6EC0000>; - }; - partition@140000 { - label = "kernel"; - reg = <0x140000 0x200000>; - }; - - partition@340000 { - label = "ubi"; - reg = <0x340000 0x6CC0000>; + label = "firmware"; + reg = <0x140000 0x7E40000>; }; }; diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 8bdd76a..99105a6 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -1070,9 +1070,10 @@ define Device/wf-2881 DTS := WF-2881 BLOCKSIZE := 128KiB PAGESIZE := 2048 - KERNEL_SIZE := 2097152 FILESYSTEMS := squashfs - IMAGE/sysupgrade.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) + IMAGE_SIZE := 132382720 + KERNEL := $(KERNEL_DTB) | pad-offset 131072 64 | uImage lzma + IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE) endef define Device/ubnt-erx -- 2.5.0 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
