From ec4a8c6dee811e1aaa0c55377b2e239d236a1496 Mon Sep 17 00:00:00 2001 From: Marko Ratkaj Date: Thu, 6 Apr 2017 20:08:41 +0200 Subject: [PATCH] mvebu: ClearFog renamed upstream to ClearFog Pro The conventional model is now known as the "Clearfog Pro" Signed-off-by: Marko Ratkaj --- package/boot/uboot-mvebu/Makefile | 2 +- target/linux/mvebu/base-files/etc/board.d/02_network | 2 +- target/linux/mvebu/base-files/lib/mvebu.sh | 4 ++-- .../linux/mvebu/base-files/lib/upgrade/platform.sh | 2 +- target/linux/mvebu/image/Makefile | 12 ++++++------ .../mvebu/image/{boot.script => cfpro-boot.script} | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) rename target/linux/mvebu/image/{boot.script => cfpro-boot.script} (78%) diff --git a/package/boot/uboot-mvebu/Makefile b/package/boot/uboot-mvebu/Makefile index bd95f769e9..1f2361caf0 100644 --- a/package/boot/uboot-mvebu/Makefile +++ b/package/boot/uboot-mvebu/Makefile @@ -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 diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network index d71fa9aac1..68231e004a 100755 --- a/target/linux/mvebu/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/base-files/etc/board.d/02_network @@ -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" \ diff --git a/target/linux/mvebu/base-files/lib/mvebu.sh b/target/linux/mvebu/base-files/lib/mvebu.sh index 9a4c53ed40..0fcc82d034 100755 --- a/target/linux/mvebu/base-files/lib/mvebu.sh +++ b/target/linux/mvebu/base-files/lib/mvebu.sh @@ -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 diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index 77578e28d4..6db25448d6 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -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" ;; *) diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index f4635dd1bf..dcbf4a67b3 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -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/cfpro-boot.script similarity index 78% rename from target/linux/mvebu/image/boot.script rename to target/linux/mvebu/image/cfpro-boot.script index 1ebc88bda3..6f7653bace 100644 --- a/target/linux/mvebu/image/boot.script +++ b/target/linux/mvebu/image/cfpro-boot.script @@ -2,6 +2,6 @@ setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootfstype=squashfs r setenv fdt_high 0x07a12000 fatload mmc 0:1 0x02000000 zImage -fatload mmc 0:1 0x05F00000 armada-388-clearfog.dtb +fatload mmc 0:1 0x05F00000 armada-388-clearfog-pro.dtb bootz 0x02000000 - 0x05F00000 -- 2.25.1