From ead5b7e9cd5110ac751f8af45910e12fa3aa25ac Mon Sep 17 00:00:00 2001 From: Dark Dragon Date: Mon, 1 Apr 2024 20:10:58 +0200 Subject: [PATCH] Add target kirkwood for Linksys E4200 v2 --- patches/targets-kirkwood.patch | 29 +++++++++++++++++++++++++++++ targets | 1 + 2 files changed, 30 insertions(+) create mode 100644 patches/targets-kirkwood.patch diff --git a/patches/targets-kirkwood.patch b/patches/targets-kirkwood.patch new file mode 100644 index 00000000..b26b6d41 --- /dev/null +++ b/patches/targets-kirkwood.patch @@ -0,0 +1,29 @@ +--- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac ++++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +@@ -119,6 +119,9 @@ local primary_addrs = { + 'openmesh,a42', + 'openmesh,a62', + }}, ++ {'kirkwood', 'generic', { ++ 'linksys,e4200-v2', ++ }}, + {'mpc85xx', 'p1020', { + 'aerohive,hiveap-330', + 'ocedo,panda', +--- /dev/null ++++ b/targets/kirkwood-generic +@@ -0,0 +1,5 @@ ++-- Linksys ++ ++device('linksys-e4200-v2', 'linksys_e4200-v2', { ++ broken = true, ++}) +--- a/targets/targets.mk ++++ b/targets/targets.mk +@@ -29,5 +29,6 @@ $(eval $(call GluonTarget,x86,64)) + ifeq ($(BROKEN),1) + $(eval $(call GluonTarget,bcm27xx,bcm2710)) # BROKEN: Untested + $(eval $(call GluonTarget,bcm27xx,bcm2711)) # BROKEN: No 11s support, no reset button, sys LED issues ++$(eval $(call GluonTarget,kirkwood,generic)) + $(eval $(call GluonTarget,mvebu,cortexa9)) # BROKEN: No 11s support + endif diff --git a/targets b/targets index 9eaf5891..b324af87 100644 --- a/targets +++ b/targets @@ -8,6 +8,7 @@ bcm27xx-bcm2711 ipq40xx-generic ipq40xx-mikrotik ipq806x-generic +kirkwood-generic lantiq-xrx200 lantiq-xway mediatek-filogic