mirror of
https://github.com/openwrt/openwrt.git
synced 2026-12-06 04:15:39 +04:00
mediatek: filogic: add support for Netcraze NC-1012
The Netcraze NC-1012 is a rebrand of the Keenetic KN-1012 with identical hardware. The stock recovery accepts only images signed with the NC-1012 zyimage device id, taken here from the official NC-1012 recovery image. It shares the KN-1012 device tree through the common dtsi and the copper and SFP overlays, and the image recipe through the common device define, following the KN-3411/NC-3411 pattern. The recovery procedure is the KN-1012 one with the image named NC-1012_recovery.bin. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la> Link: https://github.com/openwrt/openwrt/pull/24820 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
1 parent
87d7b11bd5
commit
492a0ff6b1
4 files changed
+21
-2
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only OR MIT
|
||||
|
||||
#include "mt7981b-keenetic-kn-1012.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Netcraze NC-1012";
|
||||
compatible = "netcraze,nc-1012", "mediatek,mt7981";
|
||||
};
|
||||
@@ -163,7 +163,8 @@ iptime,ax3000sm)
|
||||
iptime,ax7800m-6e)
|
||||
ucidef_set_led_netdev "wan" "wan" "mdio-bus:06:blue:wan" "eth1" "link tx rx"
|
||||
;;
|
||||
keenetic,kn-1012)
|
||||
keenetic,kn-1012|\
|
||||
netcraze,nc-1012)
|
||||
ucidef_set_led_netdev "wan" "wan" "green:wan" "wan" "link tx rx"
|
||||
ucidef_set_led_netdev "internet" "internet" "green:wan-online" "wan" "link"
|
||||
;;
|
||||
|
||||
@@ -200,7 +200,8 @@ case "$board" in
|
||||
keenetic,kn-3711|\
|
||||
keenetic,kn-3811|\
|
||||
keenetic,kn-3911|\
|
||||
netcraze,nap-630)
|
||||
netcraze,nap-630|\
|
||||
netcraze,nc-1012)
|
||||
# Originally phy1 was the phy0 mac with only the LA bit set, which
|
||||
# is also the address the VIF allocator hands the second 2.4 GHz
|
||||
# interface, and shifting the last octet instead overlaps the
|
||||
|
||||
@@ -3024,6 +3024,15 @@ define Device/netcraze_nap-630
|
||||
endef
|
||||
TARGET_DEVICES += netcraze_nap-630
|
||||
|
||||
define Device/netcraze_nc-1012
|
||||
DEVICE_VENDOR := Netcraze
|
||||
DEVICE_MODEL := NC-1012
|
||||
DEVICE_DTS := mt7981b-netcraze-nc-1012
|
||||
ZYIMAGE_ID := 0xC01012
|
||||
$(call Device/keenetic_kn-1012-common)
|
||||
endef
|
||||
TARGET_DEVICES += netcraze_nc-1012
|
||||
|
||||
define Device/netcraze_nc-1812
|
||||
DEVICE_VENDOR := Netcraze
|
||||
DEVICE_MODEL := NC-1812
|
||||
|
||||
Reference in new issue
Block a user