From 01dcdf7b3ca6fc00f7f8d16a719fa7b1ad16c882 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 18 Jun 2022 20:46:33 +0200 Subject: [PATCH 1/2] ramips: fix RT-AC57U button level Both buttons on the RT-AC57U are active-low. Fix the GPIO flag for the WPS cutton to fix button behavior. Signed-off-by: David Bauer (cherry picked from commit 535b0c70b1c466733b009144f81f5207f1ecd311) --- target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts index 78f5584b4c..dcf5cea460 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts @@ -37,7 +37,7 @@ wps { label = "wps"; - gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 43 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <60>; }; From 09a35619b85ecb381368a5a344a7f981ccde6ca9 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 23 May 2022 17:50:19 +0200 Subject: [PATCH 2/2] ramips: fix booting on ZyXEL NBG-419N v2 This fixes a well known "LZMA ERROR 1" error, reported previously on numerous of other devices from 'ramips' target. Fixes: #9842 Fixes: #8964 Reported-by: Juergen Hench Tested-by: Juergen Hench Signed-off-by: Demetris Ierokipides Signed-off-by: Piotr Dymacz (cherry picked from commit fd72e595c2b2a46bab8cbc7e9415fbfeae7b5b0d) --- target/linux/ramips/image/rt305x.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index 4edc2eb3c4..9b498fa5ab 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -1237,6 +1237,7 @@ endef TARGET_DEVICES += zyxel_nbg-419n define Device/zyxel_nbg-419n-v2 + $(Device/uimage-lzma-loader) SOC := rt3352 IMAGE_SIZE := 7872k DEVICE_VENDOR := ZyXEL