mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
mvebu: ClearFog renamed upstream to ClearFog Pro
The conventional model is now known as the "Clearfog Pro" Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
parent
efb49af1f9
commit
ec4a8c6dee
@ -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
|
||||
|
||||
|
@ -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" \
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
;;
|
||||
*)
|
||||
|
@ -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)
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user