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 bd95f76..1f2361c 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 d71fa9a..68231e0 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 9a4c53e..0fcc82d 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 77578e2..6db2544 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 f4635dd..dcbf4a6 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