[OpenWrt-Devel] wndr3700/wndr4300 memory map?

Mauro Mozzarelli openwrt at ezplanet.net
Fri Oct 28 11:37:32 EDT 2016


Answering to myself for everyone:

After some hacking I found the code was moved to legacy.mk


On 28/10/16 15:18, Mauro Mozzarelli wrote:
> Hello,
>
> I have seen that the new trunk code has some substantial changes to
> Netgear WNDR3700/4300 memory map configuration.
>
> The Makefile used to hold the memory maps and that now has disappeared
> thus the following patch that I created to get the whole flash for the
> filesystem no longer applies:
>
> --- trunk-ipvs/target/linux/ar71xx/image/Makefile   2016-10-16
> 20:05:58.890051707 +0100
> +++ trunk-ipvs.original/target/linux/ar71xx/image/Makefile 2016-04-07
> 19:47:46.000000000 +0100
> @@ -1664,7 +1631,7 @@
>  wnr2000v4_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,3776k(firmware),64k(art)ro
>
>  r6100_mtdlayout=mtdparts=ar934x-nfc:128k(u-boot)ro,256k(caldata),256k(caldata-backup),512k(config),512k(pot),2048k(kernel),122240k(ubi),25600k at 0x1a0000(firmware),2048k(language),3072k(traffic_meter)
>
>  tew823dru_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dlink)ro,64k(mac)ro,64k(art)ro
>
> -wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k at 0x6c0000(firmware),256k(caldata_backup),-(reserved)
>
> +wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),121856k(ubi),123904k at 0x6c0000(firmware),256k(caldata_backup),-(reserved)
>
>  zcn1523h_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6208k(rootfs),1472k(kernel),64k(configure)ro,64k(mfg)ro,64k(art)ro,7680k at 0x50000(firmware)
>
>  mynet_n600_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro
>
>  mynet_rext_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,7808k(firmware),64k(nvram)ro,64k(ART)ro
>
>
> Please could you let me know how do I remap the flash memory now?
>
> Thank you in advance.
> Mauro
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-- 
Mauro Mozzarelli
eMail: mauro at ezplanet.net
Phone: +44 7941727378
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list