ar71xx: Image generation for PowerCloud CR3000 Cloud Router
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:27:45 +0000 (11:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:27:45 +0000 (11:27 +0000)
Image generation part of support for PowerCloud CR3000.  The CR3000 is
a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
a four port fast ethernet switch, and a fast ethernet wan port which
was sold by PowerCloud Systems as hardware for the Skydog
cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47942

target/linux/ar71xx/generic/profiles/pcs.mk
target/linux/ar71xx/image/Makefile

index 1466e5282a146be5be6febd206e57cd7dc9b4288..b4df1a47128c39b46378c79d8a36859051e8cac6 100644 (file)
@@ -47,3 +47,21 @@ endef
 
 $(eval $(call Profile,CAP324))
 
+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 device sold by PowerCloud Systems as a hardware
+       option for their Skydog cloud-managed Wifi solution.
+
+       The CR3000 is a 2.4 GHz 802.11n wireless router with 8MB
+       flash and 64MB RAM, four-port fast ethernet switch, and fast
+       ethernet WAN port.
+endef
+
+$(eval $(call Profile,CR3000))
+
index 5783221b1da3543f22b52a31c913cb42604f4fc4..af9516eaa706fa3dc25d2467b285c660d4f230cf 100644 (file)
@@ -212,7 +212,6 @@ define Device/gl-domino
 endef
 TARGET_DEVICES += gl-domino
 
-
 define Device/wndr3700
   BOARDNAME = WNDR3700
   NETGEAR_KERNEL_MAGIC = 0x33373030
@@ -410,6 +409,24 @@ endef
 
 TARGET_DEVICES += cap324-nocloud
 
+define Device/cr3000
+  BOARDNAME := CR3000
+  DEVICE_PROFILE := CR3000
+  IMAGE_SIZE = 7104k
+  MTDPARTS = spi0.0:256k(u-boot),64k(u-boot-env)ro,7104k(firmware),640k(certs),64k(nvram),64k(art)
+endef
+
+TARGET_DEVICES += cr3000
+
+define Device/cr3000-nocloud
+  BOARDNAME := CR3000
+  DEVICE_PROFILE := CR3000
+  IMAGE_SIZE = 7808k
+  MTDPARTS = spi0.0:256k(u-boot),64k(u-boot-env)ro,7808k(firmware),64k(art)
+endef
+
+TARGET_DEVICES += cr3000-nocloud
+
 define Device/antminer-s1
     $(Device/tplink-8mlzma)
     BOARDNAME := ANTMINER-S1
@@ -1470,7 +1487,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