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

2015-12-09 Thread openwrt
From: Daniel Dickinson 

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 
---
 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@0x5(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@0x5(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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2015-11-13 Thread Morandin Fabio
Hello.

 

I have a Powercloud CR3000 and I want to delete the original firmware to
flash firmware without cloud , but I don't know how to do.

Can you please provide me with the operating instructions?

 

Thank.

 

Fabio.

 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2015-09-07 Thread Alexander Couzens
same as for CAP324
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2015-09-02 Thread Daniel Dickinson
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 
---
 target/linux/ar71xx/generic/profiles/pcs.mk | 37 +
 target/linux/ar71xx/image/Makefile  |  4 
 2 files changed, 41 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 15bb6a3..5e1b432 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -1202,6 +1202,8 @@ 
cap324_mtdlayout=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env)ro,1536k(kernel),13
 
cap324nocloud_mtdlayout=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env)ro,1536k(kernel),14464k(rootfs),64k(art),16000k@0x5(firmware)
 
cap4200ag_mtdlayout=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),320k(custom)ro,1536k(kernel),12096k(rootfs),2048k(failsafe),64k(art),13632k@0xa(firmware)
 
cpe510_mtdlayout=mtdparts=spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x4(firmware)
+cr3000_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),5696k(rootfs),640k(certs),64k(nvram),64k(art)ro,7104k@0x5(firmware)
+cr3000nocloud_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6400k(rootfs),64k(art)ro,7808k@0x5(firmware)
 
eap300v2_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),320k(custom),13632k(firmware),2048k(failsafe),64k(art)ro
 
db120_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1408k(kernel),64k(nvram),64k(art)ro,7744k@0x5(firmware)
 
dgl_5500_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dlink)ro,64k(mac)ro,64k(art)ro
@@ -2080,6 +2082,8 @@ $(eval $(call 
SingleProfile,AthLzma,64k,BXU2000N2,bxu2000n-2-a1,BXU2000n-2-A1,tt
 $(eval $(call 
SingleProfile,AthLzma,64k,CAP324,cap324,CAP324,ttyS0,115200,$$(cap324_mtdlayout),KRuImage))
 $(eval $(call 
SingleProfile,AthLzma,64k,CAP324NOCLOUD,cap324nocloud,CAP324,ttyS0,115200,$$(cap324nocloud_mtdlayout),KRuImage))
 $(eval $(call 
SingleProfile,AthLzma,64k,CAP4200AG,cap4200ag,CAP4200AG,ttyS0,115200,$$(cap4200ag_mtdlayout),KRuImage))
+$(eval $(call 
SingleProfile,AthLzma,64k,CR3000,cr3000,CR3000,ttyS0,115200,$$(cr3000_mtdlayout),KRuImage))
+$(eval $(call 
SingleProfile,AthLzma,64k,CR3000NOCLOUD,cr3000nocloud,CR3000,ttyS0,115200,$$(cr3000nocloud_mtdlayout),KRuImage))
 $(eval $(call 
SingleProfile,AthLzma,64k,DB120,db120,DB120,ttyS0,115200,$$(db120_mtdlayout),RKuImage))
 $(eval $(call 
SingleProfile,AthLzma,64k,DRAGINO2,dragino2,DRAGINO2,ttyATH0,115200,$$(dragino2_mtdlayout),KRuImage,65536))
 $(eval $(call 
SingleProfile,AthLzma,64k,EWDORINAP,ew-dorin,EW-DORIN,ttyATH0,115200,$$(ew-dorin_mtdlayout_4M),KRuImage,65536))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel