[OpenWrt-Devel] [PATCH] ramips: use full 8MB flash on ZyXEL Keenetic
mail at adrianschmutzler.de
mail at adrianschmutzler.de
Wed Apr 8 16:13:14 EDT 2020
Hi,
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Alexey Dobrovolsky
> Sent: Mittwoch, 8. April 2020 20:44
> To: mail at adrianschmutzler.de
> Cc: Alexey Dobrovolsky <dobrovolskiy.alexey at gmail.com>; openwrt-
> devel at lists.openwrt.org
> Subject: [OpenWrt-Devel] [PATCH] ramips: use full 8MB flash on ZyXEL
> Keenetic
Thanks.
I've applied the patch and queued it for backporting here:
https://git.openwrt.org/?p=openwrt/staging/adrian.git;a=shortlog;h=refs/heads/staging-19.07
Since this image was disabled to do insufficient flash space before, I will have it enabled again and
it should be built for next point release in 19.07.
I will backport to 18.06 as well.
Best
Adrian
>
> ZyXEL Keenetic has 8MB flash, but OpenWrt uses only 4MB.
> This commit fixes the problem.
>
> Fixes: FS#2487
> Fixes: a7cbf59e0e04 ("ramips: add new device ZyXEL Keenetic as kn")
>
> WikiDevi page [1] says that ZyXEL Keenetic has FLA1: 8 MiB, there is an article
> with specs [2] (in Russian).
>
> [1] https://wikidevi.wi-cat.ru/ZyXEL_Keenetic
> [2] https://3dnews.ru/608774/page-2.html
>
> Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey at gmail.com>
> ---
> target/linux/ramips/dts/rt3052_zyxel_keenetic.dts | 2 +-
> target/linux/ramips/image/rt305x.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
> b/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
> index ad641f47e4..436743cff3 100644
> --- a/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
> +++ b/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
> @@ -48,7 +48,7 @@
> partition at 50000 {
> compatible = "denx,uimage";
> 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 33f94edf3f..313c3fa315 100644
> --- a/target/linux/ramips/image/rt305x.mk
> +++ b/target/linux/ramips/image/rt305x.mk
> @@ -1149,7 +1149,7 @@ TARGET_DEVICES += zorlik_zl5900v2 define
> Device/zyxel_keenetic
> SOC := rt3052
> BLOCKSIZE := 64k
> - IMAGE_SIZE := 3776k
> + IMAGE_SIZE := 7872k
> DEVICE_VENDOR := ZyXEL
> DEVICE_MODEL := Keenetic
> DEVICE_PACKAGES := kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-
> usbport
> --
> 2.17.1
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200408/83f1ddd9/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list