The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.
---
 target/linux/ramips/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/image/Makefile 
b/target/linux/ramips/image/Makefile
index d1204f3..ffaa49e 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -389,6 +389,7 @@ endef
 
 define Image/Build/Profile/ALL0256N
        $(call 
Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,all0256n,ALL0256N,ttyS1,57600,spi)
+       $(call 
Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,all0256n-8m,ALL0256N,ttyS1,57600,spi)
 endef
 
 define Image/Build/Profile/ALL5002
-- 
1.7.12.2

Attachment: pgpxmgrivZ2kl.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to