mvebu: ClearFog renamed upstream to ClearFog Pro
authorMarko Ratkaj <marko.ratkaj@sartura.hr>
Thu, 6 Apr 2017 18:08:41 +0000 (20:08 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Sat, 13 May 2017 22:34:03 +0000 (00:34 +0200)
The conventional model is now known as the "Clearfog Pro"

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
package/boot/uboot-mvebu/Makefile
target/linux/mvebu/base-files/etc/board.d/02_network
target/linux/mvebu/base-files/lib/mvebu.sh
target/linux/mvebu/base-files/lib/upgrade/platform.sh
target/linux/mvebu/image/Makefile
target/linux/mvebu/image/boot.script [deleted file]
target/linux/mvebu/image/cfpro-boot.script [new file with mode: 0644]

index bd95f769e94e320f0ca3218783e8682fb06ab838..1f2361caf0e25c0cef180b0a31a66ff6bfcb3d8a 100644 (file)
@@ -23,7 +23,7 @@ endef
 
 define U-Boot/clearfog
   NAME:=SolidRun ClearFog A1
-  BUILD_DEVICES:=armada-388-clearfog
+  BUILD_DEVICES:=armada-388-clearfog-pro
   UBOOT_IMAGE:=u-boot-spl.kwb
 endef
 
index d71fa9aac1860a7361b3b3bc45646ffca7932612..68231e004a8b0d42971d789afee707e5e32b1489 100755 (executable)
@@ -27,7 +27,7 @@ armada-385-db-ap)
 armada-xp-gp)
        ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
        ;;
-armada-388-clearfog)
+armada-388-clearfog-pro)
        ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
        swconfig list 2>&1 | grep -q switch0 && \
                ucidef_add_switch "switch0" \
index 9a4c53ed40c55bee52c6719c4f5aa484acb8645e..0fcc82d034477f879b71623caa50aad7297fe90c 100755 (executable)
@@ -53,8 +53,8 @@ mvebu_board_detect() {
        *"Marvell Armada XP Development Board DB-MV784MP-GP")
                name="armada-xp-gp"
                ;;
-       *"SolidRun Clearfog A1")
-               name="armada-388-clearfog"
+       *"SolidRun Clearfog Pro A1")
+               name="armada-388-clearfog-pro"
                ;;
        esac
 
index 77578e28d42fb7ca5e3f057e42ac5818e851736f..6db25448d6d4b3316184d688c7ff98940982c34e 100755 (executable)
@@ -19,7 +19,7 @@ platform_do_upgrade() {
        armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
                platform_do_upgrade_linksys "$ARGV"
                ;;
-       armada-388-clearfog)
+       armada-388-clearfog-pro)
                platform_do_upgrade_clearfog "$ARGV"
                ;;
        *)
index f4635dd1bf081d74a39c088a76aca0fce95df23c..dcbf4a67b37983181773f13f6cde0f06a8a0cc7f 100644 (file)
@@ -23,9 +23,9 @@ endef
 # Partition 1:   32768 sectors
 # Partition 2:   98304 sectors (configurable)
 
-define Build/boot-scr
+define Build/boot-scr-cfpro
        rm -f $@.bootscript
-       mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d boot.script $@.bootscript
+       mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d cfpro-boot.script $@.bootscript
 endef
 
 define Build/boot-img
@@ -171,16 +171,16 @@ define Device/armada-388-rd
 endef
 TARGET_DEVICES += armada-388-rd
 
-define Device/armada-388-clearfog
+define Device/armada-388-clearfog-pro
   KERNEL_INSTALL := 1
   KERNEL := dtb | kernel-bin
-  DEVICE_TITLE := SolidRun ClearFog
+  DEVICE_TITLE := SolidRun ClearFog Pro
   DEVICE_PACKAGES := mkf2fs e2fsprogs swconfig kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
   IMAGES := sdcard.img.gz
-  IMAGE/sdcard.img.gz := boot-scr | boot-img | sdcard-img | gzip | append-metadata
+  IMAGE/sdcard.img.gz := boot-scr-cfpro | boot-img | sdcard-img | gzip | append-metadata
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
 endef
-TARGET_DEVICES += armada-388-clearfog
+TARGET_DEVICES += armada-388-clearfog-pro
 
 define Device/globalscale-mirabox
   $(Device/NAND-512K)
diff --git a/target/linux/mvebu/image/boot.script b/target/linux/mvebu/image/boot.script
deleted file mode 100644 (file)
index 1ebc88b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootfstype=squashfs rootwait overlay=/dev/mmcblk0p3
-setenv fdt_high 0x07a12000
-
-fatload mmc 0:1 0x02000000 zImage
-fatload mmc 0:1 0x05F00000 armada-388-clearfog.dtb
-
-bootz 0x02000000 - 0x05F00000
diff --git a/target/linux/mvebu/image/cfpro-boot.script b/target/linux/mvebu/image/cfpro-boot.script
new file mode 100644 (file)
index 0000000..6f7653b
--- /dev/null
@@ -0,0 +1,7 @@
+setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootfstype=squashfs rootwait overlay=/dev/mmcblk0p3
+setenv fdt_high 0x07a12000
+
+fatload mmc 0:1 0x02000000 zImage
+fatload mmc 0:1 0x05F00000 armada-388-clearfog-pro.dtb
+
+bootz 0x02000000 - 0x05F00000