aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-07 13:01:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-07 13:01:50 +0000
commit59262ebdd51c0f8ccbb4ef7479341b9bb5c59ff8 (patch)
tree53641c27e2539a23389d59c1c2186b2c0d0441a9 /target/linux
parente9e6aeacc0072399742464d9126c93bba9cee9ef (diff)
downloadmaster-187ad058-59262ebdd51c0f8ccbb4ef7479341b9bb5c59ff8.tar.gz
master-187ad058-59262ebdd51c0f8ccbb4ef7479341b9bb5c59ff8.tar.bz2
master-187ad058-59262ebdd51c0f8ccbb4ef7479341b9bb5c59ff8.zip
ar71xx: build image for the AP121 boards with 4M of flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27523 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index b70a091b5f..cc45e4e855 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -519,16 +519,19 @@ define Image/Build/Template/128k/jffs2-128k
$(call Image/Build/$(1),jffs2-128k,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
endef
+
+ap121_mtdlayout_2M=mtdparts=spi0.0:64k(u-boot)ro,1216k(rootfs),704k(kernel),64k(art)ro,1920k@0x10000(firmware)
+ap121_mtdlayout_4M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware)
+
ap121_cmdline=board=AP121 console=ttyATH0,115200
-ap121_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,1216k(rootfs),704k(kernel),64k(art)ro,1920k@0x10000(firmware)
define Image/Build/Profile/AP121
- $(call Image/Build/Template/$(fs_4k)/$(1),AP121,ap121,$(ap121_cmdline),ap121_mtdlayout,720896,1245184)
+ $(call Image/Build/Template/$(fs_4k)/$(1),AP121,ap121-2M,$(ap121_cmdline),ap121_mtdlayout_2M,720896,1245184)
+ $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-4M,$(ap121_cmdline),ap121_mtdlayout_4M,917504,2818048)
endef
ap121_mini_cmdline=board=AP121-MINI console=ttyATH0,115200
-ap121_mini_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware)
define Image/Build/Profile/AP121MINI
- $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-mini,$(ap121_mini_cmdline),ap121_mini_mtdlayout,917504,2818048)
+ $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-mini,$(ap121_mini_cmdline),ap121_mtdlayout_4M,917504,2818048)
endef
ap81_cmdline=board=AP81 console=ttyS0,115200