forked from mirror/openwrt
Convert the P2020RDB DTS to DSA for the VSC7385 switch, add port labels and fixed-link. Update board network defaults, preinit iface, and compat version, and include the DSA switch kmod in the image. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22161 Signed-off-by: Robert Marko <robimarko@gmail.com>
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
define Device/freescale_p2020rdb
|
|
DEVICE_VENDOR := Freescale
|
|
DEVICE_MODEL := P2020RDB
|
|
DEVICE_COMPAT_VERSION := 1.1
|
|
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/fsl
|
|
DEVICE_PACKAGES := kmod-dsa-vsc73xx-platform kmod-gpio-pca953x \
|
|
kmod-hwmon-lm90 kmod-rtc-ds1307
|
|
BLOCKSIZE := 128k
|
|
KERNEL := kernel-bin | gzip | \
|
|
fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
|
SUPPORTED_DEVICES := fsl,P2020RDB
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
pad-rootfs $$(BLOCKSIZE) | append-metadata
|
|
endef
|
|
TARGET_DEVICES += freescale_p2020rdb
|
|
|
|
define Device/watchguard_xtm330
|
|
DEVICE_VENDOR := WatchGuard
|
|
DEVICE_MODEL := XTM 330
|
|
DEVICE_VARIANT := NC5AE7
|
|
DEVICE_PACKAGES := kmod-dsa-mv88e6xxx kmod-hwmon-w83793 \
|
|
kmod-rtc-rs5c372a
|
|
BLOCKSIZE := 128k
|
|
KERNEL = kernel-bin | fit none $(KDIR)/image-$$(DEVICE_DTS).dtb
|
|
KERNEL_NAME := zImage.la3000000
|
|
KERNEL_ENTRY := 0x3000000
|
|
KERNEL_LOADADDR := 0x3000000
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
endef
|
|
TARGET_DEVICES += watchguard_xtm330
|