[OpenWrt-Devel] [PATCH 5/9] ar71xx: PowerCloud CR3000 image generation

openwrt at daniel.thecshore.com openwrt at daniel.thecshore.com
Wed Dec 9 04:21:35 EST 2015


From: Daniel Dickinson <openwrt at daniel.thecshore.com>

Image generation (and mtd partition)  part of support for the PowerCloud
Systems CR3000.  The CR3000 is a 802.11n 2.4 GHz wireless router with
8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast
ethernet wan port that was sold by PowerCloud Systems as hardware for
the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
---
 target/linux/ar71xx/generic/profiles/pcs.mk | 37 +++++++++++++++++++++++++++++
 target/linux/ar71xx/image/Makefile          | 18 ++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/target/linux/ar71xx/generic/profiles/pcs.mk b/target/linux/ar71xx/generic/profiles/pcs.mk
index b56d131..ec712aa 100644
--- a/target/linux/ar71xx/generic/profiles/pcs.mk
+++ b/target/linux/ar71xx/generic/profiles/pcs.mk
@@ -71,3 +71,40 @@ endef
 
 $(eval $(call Profile,CAP324NOCLOUD))
 
+define Profile/CR3000
+	NAME:=PowerCloud CR3000 Cloud Router
+	PACKAGES:=uboot-envtools
+endef
+
+define Profile/CR3000/Description
+	Package set optimized for the PowerCloud Systems CR3000 Cloud Router
+
+	The CR3000 is a 802.11n 2.4 GHz wireless router with
+	8MB flash, 64MB RAM, a four port gigabit ethernet switch,
+       and a faster ethernet wan port that was sold by PowerCloud
+       Systems as hardware for the Skydog cloud-managed router service.
+endef
+
+$(eval $(call Profile,CR3000))
+
+define Profile/CR3000NOCLOUD
+	NAME:=PowerCloud CR3000 Without Cloud
+	PACKAGES:=uboot-envtools
+endef
+
+define Profile/CR3000NOCLOUD/Description
+	Package set optimized for the PowerCloud Systems CR3000 Without Cloud
+
+	The CR3000 is a 802.11n 2.4 GHz wireless router with
+	8MB flash, 64MB RAM, a four port gigabit ethernet switch,
+       and a faster ethernet wan port that was sold by PowerCloud
+       Systems as hardware for the Skydog cloud-managed router service.
+
+	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,CR3000NOCLOUD))
+
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 6891b19..a537dd0 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -401,6 +401,24 @@ endef
 
 TARGET_DEVICES += cap324-nocloud
 
+define Device/cr3000
+  BOARDNAME = CR3000
+  DEVICE_PROFILE := CR3000
+  IMAGE_SIZE = 7808k
+  MTDPARTS = mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),5696k(rootfs),640k(certs),64k(nvram),64k(art)ro,7104k at 0x50000(firmware)
+endef
+
+TARGET_DEVICES += cr3000
+
+define Device/cr3000-nocloud
+  BOARDNAME := CR3000
+  DEVICE_PROFILE := CR3000NOCLOUD
+  IMAGE_SIZE = 7808k
+  MTDPARTS = mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6400k(rootfs),64k(nvram),64k(art)ro,7104k at 0x50000(firmware)
+endef
+
+TARGET_DEVICES += cr3000-nocloud
+
 define Device/tl-wdr7500-v3
     $(Device/tplink-8mlzma)
     BOARDNAME := ARCHER-C7
-- 
2.4.3
_______________________________________________
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