mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
732f539fb7
Hardware information: --------------------- - SoC: RTL8393M - Copper phy: 6×RTL8218B - Fibre phy: RTL8214FC - Flash: 32MiB SPI NOR, MX25L25635FMI - RAM: 128MiB DDR3, Micron MT41K64M16TW-107 - Serial port: ±5V serial port to RJ45, ZT3232 (MAX3232 compatible) - +370W POE on JG928A model Note: SFP ports currently non-functional due to missing support for RTL8214FC on the RTL8393M target. Updated for Linux 6.6 kernel. Installation: ------------- - Initial installation follows same process as HPE 1920-24G (JG924A) - Based on prior work of Jan Hoffmann <jan@3e8.eu> - Additional work by Andreas Böhler <dev@aboehler.at> - PoE updates and tidy-up by Stephen Howell <howels@allthatwemight.be> Signed-off-by: Stephen Howell <howels@allthatwemight.be>
83 lines
1.9 KiB
Makefile
83 lines
1.9 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
include ./common.mk
|
|
|
|
define Device/d-link_dgs-1210-52
|
|
$(Device/d-link_dgs-1210)
|
|
SOC := rtl8393
|
|
DEVICE_MODEL := DGS-1210-52
|
|
endef
|
|
TARGET_DEVICES += d-link_dgs-1210-52
|
|
|
|
define Device/hpe_1920-48g
|
|
$(Device/hpe_1920)
|
|
SOC := rtl8393
|
|
DEVICE_MODEL := 1920-48G (JG927A)
|
|
H3C_DEVICE_ID := 0x0001002a
|
|
endef
|
|
TARGET_DEVICES += hpe_1920-48g
|
|
|
|
define Device/hpe_1920-48g-poe
|
|
$(Device/hpe_1920)
|
|
SOC := rtl8393
|
|
DEVICE_MODEL := 1920-48G-PoE (JG928A)
|
|
DEVICE_PACKAGES += realtek-poe
|
|
H3C_DEVICE_ID := 0x0001002b
|
|
endef
|
|
TARGET_DEVICES += hpe_1920-48g-poe
|
|
|
|
# When the factory image won't fit anymore, it can be removed.
|
|
# New installation will be performed booting the initramfs image from
|
|
# ram and then flashing the sysupgrade image from OpenWrt
|
|
define Device/netgear_gs750e
|
|
SOC := rtl8393
|
|
IMAGE_SIZE := 7552k
|
|
FACTORY_SIZE := 6528k
|
|
DEVICE_VENDOR := NETGEAR
|
|
DEVICE_MODEL := GS750E
|
|
UIMAGE_MAGIC := 0x174e4741
|
|
IMAGES += factory.bix
|
|
IMAGE/factory.bix := \
|
|
append-kernel | \
|
|
pad-to 64k | \
|
|
append-rootfs | \
|
|
pad-rootfs | \
|
|
check-size $$$$(FACTORY_SIZE)
|
|
endef
|
|
TARGET_DEVICES += netgear_gs750e
|
|
|
|
define Device/panasonic_m48eg-pn28480k
|
|
SOC := rtl8393
|
|
IMAGE_SIZE := 16384k
|
|
DEVICE_VENDOR := Panasonic
|
|
DEVICE_MODEL := Switch-M48eG
|
|
DEVICE_VARIANT := PN28480K
|
|
DEVICE_PACKAGES := \
|
|
kmod-hwmon-gpiofan \
|
|
kmod-hwmon-lm75 \
|
|
kmod-i2c-mux-pca954x \
|
|
kmod-thermal
|
|
endef
|
|
TARGET_DEVICES += panasonic_m48eg-pn28480k
|
|
|
|
define Device/tplink_sg2452p-v4
|
|
SOC := rtl8393
|
|
KERNEL_SIZE := 6m
|
|
IMAGE_SIZE := 26m
|
|
DEVICE_VENDOR := TP-Link
|
|
DEVICE_MODEL := SG2452P
|
|
DEVICE_VARIANT := v4
|
|
DEVICE_PACKAGES := \
|
|
kmod-hwmon-gpiofan \
|
|
kmod-hwmon-tps23861
|
|
endef
|
|
TARGET_DEVICES += tplink_sg2452p-v4
|
|
|
|
define Device/zyxel_gs1900-48
|
|
$(Device/zyxel_gs1900)
|
|
SOC := rtl8393
|
|
DEVICE_MODEL := GS1900-48
|
|
ZYXEL_VERS := AAHN
|
|
endef
|
|
TARGET_DEVICES += zyxel_gs1900-48
|