From: Daniel Dickinson <open...@daniel.thecshore.com> Image generation (and mtd partition) part of support for PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by PowerCloud Systems who's stock firmware (CloudCommand) provides 'cloud' based managment of large numbers of access points.
The CAP324 is a dual-band 802.11n wireless access point with 16MB flash and 128MB RAM and single gigabit ethernet port. It can be powered via PoE or a wall wart. --- target/linux/ar71xx/generic/profiles/pcs.mk | 44 +++++++++++++++++++++++++++++ target/linux/ar71xx/image/Makefile | 20 +++++++++++-- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/generic/profiles/pcs.mk b/target/linux/ar71xx/generic/profiles/pcs.mk index 1399ef4..b56d131 100644 --- a/target/linux/ar71xx/generic/profiles/pcs.mk +++ b/target/linux/ar71xx/generic/profiles/pcs.mk @@ -27,3 +27,47 @@ define Profile/DLRTDEV01/Description endef $(eval $(call Profile,DLRTDEV01)) + +define Profile/CAP324 + NAME:=PowerCloud CAP324 Cloud AP + PACKAGES:=uboot-envtools +endef + +define Profile/CAP324/Description + Package set optimized for the PowerCloud Systems CAP324 Cloud AP + + The CAP324 Cloud AP is a device sold by PowerCloud Systems + who's stock firmware (CloudCommand) provides 'cloud' based + managment of large numbers of access points. + + The CAP324 is a dual-band 802.11n wireless access point with 16MB + flash and 128MB RAM and single gigabit ethernet port. It can be + powered via PoE or a wall wart. +endef + +$(eval $(call Profile,CAP324)) + +define Profile/CAP324NOCLOUD + NAME:=PowerCloud CAP324 Without Cloud + PACKAGES:=uboot-envtools +endef + +define Profile/CAP324NOCLOUD/Description + Package set optimized for the PowerCloud Systems CAP324 Without Cloud + + The CAP324 Cloud AP is a device sold by PowerCloud Systems + who's stock firmware (CloudCommand) provides 'cloud' based + managment of large numbers of access points. + + The CAP324 is a dual-band 802.11n wireless access point with 16MB + flash and 128MB RAM and single gigabit ethernet port. It can be + powered via PoE or a wall wart. + + WARNING: Will remove certificates used by cloud firmware + After flashing this firmware you will not be able to + return the device to cloud operation. + The advantage is reclaiming flash used for the certificates. +endef + +$(eval $(call Profile,CAP324NOCLOUD)) + diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index d12ad8b..6891b19 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -212,7 +212,6 @@ define Device/gl-domino endef TARGET_DEVICES += gl-domino - define Device/wndr3700 BOARDNAME = WNDR3700 NETGEAR_KERNEL_MAGIC = 0x33373030 @@ -384,6 +383,24 @@ define Device/archer-c7-v2 TPLINK_HWID := 0xc7000002 endef +define Device/cap324 + BOARDNAME := CAP324 + DEVICE_PROFILE := CAP324 + IMAGE_SIZE = 15296k + MTDPARTS = mtdparts=spi0.0:256k(u-boot),64k(u-boot-env)ro,1536k(kernel),13760k(rootfs),640k(certs),64k(nvram),64k(art),15296k@0x50000(firmware) +endef + +TARGET_DEVICES += cap324 + +define Device/cap324-nocloud + BOARDNAME := CAP324 + DEVICE_PROFILE := CAP324NOCLOUD + IMAGE_SIZE = 15296k + MTDPARTS = mtdparts=spi0.0:256k(u-boot),64k(u-boot-env)ro,1536k(kernel),14464k(rootfs),64k(art),16000k@0x50000(firmware) +endef + +TARGET_DEVICES += cap324-nocloud + define Device/tl-wdr7500-v3 $(Device/tplink-8mlzma) BOARDNAME := ARCHER-C7 @@ -1443,7 +1460,6 @@ define Build/Clean $(LOADER_MAKE) clean endef - alfa_ap96_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13312k(rootfs),2048k(kernel),512k(caldata)ro,15360k@0x80000(firmware) alfa_mtdlayout_8M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) alfa_mtdlayout_16M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,15936k(firmware),64k(nvram),64k(art)ro -- 2.4.3 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel