Message ID | 20200322231707.6014-1-dobrovolskiy.alexey@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
Series | ramips: use full 8MB flash on ZyXEL Keenetic | expand |
Hi, please fix this in master first, it can be backported afterwards. Despite, you do not need a cover letter for a single patch, particularly if it does not have any content. Best Adrian > -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] > On Behalf Of Alexey Dobrovolsky > Sent: Montag, 23. März 2020 00:17 > To: john@phrozen.org > Cc: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>; openwrt- > devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 1/1] ramips: use full 8MB flash on ZyXEL > Keenetic > > ZyXEL Keenetic has 8MB flash, but OpenWrt uses only 4MB. > This commit fixes the problem in v18.06.8. > > Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com> > --- > target/linux/ramips/dts/kn.dts | 2 +- > target/linux/ramips/image/rt305x.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/target/linux/ramips/dts/kn.dts b/target/linux/ramips/dts/kn.dts > index 77b047c094..94f6cddf94 100644 > --- a/target/linux/ramips/dts/kn.dts > +++ b/target/linux/ramips/dts/kn.dts > @@ -37,7 +37,7 @@ > > partition@50000 { > label = "firmware"; > - reg = <0x50000 0x3b0000>; > + reg = <0x50000 0x7b0000>; > }; > }; > > diff --git a/target/linux/ramips/image/rt305x.mk > b/target/linux/ramips/image/rt305x.mk > index 2d071c1ebc..b67cf5d2f7 100644 > --- a/target/linux/ramips/image/rt305x.mk > +++ b/target/linux/ramips/image/rt305x.mk > @@ -895,7 +895,7 @@ TARGET_DEVICES += xdxrn502j define Device/kn > DTS := kn > BLOCKSIZE := 64k > - IMAGE_SIZE := $(ralink_default_fw_size_4M) > + IMAGE_SIZE := $(ralink_default_fw_size_8M) > DEVICE_TITLE := ZyXEL Keenetic > DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod- > usb-ledtrig-usbport endef > -- > 2.17.1 > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff --git a/target/linux/ramips/dts/kn.dts b/target/linux/ramips/dts/kn.dts index 77b047c094..94f6cddf94 100644 --- a/target/linux/ramips/dts/kn.dts +++ b/target/linux/ramips/dts/kn.dts @@ -37,7 +37,7 @@ partition@50000 { label = "firmware"; - reg = <0x50000 0x3b0000>; + reg = <0x50000 0x7b0000>; }; }; diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index 2d071c1ebc..b67cf5d2f7 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -895,7 +895,7 @@ TARGET_DEVICES += xdxrn502j define Device/kn DTS := kn BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGE_SIZE := $(ralink_default_fw_size_8M) DEVICE_TITLE := ZyXEL Keenetic DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-usbport endef
ZyXEL Keenetic has 8MB flash, but OpenWrt uses only 4MB. This commit fixes the problem in v18.06.8. Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com> --- target/linux/ramips/dts/kn.dts | 2 +- target/linux/ramips/image/rt305x.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)