ramips: use generic board detection for Unielec u7621-06

Use the generic board detection for the board instead of the target
specific one. Mark the sysupgrade image compatible with the former used
userspace boardname to allow an upgrade from earlier versions.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2018-11-28 00:31:10 +01:00
parent a160f50d4f
commit 509d02a3d1
4 changed files with 11 additions and 13 deletions

View file

@ -115,7 +115,7 @@ ramips_setup_interfaces()
rt-n12p|\ rt-n12p|\
sap-g3200u3|\ sap-g3200u3|\
sk-wb8|\ sk-wb8|\
u7621-06-256M-16M|\ unielec,u7621-06-256m-16m|\
vr500|\ vr500|\
wavlink,wl-wn570ha1|\ wavlink,wl-wn570ha1|\
wf-2881|\ wf-2881|\

View file

@ -502,9 +502,6 @@ ramips_board_detect() {
*"U25AWF-H1") *"U25AWF-H1")
name="u25awf-h1" name="u25awf-h1"
;; ;;
*"U7621-06 (256M RAM/16M flash)")
name="u7621-06-256M-16M"
;;
*"U7628-01 (128M RAM/16M flash)") *"U7628-01 (128M RAM/16M flash)")
name="u7628-01-128M-16M" name="u7628-01-128M-16M"
;; ;;

View file

@ -162,7 +162,7 @@ platform_check_image() {
timecloud|\ timecloud|\
tiny-ac|\ tiny-ac|\
u25awf-h1|\ u25awf-h1|\
u7621-06-256M-16M|\ unielec,u7621-06-256m-16m|\
u7628-01-128M-16M|\ u7628-01-128M-16M|\
ur-326n4g|\ ur-326n4g|\
ur-336un|\ ur-336un|\

View file

@ -366,14 +366,6 @@ define Device/timecloud
endef endef
TARGET_DEVICES += timecloud TARGET_DEVICES += timecloud
define Device/u7621-06-256M-16M
DTS := U7621-06-256M-16M
IMAGE_SIZE := 16064k
DEVICE_TITLE := UniElec U7621-06 (256M RAM/16M flash)
DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
endef
TARGET_DEVICES += u7621-06-256M-16M
define Device/ubnt-erx define Device/ubnt-erx
DTS := UBNT-ERX DTS := UBNT-ERX
FILESYSTEMS := squashfs FILESYSTEMS := squashfs
@ -394,6 +386,15 @@ define Device/ubnt-erx-sfp
endef endef
TARGET_DEVICES += ubnt-erx-sfp TARGET_DEVICES += ubnt-erx-sfp
define Device/unielec_u7621-06-256m-16m
DTS := U7621-06-256M-16M
IMAGE_SIZE := 16064k
DEVICE_TITLE := UniElec U7621-06 (256M RAM/16M flash)
DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
SUPPORTED_DEVICES += u7621-06-256M-16M
endef
TARGET_DEVICES += unielec_u7621-06-256m-16m
define Device/vr500 define Device/vr500
DTS := VR500 DTS := VR500
IMAGE_SIZE := 66453504 IMAGE_SIZE := 66453504