[OpenWrt-Devel] [PATCH v2 2/4] ath79: WNDR4300: increase kernel partition to 4M

Adrian Schmutzler mail at adrianschmutzler.de
Mon Jan 20 12:52:28 EST 2020


Hi,

can you comment on/take care of
https://github.com/openwrt/openwrt/commit/4e6af8b9efcfc51e217d793239487dd8af1f410e#commitcomment-36881083

Best

Adrian

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On
> Behalf Of Michal Cieslakiewicz
> Sent: Sonntag, 22. Dezember 2019 21:53
> To: openwrt-devel at lists.openwrt.org
> Cc: Adrian Schmutzler <mail at adrianschmutzler.de>; David Bauer <mail at david-
> bauer.net>
> Subject: [OpenWrt-Devel] [PATCH v2 2/4] ath79: WNDR4300: increase kernel
> partition to 4M
> 
> Increase kernel partition from 2 MiB to 4 MiB for Netgear WNDR routers
> with NAND flash. Change affects following devices:
>  * Netgear WNDR3700 v4
>  * Netgear WNDR4300
> 
> Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz at wp.pl>
> ---
>  target/linux/ath79/dts/ar9344_netgear_wndr.dtsi | 10 +++++-----
>  target/linux/ath79/image/nand.mk                |  2 +-
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
> b/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
> index 38dd052f5f..dd212c0d88 100644
> --- a/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
> +++ b/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
> @@ -106,9 +106,9 @@
>  			#address-cells = <1>;
>  			#size-cells = <1>;
> 
> -			ubi at 8c0000 {
> +			ubi at ac0000 {
>  				label = "ubi";
> -				reg = <0x0 0x7700000>;
> +				reg = <0x0 0x7500000>;
>  			};
>  		};
>  	};
> @@ -167,12 +167,12 @@
> 
>  		kernel at 6c0000 {
>  			label = "kernel";
> -			reg = <0x6c0000 0x200000>;
> +			reg = <0x6c0000 0x400000>;
>  		};
> 
> -		ubipart0: partition at 8c0000 {
> +		ubipart0: partition at ac0000 {
>  			label = "ubipart0";
> -			reg = <0x8c0000 0x1700000>;
> +			reg = <0xac0000 0x1500000>;
>  		};
> 
>  		partition at 6c0000 {
> diff --git a/target/linux/ath79/image/nand.mk
> b/target/linux/ath79/image/nand.mk
> index c6a1441ed9..5f893e0044 100644
> --- a/target/linux/ath79/image/nand.mk
> +++ b/target/linux/ath79/image/nand.mk
> @@ -111,7 +111,7 @@ TARGET_DEVICES += glinet_gl-ar750s-nor
>  define Device/netgear_ath79_nand
>    DEVICE_VENDOR := NETGEAR
>    DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
> -  KERNEL_SIZE := 2048k
> +  KERNEL_SIZE := 4096k
>    BLOCKSIZE := 128k
>    PAGESIZE := 2048
>    IMAGE_SIZE := 25600k
> --
> 2.24.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/20200120/4be4bdb4/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