[OpenWrt-Devel] [PATCH 8/9] ar71xx: PowerCloud CR5000 image generation
openwrt at daniel.thecshore.com
openwrt at daniel.thecshore.com
Wed Dec 9 04:21:38 EST 2015
From: Daniel Dickinson <openwrt at daniel.thecshore.com>
Image generation (and mtd parititioning) part of support for the
PowerCloud Systems CR5000. The CR5000 is a dual-band 802.11n
wireless router with 8MB flash, 64MB RAM, (unused on stock firmware)
USB 2.0 port and five port gigabit ethernet switch. The CR5000
was sold 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 ec712aa..e912d9d 100644
--- a/target/linux/ar71xx/generic/profiles/pcs.mk
+++ b/target/linux/ar71xx/generic/profiles/pcs.mk
@@ -108,3 +108,40 @@ endef
$(eval $(call Profile,CR3000NOCLOUD))
+define Profile/CR5000
+ NAME:=PowerCloud CR5000 Cloud Router
+ PACKAGES:=uboot-envtools kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
+endef
+
+define Profile/CR5000/Description
+ Package set optimized for the PowerCloud Systems CR5000 Cloud Router
+
+ The CR5000 is a dual-band 802.11n wireless router with 8MB flash,
+ 64MB RAM, (unused on stock firmware) USB 2.0 port and five port
+ gigabit ethernet switch. The CR5000 was sold as hardware for
+ the Skydog cloud-managed router service.
+endef
+
+$(eval $(call Profile,CR5000))
+
+define Profile/CR5000NOCLOUD
+ NAME:=PowerCloud CR5000 Without Cloud
+ PACKAGES:=uboot-envtools kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
+endef
+
+define Profile/CR5000NOCLOUD/Description
+ Package set optimized for the PowerCloud Systems CR5000 Without Cloud
+
+ The CR5000 is a dual-band 802.11n wireless router with 8MB flash,
+ 64MB RAM, (unused on stock firmware) USB 2.0 port and five port
+ gigabit ethernet switch. The CR5000 was sold 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,CR5000NOCLOUD))
+
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index a537dd0..72e04dc 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -419,6 +419,24 @@ endef
TARGET_DEVICES += cr3000-nocloud
+define Device/cr5000
+ BOARDNAME = CR5000
+ DEVICE_PROFILE := CR5000
+ 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 += cr5000
+
+define Device/cr5000
+ BOARDNAME := CR5000
+ DEVICE_PROFILE := CR5000NOCLOUD
+ IMAGE_SIZE = 7808k
+ MTDPARTS = mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6400k(rootfs),64k(art)ro,7808k at 0x50000(firmware)
+endef
+
+TARGET_DEVICES += cr5000-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