diff options
author | John Crispin <john@openwrt.org> | 2013-08-05 10:41:48 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-08-05 10:41:48 +0000 |
commit | 553a46972830d8a0eff4265eed150da49f050634 (patch) | |
tree | a1b42e790c5a664bd36443ac16448d6eaaf2f8e4 /target/linux/ar71xx/image/Makefile | |
parent | 6743f2625b854cd45d253e289844524c99584777 (diff) | |
download | mtk-20170518-553a46972830d8a0eff4265eed150da49f050634.zip mtk-20170518-553a46972830d8a0eff4265eed150da49f050634.tar.gz mtk-20170518-553a46972830d8a0eff4265eed150da49f050634.tar.bz2 |
ar71xx: add support for dir 505 a1
this patch is based on ...
-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37703
Diffstat (limited to 'target/linux/ar71xx/image/Makefile')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index a9f1f9e..b244b9c 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -164,6 +164,7 @@ ap136_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1 cameo7240_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,3712k(firmware),64k(mac)ro,64k(art)ro cameo913x_mtdlayout=mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,3840k(firmware),64k(art)ro cameo933x_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,192k(language)ro,3648k(firmware) +cameo933x_mtdlayout_8M=mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,256k(language)ro,1024k(kernel),6656k(rootfs),7680k@0x80000(firmware) cameo934x_mtdlayout=mtdparts=spi0.0:64k(uboot)ro,64k(nvram)ro,15936k(firmware),192k(lang)ro,64k(mac)ro,64k(art)ro cap4200ag_mtdlayout=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),320k(custom)ro,1536k(kernel),12096k(rootfs),2048k(failsafe),64k(art),13632k@0xa0000(firmware) db120_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1408k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) @@ -384,7 +385,15 @@ define Image/Build/Cameo933x endef define Image/Build/Cameo933x/initramfs - $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout)) + $(call MkuImageLzma/initramfs,$(2),$(3),$(cameo933x_mtdlayout)) +endef + +define Image/Build/Cameo933x_8M + $(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout_8M),1048576,6422528,$(4)) +endef + +define Image/Build/Cameo933x_8M/initramfs + $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout_8M)) endef define Image/Build/Cameo934x @@ -392,7 +401,7 @@ define Image/Build/Cameo934x endef define Image/Build/Cameo934x/initramfs - $(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo934x_mtdlayout)) + $(call Image/Build/Cameo,$(1),$(2),$(3) $(cameo934x_mtdlayout)) endef define Image/Build/Ath @@ -900,6 +909,7 @@ $(eval $(call SingleProfile,Cameo913x,$(fs_squash),TEW652BRP_RECOVERY,tew-652brp $(eval $(call SingleProfile,Cameo933x,$(fs_squash),TEW712BR,tew-712br,TEW-712BR,ttyATH0,115200,"HORNET-RT-TEW712BR-3",1.99,"")) $(eval $(call SingleProfile,Cameo933x,$(fs_squash),DIR601B1,dir-601-b1,TEW-712BR,ttyATH0,115200,"HORNET-RT-DIR601B1-3",2.99.99,"" "NA")) +$(eval $(call SingleProfile,Cameo933x_8M,$(fs_squash),DIR505A1,dir-505-a1,DIR-505-A1,ttyATH0,115200,"HORNET-RT-DIR505A1-3")) $(eval $(call SingleProfile,Cameo934x,$(fs_64k),DIR825C1,dir-825-c1,DIR-825-C1,ttyS0,115200,"00DB120AR9344-RT-101214-00")) $(eval $(call SingleProfile,Cameo934x,$(fs_64k),DIR835A1,dir-835-a1,DIR-835-A1,ttyS0,115200,"00DB120AR9344-RT-101214-00")) |